|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.brackeen.javagamebook.math3D.PolygonGroupBounds
The PolygonGroupBounds represents a cylinder bounds around a PolygonGroup that can be used for collision detection.
Constructor Summary | |
PolygonGroupBounds()
Creates a new PolygonGroupBounds with no bounds. |
|
PolygonGroupBounds(PolygonGroup group)
Creates a new PolygonGroupBounds with the bounds of the specified PolygonGroup. |
Method Summary | |
float |
getBottomHeight()
|
float |
getRadius()
|
float |
getTopHeight()
|
void |
setBottomHeight(float bottomHeight)
|
void |
setRadius(float radius)
|
void |
setToBounds(PolygonGroup group)
Sets this to the bounds of the specified PolygonGroup. |
void |
setTopHeight(float topHeight)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolygonGroupBounds()
public PolygonGroupBounds(PolygonGroup group)
Method Detail |
public void setToBounds(PolygonGroup group)
public float getTopHeight()
public void setTopHeight(float topHeight)
public float getBottomHeight()
public void setBottomHeight(float bottomHeight)
public float getRadius()
public void setRadius(float radius)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |