edu.unh.sdb.datasource
Class Plane

java.lang.Object
  extended by 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
 
Method Summary
 double get(int i)
           
 javax.vecmath.Vector3d getNormal()
           
 void next()
           
 void normalize()
           
 void normalize(int numSteps)
           
 void prev()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Plane

public Plane(double a,
             double b,
             double c,
             double d)
Creates a new instance of Plane


Plane

public Plane()
Method Detail

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