GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
spindex_rw.c File Reference
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/version.h>
Include dependency graph for spindex_rw.c:

Go to the source code of this file.

Functions

int dig_Wr_spindx_head (GVFILE *fp, struct Plus_head *ptr)
 
int dig_Rd_spindx_head (GVFILE *fp, struct Plus_head *ptr)
 
int rtree_dump_node (FILE *fp, struct Node *n, int with_z)
 
int rtree_dump_branch (FILE *fp, struct Branch *b, int with_z, int level)
 
int rtree_write_node (GVFILE *fp, struct Node *n, int with_z)
 
int rtree_write_branch (GVFILE *fp, struct Branch *b, int with_z, int level)
 
int rtree_read_node (GVFILE *fp, struct Node *n, int with_z)
 
int rtree_read_branch (GVFILE *fp, struct Branch *b, int with_z, int level)
 
int dig_write_spidx (GVFILE *fp, struct Plus_head *Plus)
 
int dig_read_spidx (GVFILE *fp, struct Plus_head *Plus)
 
int dig_dump_spidx (FILE *fp, struct Plus_head *Plus)
 

Function Documentation

int dig_dump_spidx ( FILE *  fp,
struct Plus_head *  Plus 
)

Definition at line 386 of file spindex_rw.c.

References rtree_dump_node().

Referenced by Vect_spatial_index_dump().

int dig_Rd_spindx_head ( GVFILE *  fp,
struct Plus_head *  ptr 
)
int dig_read_spidx ( GVFILE *  fp,
struct Plus_head *  Plus 
)
int dig_Wr_spindx_head ( GVFILE *  fp,
struct Plus_head *  ptr 
)
int dig_write_spidx ( GVFILE *  fp,
struct Plus_head *  Plus 
)
int rtree_dump_branch ( FILE *  fp,
struct Branch b,
int  with_z,
int  level 
)

Definition at line 170 of file spindex_rw.c.

References Rect::boundary, Branch::child, r, Branch::rect, and rtree_dump_node().

Referenced by rtree_dump_node().

int rtree_dump_node ( FILE *  fp,
struct Node n,
int  with_z 
)
int rtree_read_branch ( GVFILE *  fp,
struct Branch b,
int  with_z,
int  level 
)
int rtree_read_node ( GVFILE *  fp,
struct Node n,
int  with_z 
)
int rtree_write_branch ( GVFILE *  fp,
struct Branch b,
int  with_z,
int  level 
)
int rtree_write_node ( GVFILE *  fp,
struct Node n,
int  with_z 
)