public class DynamicTreeNode

  1. Object
  2. DynamicTreeNode

Fields

public final AABB aabbEnlarged AABB
public Object userData
protected DynamicTreeNode parent
protected DynamicTreeNode child1
protected DynamicTreeNode child2
protected final int id
protected boolean leaf
protected int height

Constructors

protected DynamicTreeNode(int id)Should never be constructed outside the engine

Methods

public final boolean isLeaf()
public Object getUserData()
public void setUserData(Object argData)

Inherited methods

Field details

aabb

public final AABB aabb
Enlarged AABB

userData

public Object userData

parent

protected DynamicTreeNode parent

child1

protected DynamicTreeNode child1

child2

protected DynamicTreeNode child2

id

protected final int id

leaf

protected boolean leaf

height

protected int height

Constructor details

DynamicTreeNode

protected DynamicTreeNode(int id)
Should never be constructed outside the engine

Method details

isLeaf

public final boolean isLeaf()

getUserData

public Object getUserData()

setUserData

public void setUserData(Object argData)