de.esw.eengine.renderable
Class BoundingVolume
java.lang.Object
de.esw.eengine.renderable.AbstractRenderable
de.esw.eengine.renderable.BoundingVolume
- All Implemented Interfaces:
- IRenderable
- Direct Known Subclasses:
- BoundingBox
public abstract class BoundingVolume
- extends AbstractRenderable
- Since:
- 1.0
- Version:
- $Id: BoundingVolume.java 125 2005-06-27 13:42:55Z markusw $
- Author:
- markusw
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
set
public void set(BoundingVolume bv)
- Parameters:
bv -
set
public BoundingVolume set(int left,
int top,
int right,
int bottom)
- Parameters:
left - top - right - bottom -
- Returns:
- Self reference
merge
public abstract void merge(BoundingVolume boundingVolume)
- Parameters:
boundingVolume -
getBottom
public final int getBottom()
- Returns:
- Returns the bottom.
getLeft
public final int getLeft()
- Returns:
- Returns the left.
getRight
public final int getRight()
- Returns:
- Returns the right.
getTop
public final int getTop()
- Returns:
- Returns the top.
getWidth
public int getWidth()
- Returns:
- Width of this
BoundingVolume
getHeight
public int getHeight()
- Returns:
- Height of this
BoundingVolume
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()