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
          Enlarged AABB
protected  DynamicTreeNode child1
           
protected  DynamicTreeNode child2
           
protected  int height
           
protected  int id
           
protected  boolean leaf
           
protected  DynamicTreeNode parent
           
 Object userData
           
 
Constructor Summary
protected DynamicTreeNode(int id)
          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

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 Detail

DynamicTreeNode

protected DynamicTreeNode(int id)
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 © 2013. All Rights Reserved.