|
| | PointQuadtreeNode (const std::weak_ptr< PointQuadtreeNode > &parent=std::weak_ptr< PointQuadtreeNode >()) |
| | Constructor. More...
|
| |
| bool | createChildren (const std::shared_ptr< PointQuadtreeNode > &parentSharedPtr) |
| | Create 4 children nodes. More...
|
| |
| | TreeNode (std::weak_ptr< TreeNode< std::vector< std::array< double, 2 > > >> parent=std::weak_ptr< TreeNode< std::vector< std::array< double, 2 > > >>(), size_t estimatedChildCount=0) |
| | Constructor. More...
|
| |
| | TreeNode (const std::vector< std::array< double, 2 > > &object, std::weak_ptr< TreeNode< std::vector< std::array< double, 2 > > >> parent=std::weak_ptr< TreeNode< std::vector< std::array< double, 2 > > >>(), size_t estimatedChildCount=0) |
| | Constructor. More...
|
| |
| bool | hasChildren () |
| |
| size_t | childCount () const |
| | Get child count. More...
|
| |
| std::shared_ptr< TreeNode< std::vector< std::array< double, 2 > > > > | child (size_t index) const |
| | Get a child. More...
|
| |
| std::shared_ptr< TreeNode< std::vector< std::array< double, 2 > > > > | addChild (const std::shared_ptr< TreeNode< std::vector< std::array< double, 2 > > >> &parentSharedPtr, const std::vector< std::array< double, 2 > > &object) |
| | Add child node. More...
|
| |
| std::vector< std::array< double, 2 > > & | object () |
| | Set the object. More...
|
| |
| void | setObject (const std::vector< std::array< double, 2 > > &object) |
| | Get the object. More...
|
| |
A node in a point quadtree (a quadrant)