public class Plane
extends java.lang.Object
Volume
and
can be rotated and translated.Constructor and Description |
---|
Plane() |
Plane(double a,
double b,
double c,
double d)
Creates a new instance of Plane
|
Modifier and Type | Method and Description |
---|---|
double |
get(int i) |
javax.vecmath.Vector3d |
getNormal() |
void |
next(double step) |
void |
normalize() |
void |
normalize(int numSteps) |
void |
prev(double step) |
void |
set(int i,
double x) |
void |
setEquation(double a,
double b,
double c,
double d) |
void |
startIteration(Volume volume) |
java.lang.String |
toString() |
void |
transform(javax.vecmath.Matrix3d rot) |
void |
translate(javax.vecmath.Vector3d translation) |
boolean |
validPosition(Volume volume) |
public Plane(double a, double b, double c, double d)
public Plane()
public javax.vecmath.Vector3d getNormal()
public void setEquation(double a, double b, double c, double d)
public void set(int i, double x)
public double get(int i)
public void startIteration(Volume volume)
public void prev(double step)
public void next(double step)
public boolean validPosition(Volume volume)
public void normalize()
public void normalize(int numSteps)
public void translate(javax.vecmath.Vector3d translation)
public void transform(javax.vecmath.Matrix3d rot)
public java.lang.String toString()
toString
in class java.lang.Object