public class SidedPlane extends Plane implements Membership
Modifier and Type | Field and Description |
---|---|
double |
sigNum |
MINIMUM_RESOLUTION, MINIMUM_RESOLUTION_CUBED, MINIMUM_RESOLUTION_SQUARED, x, y, z
Constructor and Description |
---|
SidedPlane(SidedPlane sidedPlane)
Construct a SidedPlane identical to an existing one, but reversed.
|
SidedPlane(Vector p,
double height)
Construct a sided plane from a point and a Z coordinate.
|
SidedPlane(Vector p,
double x,
double y)
Construct a sided vertical plane from a point and specified x and y coordinates.
|
SidedPlane(Vector p,
Vector v,
double D)
Construct a sided plane with a normal vector and offset.
|
SidedPlane(Vector p,
Vector A,
Vector B)
Construct a sided plane from a pair of vectors describing points, and including
origin, plus a point p which describes the side.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isWithin(double x,
double y,
double z)
Check if a point is within this shape.
|
boolean |
isWithin(Vector point)
Check if a point is within this shape.
|
String |
toString() |
addPoint, equals, evaluate, evaluate, evaluateIsZero, evaluateIsZero, findIntersections, getSampleIntersectionPoint, hashCode, interpolate, intersects, isNumericallyIdentical, meetsAllBounds, modify, normalize, recordBounds, recordBounds, reverseModify
dotProduct, dotProduct, isWithin, linearDistance, linearDistance, linearDistanceSquared, linearDistanceSquared, magnitude, normalDistance, normalDistance, normalDistanceSquared, normalDistanceSquared, rotateXY, rotateXY, rotateXZ, rotateXZ, rotateZY, rotateZY, translate
public SidedPlane(SidedPlane sidedPlane)
sidedPlane
- is the existing plane.public SidedPlane(Vector p, Vector A, Vector B)
p
- point to evaluateA
- is the first in-plane pointB
- is the second in-plane pointpublic SidedPlane(Vector p, double height)
p
- point to evaluate.height
- is the Z coordinate of the plane.public SidedPlane(Vector p, double x, double y)
p
- point to evaluate.x
- is the specified x.y
- is the specified y.public boolean isWithin(Vector point)
isWithin
in interface Membership
point
- is the point to check.public boolean isWithin(double x, double y, double z)
isWithin
in interface Membership
x
- is x coordinate of point to check.y
- is y coordinate of point to check.z
- is z coordinate of point to check.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.