public class Plane3D
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
XY_PLANE |
Enums for the 3 coordinate planes
|
static int |
XZ_PLANE |
|
static int |
YZ_PLANE |
Constructor | Description |
---|---|
Plane3D(Vector3D normal,
Coordinate basePt) |
Modifier and Type | Method | Description |
---|---|---|
int |
closestAxisPlane() |
Computes the axis plane that this plane lies closest to.
|
double |
orientedDistance(Coordinate 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 Plane3D(Vector3D normal, Coordinate basePt)
public double orientedDistance(Coordinate p)
p
- the point to compute the distance forpublic 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.
Copyright © 2018. All rights reserved.