ProGAL.geom3d
Class ParametricPlane
java.lang.Object
ProGAL.geom3d.ParametricPlane
public class ParametricPlane
- extends java.lang.Object
Method Summary |
Point |
getP()
|
Point |
getP(double[] pars)
|
double |
intersectionParameter(Line l)
Returns a parameter setting for the line describing the
intersection with this plane. |
double[] |
projectPoint(Point v)
Projects the point v onto this plane and returns the parameters of
the projected point (scaling of v1, of v2 and finally the distance or
scaling along n). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p
public Point p
n
public Vector n
v1
public Vector v1
v2
public Vector v2
ParametricPlane
public ParametricPlane(Point p,
Vector v1,
Vector v2)
- 8 + 31 = 39HOps
ParametricPlane
public ParametricPlane(Point p,
Vector normal)
- Construct a parametric plane with the specified point and normal. It is not specified
how the orthogonal basis is constructed except that the third basis-vector will be the
normal vector.
projectPoint
public double[] projectPoint(Point v)
- Projects the point v onto this plane and returns the parameters of
the projected point (scaling of v1, of v2 and finally the distance or
scaling along n). 9HOps
intersectionParameter
public double intersectionParameter(Line l)
- Returns a parameter setting for the line describing the
intersection with this plane. Assumes there's a point
intersection.
getP
public Point getP()
getP
public Point getP(double[] pars)