|
GRASS Programmer's Manual
6.4.2(2012)
|
#include <stdlib.h>#include <string.h>#include <grass/gis.h>#include <grass/Vect.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 383 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 79 of file spindex_rw.c.
References 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 356 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 23 of file spindex_rw.c.
References 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 330 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().
| int rtree_dump_branch | ( | FILE * | fp, |
| struct Branch * | b, | ||
| int | with_z, | ||
| int | level | ||
| ) |
Definition at line 167 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 | ||
| ) |
Definition at line 186 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().
| int rtree_read_branch | ( | GVFILE * | fp, |
| struct Branch * | b, | ||
| int | with_z, | ||
| int | level | ||
| ) |
Definition at line 268 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().
| int rtree_read_node | ( | GVFILE * | fp, |
| struct Node * | n, | ||
| int | with_z | ||
| ) |
Definition at line 305 of file spindex_rw.c.
References Node::branch, Node::count, dig__fread_port_I(), G_debug(), Node::level, and rtree_read_branch().
Referenced by dig_read_spidx(), and rtree_read_branch().
| int rtree_write_branch | ( | GVFILE * | fp, |
| struct Branch * | b, | ||
| int | with_z, | ||
| int | level | ||
| ) |
Definition at line 210 of file spindex_rw.c.
References Rect::boundary, Branch::child, dig__fwrite_port_D(), dig__fwrite_port_I(), if(), r, Branch::rect, and rtree_write_node().
Referenced by rtree_write_node().
| int rtree_write_node | ( | GVFILE * | fp, |
| struct Node * | n, | ||
| int | with_z | ||
| ) |
Definition at line 240 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().