edu.unh.sdb.datasource
Class Plane
java.lang.Object
edu.unh.sdb.datasource.Plane
public class Plane
- extends java.lang.Object
A plane that can be iterated through a Volume
and
can be rotated and translated.
- Author:
- dlipsa
Constructor Summary |
Plane()
|
Plane(double a,
double b,
double c,
double d)
Creates a new instance of Plane |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Plane
public Plane(double a,
double b,
double c,
double d)
- Creates a new instance of Plane
Plane
public Plane()
getNormal
public javax.vecmath.Vector3d getNormal()
setEquation
public void setEquation(double a,
double b,
double c,
double d)
set
public void set(int i,
double x)
get
public double get(int i)
startIteration
public void startIteration(Volume volume)
prev
public void prev()
next
public void next()
validPosition
public boolean validPosition(Volume volume)
normalize
public void normalize()
normalize
public void normalize(int numSteps)
translate
public void translate(javax.vecmath.Vector3d translation)
transform
public void transform(javax.vecmath.Matrix3d rot)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object