raja.shape
Class Plane
java.lang.Object
|
+--raja.shape.BasicForm
|
+--raja.shape.Plane
- All Implemented Interfaces:
- Form, Serializable, Shape3D, Writable
- public class Plane
- extends BasicForm
- implements Serializable, Writable
- See Also:
- Serialized Form
origin
protected Point3D origin
normal
protected Vector3D normal
Plane
public Plane(Point3D origin,
Vector3D normal)
build
public static Object build(ObjectReader reader)
throws IOException
computeIntersection
public Point3D computeIntersection(Ray r)
- Overrides:
computeIntersection in class BasicForm
exactlyContains
public boolean exactlyContains(Point3D p)
- Overrides:
exactlyContains in class BasicForm
exactlyStrictlyContains
public boolean exactlyStrictlyContains(Point3D p)
- Overrides:
exactlyStrictlyContains in class BasicForm
computeNormal
public Vector3D computeNormal(Point3D p)
- Overrides:
computeNormal in class BasicForm
toString
public String toString()
- Overrides:
toString in class Object
write
public void write(ObjectWriter writer)
throws IOException
- Specified by:
write in interface Writable