erland.game.tileadventure
Class Box3D

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean contains(float x, float y, float z)
           
 float getMaxX()
           
 float getMaxY()
           
 float getMaxZ()
           
 float getMinX()
           
 float getMinY()
           
 float getMinZ()
           
 boolean intersects(Box3D b)
           
 void setBox(Box3D p)
           
 void setLocation(float x, float y, float z)
           
 void setLocation(Point3D p)
           
 void setSize(float sizeX, float sizeY, float sizeZ)
           
 void setSize(Size3D s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Box3D

public Box3D()

Box3D

public Box3D(float x,
             float y,
             float z,
             float sizeX,
             float sizeY,
             float sizeZ)
Method Detail

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.