CADability dotNET
The OctTree<(Of <(<'T>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddObject |
Add the provided object to the tree. This may split some nodes and cause calls to the method of other objects already in the tree.
| |
FindNode |
Find the node containing the provided point.
| |
GetNeighbourNodes |
Returns all neighbour nodes to the provided node. The result is sortet in a 2-dimensional array where the first
index defines the side according to OctTree<(Of <(<'T>)>)>..::..Side.
| |
GetNeighbours |
Returns all neighbours to the provided node. The result is sortet in a 2-dimensional array where the first
index defines the side according to OctTree<(Of <(<'T>)>)>..::..Side.
| |
GetNodesCloseTo |
Returns all nodes close to the provided object.
| |
GetNodesFromBox |
Returns all nodes of this tree that interfere with the provided box and pass the filter test.
| |
GetObjectsCloseTo |
Returns all objects that are close to the provided object.
| |
GetObjectsFromBox(BoundingCube) |
Returns all objects that interfere or are close to the provided box.
| |
GetObjectsFromBox(BoundingCube, OctTree<(Of <<'(T>)>>)..::..Filter) |
Returns all objects that interfere or are close to the provided box and accepted by the filter.
| |
GetObjectsFromLine |
Returns an array of objects which contains all objects that are close to the provided line. It may also contain some objects
that have a greater distance than maxdist to the line.
| |
GetObjectsFromPlane |
Returns all objects that are close to the provided plane
| |
GetObjectsFromPoint |
Returns all objects that are close to the provided point.
| |
GetObjectsFromRect(Projection..::..PickArea, Boolean) |
Returns an array of all objects that interfere with the provided [!:PickArea]. If onlyInside is true
only objects inside the frustum or box of the area are returned, otherwise there may also be objects
that are aoutside this area.
| |
GetObjectsFromRect(Projection, BoundingRect, Boolean) |
Returns an array of all objects that interfere with the provided rectangle in repect to the provided Projection.
It may also contain some objects which don't interfere but are close to the rectangle, if onlyInside is false.
| |
RemoveObject |
Remove object from the tree
| |
SplitNode |
Criterion whether to split a node when it contains too many leaves. The default implemenation yield a dynamically balanced
tree which allows more leaves in deeper nodes.
|