Skip to main content

TreeNode <T>

Dynamic Tree Node used for tracking bounds within the tree

Index

Constructors

constructor

Properties

publicbounds

bounds: BoundingBox

publicdata

data: T

publicheight

height: number

publicleft

left: TreeNode<T>

publicoptionalparent

parent?: TreeNode<T>

publicright

right: TreeNode<T>

Methods

publicisLeaf

  • isLeaf(): boolean
  • Returns boolean