|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.Plane
public class Plane
Class plane represents planes in 3-dimensional space and supports geometric operations using planes.
Ray-plane intercept computations
are performed by class RayPlaneIntercept
.
Limb computations are performed by class Ellipse
.
Ellipse-plane intersections are
performed by class EllipsePlaneIntercept
.
Constructor Summary | |
---|---|
Plane(double[] planeArray)
Contruct a Plane from a double array. |
|
Plane(Plane pl)
Copy constructor: this constructor creates a deep copy. |
|
Plane(Vector3 normal,
double constant)
Create a Plane from a normal vector and a constant. |
|
Plane(Vector3 normal,
Vector3 point)
Create a Plane from a normal vector and a point. |
|
Plane(Vector3 point,
Vector3 span1,
Vector3 span2)
Create a Plane from a point and two spanning vectors. |
Method Summary | |
---|---|
double |
getConstant()
Retrieve a plane constant from a Plane. |
Vector3 |
getNormal()
Retrieve a normal vector from a Plane. |
Vector3 |
getPoint()
Retrieve a point from a Plane. |
Vector3[] |
getSpanningVectors()
Retrieve two spanning vectors from a plane. |
Vector3 |
project(Vector3 v)
Project a vector orthogonally onto a Plane. |
double[] |
toArray()
Extract contents of a Plane into a double array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Plane(Plane pl)
public Plane(Vector3 normal, double constant) throws SpiceException
< x, normal > = constant
SpiceException
public Plane(Vector3 normal, Vector3 point) throws SpiceException
< x, normal > = < point, normal >
SpiceException
public Plane(Vector3 point, Vector3 span1, Vector3 span2) throws SpiceException
point + s1 * span1 + s2 * span2where s1, s2 are scalars.
SpiceException
public Plane(double[] planeArray) throws SpiceException
SpiceException
Method Detail |
---|
public Vector3 getNormal()
public double getConstant()
< x, normal > = constantwhere `normal' is the vector returned by `getNormal'.
public Vector3 getPoint() throws SpiceException
SpiceException
public Vector3[] getSpanningVectors() throws SpiceException
SpiceException
public Vector3 project(Vector3 v) throws SpiceException
SpiceException
public double[] toArray()
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |