public class ParametricPlane
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Vector |
n |
Point |
p |
protected Matrix3x3 |
projInv |
Vector |
v1 |
Vector |
v2 |
Constructor and Description |
---|
ParametricPlane(Point p,
Vector normal)
Construct a parametric plane with the specified point and normal.
|
ParametricPlane(Point p,
Vector v1,
Vector v2)
8 + 31 = 39HOps
|
Modifier and Type | Method and Description |
---|---|
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).
|
public Point p
public Vector n
public Vector v1
public Vector v2
protected Matrix3x3 projInv
public double[] projectPoint(Point v)
public double intersectionParameter(Line l)
public Point getP()
public Point getP(double[] pars)