Version: 0.6.0

#include <spatialtree.h>

Collaboration diagram for wxGISRTreeNode:

Classes

struct  _split_dir
 
struct  SortBoundedItemsByAreaEnlargement
 
struct  SortBoundedItemsByDistanceFromCenter
 
struct  SortBoundedItemsByEdge
 
struct  SortBoundedItemsByOverlapEnlargement
 

Public Types

typedef struct
wxGISRTreeNode::_split_dir 
SPLIT_DIR
 

Public Member Functions

 wxGISRTreeNode (unsigned short nMinChildItems=32, unsigned short nMaxChildItems=64, wxGISSpatialTreeData *pData=NULL)
 
wxGISSpatialTreeDataGetData () const
 

Protected Member Functions

void Search (wxGISSpatialTreeCursor &Cursor, const OGREnvelope &env)
 
void GetAll (wxGISSpatialTreeCursor &Cursor)
 
bool Remove (long nFID)
 
bool HasFID (long nFID) const
 
double GetArea () const
 
void StretchBounds (const OGREnvelope &Env)
 
wxGISRTreeNodeChooseSubtree (const OGREnvelope &Env, enumChooseSubteeType eType)
 
OGREnvelope GetBounds () const
 
size_t GetCount () const
 
bool GetHasLeaves () const
 
void SetHasLeaves (bool bHasLeaves)
 
wxGISRTreeNodeGetNode (size_t nIndex)
 
void PutNode (wxGISRTreeNode *pNode)
 
void UpdateBounds (void)
 
wxGISRTreeNodeSplit ()
 
SPLIT_DIR GetSplitDirection (const bool bIsX, size_t nDistributionCount)
 
void RemoveFarestItems (size_t p, wxVector< wxGISRTreeNode * > &removed_items)
 
void Delete ()
 

Protected Attributes

unsigned short m_nMinChildItems
 
unsigned short m_nMaxChildItems
 
OGREnvelope m_Env
 
double m_dfArea
 
wxVector< wxGISRTreeNode * > m_paNodes
 
wxGISSpatialTreeDatam_pData
 
bool m_bHasLeaves
 

Friends

class wxGISRTree
 

Detailed Description

The node for storing other nodes or geodata.

Library:  wxGISDatasource

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/datasource/spatialtree.h
  • /home/bishop/work/projects/nextgismanager/src/datasource/spatialtree.cpp