public class Plane3D extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
XY_PLANE
Enums for the 3 coordinate planes
|
static int |
XZ_PLANE
|
static int |
YZ_PLANE
|
| Constructor and Description |
|---|
Plane3D(Vector3D
|
| Modifier and Type | Method and Description |
|---|---|
int |
closestAxisPlane()
Computes the axis plane that this plane lies closest to.
|
double |
orientedDistance(Coordinate
Computes the oriented distance from a point to the plane.
|
public static final int XY_PLANE
public static final int YZ_PLANE
public static final int XZ_PLANE
public Plane3D(Vector3Dnormal, Coordinate basePt)
public double orientedDistance(Coordinatep)
p - the point to compute the distance for
public int closestAxisPlane()
Geometries lying in this plane undergo least distortion (and have maximum area) when projected to the closest axis plane. This provides optimal conditioning for computing a Point-in-Polygon test.