edu.unh.sdb.datasource
Class Volume
java.lang.Object
edu.unh.sdb.datasource.Volume
public class Volume
- extends java.lang.Object
A volume that can be intersected with a Plane
.
- Author:
- dlipsa
Constructor Summary |
Volume(ISBounds bounds)
|
Volume(javax.vecmath.Point3d lower,
javax.vecmath.Point3d upper)
Creates a new instance of VolumeInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Volume
public Volume(javax.vecmath.Point3d lower,
javax.vecmath.Point3d upper)
- Creates a new instance of VolumeInfo
Volume
public Volume(ISBounds bounds)
getMaxDiagonal
public double getMaxDiagonal()
calculateIntersectionPoints
public javax.vecmath.Point3d[] calculateIntersectionPoints(Plane plane)
getLower
public javax.vecmath.Point3d getLower()
getUpper
public javax.vecmath.Point3d getUpper()
getLengthX
public double getLengthX()
getLengthY
public double getLengthY()
getLengthZ
public double getLengthZ()
getLowerArray
public double[] getLowerArray()
getUpperArray
public double[] getUpperArray()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object