edu.unh.sdb.datasource
Class Volume

java.lang.Object
  extended by 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
 
Method Summary
 javax.vecmath.Point3d[] calculateIntersectionPoints(Plane plane)
           
 double getLengthX()
           
 double getLengthY()
           
 double getLengthZ()
           
 javax.vecmath.Point3d getLower()
           
 double[] getLowerArray()
           
 double getMaxDiagonal()
           
 javax.vecmath.Point3d getUpper()
           
 double[] getUpperArray()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Volume

public Volume(javax.vecmath.Point3d lower,
              javax.vecmath.Point3d upper)
Creates a new instance of VolumeInfo


Volume

public Volume(ISBounds bounds)
Method Detail

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