Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2TreeNode<T>

Type parameters

  • T

Hierarchy

  • b2TreeNode

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • Default value id: number = 0

    Returns b2TreeNode

Properties

Private _userData

_userData: T | null = null

Readonly aabb

aabb: b2AABB = new b2AABB()

child1

child1: b2TreeNode<T> | null = null

child2

child2: b2TreeNode<T> | null = null

height

height: number = 0

Readonly m_id

m_id: number = 0

parent

parent: b2TreeNode<T> | null = null

Accessors

userData

  • get userData(): T
  • set userData(value: T): void
  • Returns T

  • Parameters

    • value: T

    Returns void

Methods

IsLeaf

  • IsLeaf(): boolean
  • Returns boolean

Reset

  • Reset(): void
  • Returns void

Generated using TypeDoc