DynamicTreeNode class
class DynamicTreeNode { AxisAlignedBox box; DynamicTreeNode parent; DynamicTreeNode next; DynamicTreeNode childOne; DynamicTreeNode childTwo; /** Can contain whatever is useful to the user. */ var userData; /** Used for sorting. */ int key; /** Should never be constructed outside the engine. */ DynamicTreeNode._construct() : box = new AxisAlignedBox(), parent = null, next = null, childOne = null, childTwo = null; /** Returns true if this node is a leaf. */ bool get isLeaf => childOne == null; String toString() => box.toString(); }
Properties
AxisAlignedBox box #
AxisAlignedBox box
DynamicTreeNode childOne #
DynamicTreeNode childOne
DynamicTreeNode childTwo #
DynamicTreeNode childTwo
DynamicTreeNode next #
DynamicTreeNode next
DynamicTreeNode parent #
DynamicTreeNode parent
var userData #
Can contain whatever is useful to the user.
var userData