erland.game.tileadventure
Class Box3D
java.lang.Object
erland.game.tileadventure.Box3D
public class Box3D
- extends Object
Constructor Summary |
Box3D()
|
Box3D(float x,
float y,
float z,
float sizeX,
float sizeY,
float sizeZ)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Box3D
public Box3D()
Box3D
public Box3D(float x,
float y,
float z,
float sizeX,
float sizeY,
float sizeZ)
setBox
public void setBox(Box3D p)
setLocation
public void setLocation(Point3D p)
setLocation
public void setLocation(float x,
float y,
float z)
setSize
public void setSize(Size3D s)
setSize
public void setSize(float sizeX,
float sizeY,
float sizeZ)
getMinX
public float getMinX()
getMinY
public float getMinY()
getMinZ
public float getMinZ()
getMaxX
public float getMaxX()
getMaxY
public float getMaxY()
getMaxZ
public float getMaxZ()
contains
public boolean contains(float x,
float y,
float z)
intersects
public boolean intersects(Box3D b)
Copyright © 2003-2006 Erland Isaksson. All Rights Reserved.