lt.monarch.chart.chart3D.engine.vecmath
Class Plane

java.lang.Object
  extended by lt.monarch.chart.chart3D.engine.vecmath.Plane

public class Plane
extends java.lang.Object


Constructor Summary
Constructor and Description
Plane(Polygon3D polygon, int indx0, int indx1, int indx2)
           
Plane(Vector3d normal, double distance)
           
 
Method Summary
Modifier and Type Method and Description
 double findDistance(Vector3d p)
           
 double getDistance()
           
 Vector3d getNormal()
           
 Vector3d intersection(Vector3d p1, Vector3d p2)
           
 void intersection(Vector3d p1, Vector3d p2, Vector3d template)
           
 void setDistance(double distance)
           
 void setNormal(Vector3d normal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plane

public Plane(Polygon3D polygon,
             int indx0,
             int indx1,
             int indx2)

Plane

public Plane(Vector3d normal,
             double distance)
Method Detail

getNormal

public Vector3d getNormal()

setNormal

public void setNormal(Vector3d normal)

getDistance

public double getDistance()

setDistance

public void setDistance(double distance)

findDistance

public double findDistance(Vector3d p)

intersection

public Vector3d intersection(Vector3d p1,
                             Vector3d p2)

intersection

public void intersection(Vector3d p1,
                         Vector3d p2,
                         Vector3d template)