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