DBVT class

A dynamic bounding volume tree for the broad-phase algorithm.

Constructors

DBVT()

Properties

aabb AABB
getter/setter pair
freeNodes List<DBVTNode>
All the free nodes in the tree
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
numFreeNodes int
Number of nodes that are free
getter/setter pair
root DBVTNode?
The root of the tree.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

balance(DBVTNode node) DBVTNode
Balance the dynamic bounding volume node according to the input
deleteLeaf(DBVTNode leaf) → void
fix(DBVTNode node) → void
Fix the dynamic bounding volume of the input node
getBalance(DBVTNode node) double
Get the balance of the dynamic bounding volme node from its children
insertLeaf(DBVTNode leaf) → void
Insert a new leaf to the tree
moveLeaf(dynamic leaf) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited