GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/version.h>
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) |
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 | ||
) |
Definition at line 80 of file spindex_rw.c.
References buf, dig__fread_port_C(), dig__fread_port_L(), dig_fseek(), dig_init_portable(), dig_rewind(), dig_set_cur_port(), G_debug(), G_fatal_error(), and G_warning().
Referenced by dig_read_spidx().
int dig_read_spidx | ( | GVFILE * | fp, |
struct Plus_head * | Plus | ||
) |
Definition at line 359 of file spindex_rw.c.
References dig_fseek(), dig_Rd_spindx_head(), dig_rewind(), dig_set_cur_port(), dig_spidx_init(), G_debug(), and rtree_read_node().
Referenced by Vect_open_spatial_index().
int dig_Wr_spindx_head | ( | GVFILE * | fp, |
struct Plus_head * | ptr | ||
) |
Definition at line 24 of file spindex_rw.c.
References buf, dig__fwrite_port_C(), dig__fwrite_port_L(), dig_ftell(), dig_rewind(), dig_set_cur_port(), and G_debug().
Referenced by dig_write_spidx().
int dig_write_spidx | ( | GVFILE * | fp, |
struct Plus_head * | Plus | ||
) |
Definition at line 333 of file spindex_rw.c.
References dig_ftell(), dig_rewind(), dig_set_cur_port(), dig_Wr_spindx_head(), and rtree_write_node().
Referenced by Vect_save_spatial_index().
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().
Definition at line 189 of file spindex_rw.c.
References Node::branch, Branch::child, Node::count, LEAFCARD, Node::level, NODECARD, and rtree_dump_branch().
Referenced by dig_dump_spidx(), and rtree_dump_branch().
Definition at line 271 of file spindex_rw.c.
References Rect::boundary, Branch::child, dig__fread_port_D(), dig__fread_port_I(), G_debug(), r, Branch::rect, rtree_read_node(), and RTreeNewNode().
Referenced by rtree_read_node().
Definition at line 308 of file spindex_rw.c.
References Node::branch, count, Node::count, dig__fread_port_I(), G_debug(), Node::level, and rtree_read_branch().
Referenced by dig_read_spidx(), and rtree_read_branch().
Definition at line 213 of file spindex_rw.c.
References Rect::boundary, Branch::child, dig__fwrite_port_D(), dig__fwrite_port_I(), if(), int, r, Branch::rect, and rtree_write_node().
Referenced by rtree_write_node().
Definition at line 243 of file spindex_rw.c.
References Node::branch, Branch::child, Node::count, dig__fwrite_port_I(), LEAFCARD, Node::level, NODECARD, and rtree_write_branch().
Referenced by dig_write_spidx(), and rtree_write_branch().