Constructors
Node3Leaf
#Box constructor. Create an empty leaf with a specific box.
Fields
Properties
Nodes
#Gets the indices of all nodes which are contained in this leaf.
Methods
Contains
#MaximumDistance
#MaximumDistanceSquared
#MinimumDistance
#MinimumDistanceSquared
#RemoveNode
#Remove the node with the specified tag from this leaf or any subleafs. This method assumes that a node with a given tag occurs at most once within this subtree. Removing nodes will not close leafs, you need to call TrimExcess() in order to remove empty subleafs or empty nodelists.
RemoveNode
#Remove the specified node from this leaf or any subleafs. This method assumes that any node occurs at most once within this subtree. Removing nodes will not close leafs, you need to call TrimExcess() in order to remove empty subleafs or empty nodelists.
SolveProximity
#Recursive method that solves a proximity search.
Parameters:
| nodes (Node3List) | Node set to search |
| prox (Node3Proximity) | Proximity object to search with |
SubDivide
#Builds a subtree from a Node list.
Parameters:
| nodes (Node3List) | All the nodes that are supposed to be included in this tree. |
| index_subset (List<int>) | A subset of nodes on which to perform the subdivision. Pass a null-pointer to use ALL nodes. If the list is not null, used indices will be extracted from the list, in order to reduce the number of pointless inclusion tests. |
| group_limit (int) | The number of allowed Nodes per Leaf. If a Leaf contains more than N nodes, it will subdivide. |
TrimExcess
#public void TrimExcess()
Removes empty leaves, empty nodelists and nodelist capacity overflow from this leaf and all subleaves.