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    82             for(
unsigned int i = 0; i < MAXNODES; ++i)
   120 #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. 
 
An Envelope defines a 2D rectangular region. 
 
BranchType m_branch[MAXNODES]
Branches. 
 
bool isLeaf() const 
It returns true if this is a leaf node. 
 
te::gm::Envelope m_mbr
Bounding box containing all the objects under the branch or an object bounding box. 
 
te::sam::rtree::Branch< Node, DATATYPE > BranchType
 
NODE * m_child
A pointer to the child node.