GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
RTree Struct Reference

#include <rtree.h>

Collaboration diagram for RTree:

Data Structures

struct  _recycle
 

Data Fields

int fd
 
unsigned char ndims
 
unsigned char nsides
 
unsigned char ndims_alloc
 
unsigned char nsides_alloc
 
int nodesize
 
int branchsize
 
int rectsize
 
int n_nodes
 
int n_leafs
 
int rootlevel
 
int nodecard
 
int leafcard
 
int min_node_fill
 
int min_leaf_fill
 
int minfill_node_split
 
int minfill_leaf_split
 
char overflow
 
struct RTree::_recycle free_nodes
 
struct NodeBuffer ** nb
 
int ** used
 
rt_insert_fninsert_rect
 
rt_delete_fndelete_rect
 
rt_search_fnsearch_rect
 
rt_valid_child_fnvalid_child
 
struct RTree_Noderoot
 
struct nstackns
 
struct RTree_PartitionVars p
 
struct RTree_BranchBranchBuf
 
struct RTree_Branch tmpb1 tmpb2 c
 
int BranchCount
 
struct RTree_Rect rect_0 rect_1 upperrect orect
 
RectRealcenter_n
 
off_t rootpos
 

Detailed Description

Definition at line 128 of file rtree.h.

Field Documentation

◆ BranchBuf

struct RTree_Branch* RTree::BranchBuf

Definition at line 184 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ BranchCount

int RTree::BranchCount

Definition at line 187 of file rtree.h.

◆ branchsize

int RTree::branchsize

Definition at line 137 of file rtree.h.

Referenced by RTreeCreateTree().

◆ c

struct RTree_Branch tmpb1 tmpb2 RTree::c

Definition at line 186 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ center_n

RectReal* RTree::center_n

Definition at line 190 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ delete_rect

rt_delete_fn* RTree::delete_rect

Definition at line 171 of file rtree.h.

Referenced by RTreeDeleteRect().

◆ fd

◆ free_nodes

◆ insert_rect

rt_insert_fn* RTree::insert_rect

Definition at line 170 of file rtree.h.

Referenced by RTreeInsertRect().

◆ leafcard

int RTree::leafcard

◆ min_leaf_fill

int RTree::min_leaf_fill

Definition at line 149 of file rtree.h.

Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().

◆ min_node_fill

int RTree::min_node_fill

Definition at line 148 of file rtree.h.

Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().

◆ minfill_leaf_split

int RTree::minfill_leaf_split

Definition at line 151 of file rtree.h.

◆ minfill_node_split

int RTree::minfill_node_split

Definition at line 150 of file rtree.h.

◆ n_leafs

int RTree::n_leafs

Definition at line 142 of file rtree.h.

Referenced by dig_Rd_spidx_head(), dig_Wr_spidx_head(), and RTreeInsertRect().

◆ n_nodes

int RTree::n_nodes

Definition at line 141 of file rtree.h.

Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().

◆ nb

struct NodeBuffer** RTree::nb

◆ ndims

◆ ndims_alloc

◆ nodecard

int RTree::nodecard

◆ nodesize

int RTree::nodesize

Definition at line 136 of file rtree.h.

Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().

◆ ns

struct nstack* RTree::ns

Definition at line 180 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ nsides

unsigned char RTree::nsides

Definition at line 133 of file rtree.h.

Referenced by dig_Rd_spidx_head(), dig_Wr_spidx_head(), and RTreeCreateTree().

◆ nsides_alloc

◆ orect

struct RTree_Rect rect_0 rect_1 upperrect RTree::orect

Definition at line 189 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ overflow

char RTree::overflow

Definition at line 152 of file rtree.h.

Referenced by RTreeInsertRectF(), RTreeInsertRectM(), and RTreeSetOverflow().

◆ p

struct RTree_PartitionVars RTree::p

Definition at line 183 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ rectsize

int RTree::rectsize

Definition at line 138 of file rtree.h.

Referenced by RTreeAllocBoundary(), RTreeCreateTree(), RTreeReadBranch(), and RTreeWriteBranch().

◆ root

struct RTree_Node* RTree::root

Definition at line 175 of file rtree.h.

Referenced by RTreeDestroyTree().

◆ rootlevel

int RTree::rootlevel

Definition at line 143 of file rtree.h.

Referenced by dig_Rd_spidx_head(), dig_Wr_spidx_head(), RTreeAddBranch(), and RTreeFlushBuffer().

◆ rootpos

off_t RTree::rootpos

Definition at line 192 of file rtree.h.

Referenced by dig_Rd_spidx_head(), and RTreeCreateTree().

◆ search_rect

rt_search_fn* RTree::search_rect

Definition at line 172 of file rtree.h.

Referenced by RTreeSearch(), and RTreeSearch2().

◆ used

int** RTree::used

Definition at line 167 of file rtree.h.

Referenced by RTreeAddNodePos(), RTreeDestroyTree(), RTreeGetNode(), and RTreeNodeChanged().

◆ valid_child

rt_valid_child_fn* RTree::valid_child

Definition at line 173 of file rtree.h.

Referenced by RTreeAddBranch(), RTreeDisconnectBranch(), and RTreeNodeCover().


The documentation for this struct was generated from the following file: