Struct BBTree Extends IDisposable
Public
Axis Aligned Bounding Box Tree.
Holds a bounding box tree of triangles.
Inner Types
Public Methods
QueryClosest
(p, constraint, projection, distanceSqr, previous, nodes, triangles, vertices)
Queries the tree for the closest node to p constrained by the NNConstraint trying to improve an existing solution.
Public Static Methods
NodeBounds
(permutation, nodeBounds, from, to)
Calculates the bounding box in XZ space of all nodes between from (inclusive) and to (exclusive)
Public Variables
Size
Public
nodePermutation
Public
tree
Holds all tree nodes.
Public
Public Static Variables
MAX_TREE_HEIGHT
Public
Static
MaximumLeafSize
Public
Static
Public Enums
DistanceMetric
Public