uk.ac.ed.vecmath
Class Plane3d

java.lang.Object
  extended by uk.ac.ed.vecmath.Plane3d

public class Plane3d
extends Object


Field Summary
protected  double distance_to_origin
           
protected  javax.vecmath.Vector3d normal
           
protected  javax.vecmath.Point3d point
           
 
Constructor Summary
Plane3d(Plane3d orthogonal_plane, LineSegment3d line)
           
Plane3d(javax.vecmath.Point3d point, javax.vecmath.Vector3d normal)
           
 
Method Summary
 double getDistanceToOrigin()
           
 double getDistanceToPoint(javax.vecmath.Point3d point)
           
 int getHalfSpaceForPoint(javax.vecmath.Point3d point)
           
 javax.vecmath.Vector3d getNormal()
           
 javax.vecmath.Point3d getPoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

point

protected javax.vecmath.Point3d point

normal

protected javax.vecmath.Vector3d normal

distance_to_origin

protected double distance_to_origin
Constructor Detail

Plane3d

public Plane3d(javax.vecmath.Point3d point,
               javax.vecmath.Vector3d normal)

Plane3d

public Plane3d(Plane3d orthogonal_plane,
               LineSegment3d line)
Method Detail

getPoint

public javax.vecmath.Point3d getPoint()

getNormal

public javax.vecmath.Vector3d getNormal()

getDistanceToOrigin

public double getDistanceToOrigin()

getDistanceToPoint

public double getDistanceToPoint(javax.vecmath.Point3d point)

getHalfSpaceForPoint

public int getHalfSpaceForPoint(javax.vecmath.Point3d point)