anl.aida.viz3d
Class Box

java.lang.Object
  extended by anl.aida.viz3d.Box

public class Box
extends java.lang.Object


Field Summary
private  javax.vecmath.Point3f center
           
private  javax.vecmath.Vector3f diff
           
private  javax.vecmath.Point3f lower
           
private  javax.vecmath.Point3f upper
           
 
Constructor Summary
Box()
           
Box(javax.vecmath.Point3f lowerPt, javax.vecmath.Point3f upperPt)
           
 
Method Summary
 javax.vecmath.Point3f getCenter()
           
 float getDepth()
           
 float getHeight()
           
 javax.vecmath.Point3f getLower()
           
 javax.vecmath.Point3f getUpper()
           
 float getWidth()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

upper

private javax.vecmath.Point3f upper

lower

private javax.vecmath.Point3f lower

center

private javax.vecmath.Point3f center

diff

private javax.vecmath.Vector3f diff
Constructor Detail

Box

public Box()

Box

public Box(javax.vecmath.Point3f lowerPt,
           javax.vecmath.Point3f upperPt)
Method Detail

getWidth

public float getWidth()

getHeight

public float getHeight()

getDepth

public float getDepth()

getUpper

public javax.vecmath.Point3f getUpper()
Returns:
the upper

getLower

public javax.vecmath.Point3f getLower()
Returns:
the lower

getCenter

public javax.vecmath.Point3f getCenter()
Returns:
the center

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object