26 #ifndef __TERRALIB_SAM_RTREE_INTERNAL_NODE_H
27 #define __TERRALIB_SAM_RTREE_INTERNAL_NODE_H
45 template<
class DATATYPE,
int MAXNODES = 8,
int MINNODES = MAXNODES / 2>
class Node
115 #endif // __TERRALIB_SAM_RTREE_INTERNAL_NODE_H
te::sam::rtree::Branch< Node, DATATYPE > BranchType
int m_level
Leaf is zero, others positive.
int m_count
The number of elements in the node (count).
A class that represents an R-tree node.
Node & operator=(const Node &rhs)
No assignment operator allowed.
BranchType m_branch[MAXNODES]
Branches.
A struct that represents a node-branch in an R-tree.
bool isInternalNode() const
It returns true if this is a internal node.
bool isLeaf() const
It returns true if this is a leaf node.
void init()
This method is used during split when a node retained and used again (beeing re-filled).