org.jbox2d.collision.broadphase
Class DynamicTreeNode

java.lang.Object
  extended by org.jbox2d.collision.broadphase.DynamicTreeNode

public class DynamicTreeNode
extends Object


Field Summary
 AABB aabb
          This is the fattened AABB
protected  int child1
           
protected  int child2
           
protected  int height
           
protected  int id
           
static int NULL_NODE
           
protected  int parent
           
 Object userData
           
 
Constructor Summary
protected DynamicTreeNode()
          Should never be constructed outside the engine
 
Method Summary
 Object getUserData()
           
 boolean isLeaf()
           
 void setUserData(Object argData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_NODE

public static final int NULL_NODE
See Also:
Constant Field Values

aabb

public final AABB aabb
This is the fattened AABB


userData

public Object userData

parent

protected int parent

child1

protected int child1

child2

protected int child2

height

protected int height

id

protected int id
Constructor Detail

DynamicTreeNode

protected DynamicTreeNode()
Should never be constructed outside the engine

Method Detail

isLeaf

public final boolean isLeaf()

getUserData

public Object getUserData()

setUserData

public void setUserData(Object argData)


Copyright © 2012. All Rights Reserved.