@@ -43,22 +43,22 @@ namespace pal
4343 class RTFileStream ; // File I/O helper class, look below for implementation and notes.
4444
4545
46- /* * \ingroup core
47- Implementation of RTree, a multidimensional bounding rectangle tree.
48- Example usage: For a 3-dimensional tree use RTree<Object*, float, 3> myTree;
49-
50- This modified, templated C++ version by Greg Douglas at Auran (http://www.auran.com)
51-
52- DATATYPE Referenced data, should be int, void*, obj* etc. no larger than sizeof<void*> and simple type
53- ELEMTYPE Type of element such as int or float
54- NUMDIMS Number of dimensions such as 2 or 3
55- ELEMTYPEREAL Type of element that allows fractional and large values such as float or double, for use in volume calcs
56-
57- NOTES: Inserting and removing data requires the knowledge of its constant Minimal Bounding Rectangle.
58- This version uses new/delete for nodes, I recommend using a fixed size allocator for efficiency.
59- Instead of using a callback function for returned results, I recommend and efficient pre-sized, grow-only memory
60- array similar to MFC CArray or STL Vector for returning search query result.
61- */
46+ /* * \ingroup core
47+ Implementation of RTree, a multidimensional bounding rectangle tree.
48+ Example usage: For a 3-dimensional tree use RTree<Object*, float, 3> myTree;
49+
50+ This modified, templated C++ version by Greg Douglas at Auran (http://www.auran.com)
51+
52+ DATATYPE Referenced data, should be int, void*, obj* etc. no larger than sizeof<void*> and simple type
53+ ELEMTYPE Type of element such as int or float
54+ NUMDIMS Number of dimensions such as 2 or 3
55+ ELEMTYPEREAL Type of element that allows fractional and large values such as float or double, for use in volume calcs
56+
57+ NOTES: Inserting and removing data requires the knowledge of its constant Minimal Bounding Rectangle.
58+ This version uses new/delete for nodes, I recommend using a fixed size allocator for efficiency.
59+ Instead of using a callback function for returned results, I recommend and efficient pre-sized, grow-only memory
60+ array similar to MFC CArray or STL Vector for returning search query result.
61+ */
6262
6363 template < class DATATYPE , class ELEMTYPE , int NUMDIMS,
6464 class ELEMTYPEREAL = ELEMTYPE, int TMAXNODES = 8 , int TMINNODES = TMAXNODES / 2 >
0 commit comments