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 |
| Modifier and Type | Method and Description |
|---|---|
int |
closestAxisPlane()
Computes the axis plane that this plane lies closest to.
|
double |
orientedDistance(Point p)
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 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.
public double orientedDistance(Point p)
p - the point to compute the distance forCopyright © 2015 Revolution Systems Inc.. All rights reserved.