de.esw.eengine.renderable
Class BoundingVolume

java.lang.Object
  extended by de.esw.eengine.renderable.AbstractRenderable
      extended by 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

Method Summary
 int getBottom()
           
 int getHeight()
           
 int getLeft()
           
 int getRight()
           
 int getTop()
           
 int getWidth()
           
abstract  void merge(BoundingVolume boundingVolume)
           
 void set(BoundingVolume bv)
           
 BoundingVolume set(int left, int top, int right, int bottom)
           
 java.lang.String toString()
           
 
Methods inherited from class de.esw.eengine.renderable.AbstractRenderable
blend, getAlpha, getName, setAlpha, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.esw.eengine.core.IRenderable
render
 

Method Detail

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()