anl.aida.viz3d
Class Box
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
upper
private javax.vecmath.Point3f upper
lower
private javax.vecmath.Point3f lower
center
private javax.vecmath.Point3f center
diff
private javax.vecmath.Vector3f diff
Box
public Box()
Box
public Box(javax.vecmath.Point3f lowerPt,
javax.vecmath.Point3f upperPt)
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