Skip to main content

TreeNode <T>

Dynamic Tree Node used for tracking bounds within the tree

Index

Constructors

constructor

Properties

publicbounds

bounds: BoundingBox

publicoptionaldata

data?: T

publicheight

height: number

publicoptionalleft

left?: TreeNode<T>

publicoptionalparent

parent?: TreeNode<T>

publicoptionalright

right?: TreeNode<T>

Methods

publicisLeaf

  • isLeaf(): boolean
  • Returns boolean