CADability dotNET

The OctTree<(Of <(<'T>)>)> type exposes the following members.

Methods

  NameDescription
Public methodAddObject
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.
Public methodFindNode
Find the node containing the provided point.
Protected methodGetNeighbourNodes
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.
Protected methodGetNeighbours
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.
Protected methodGetNodesCloseTo
Returns all nodes close to the provided object.
Public methodGetNodesFromBox
Returns all nodes of this tree that interfere with the provided box and pass the filter test.
Public methodGetObjectsCloseTo
Returns all objects that are close to the provided object.
Public methodGetObjectsFromBox(BoundingCube)
Returns all objects that interfere or are close to the provided box.
Public methodGetObjectsFromBox(BoundingCube, OctTree<(Of <<'(T>)>>)..::..Filter)
Returns all objects that interfere or are close to the provided box and accepted by the filter.
Public methodGetObjectsFromLine
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.
Public methodGetObjectsFromPlane
Returns all objects that are close to the provided plane
Public methodGetObjectsFromPoint
Returns all objects that are close to the provided point.
Public methodGetObjectsFromRect(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.
Public methodGetObjectsFromRect(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.
Public methodRemoveObject
Remove object from the tree
Protected methodSplitNode
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.

See Also