public class AxisAlignedPlane3D extends Object implements Serializable
Plane3D, but operations are much faster.| Modifier and Type | Field and Description |
|---|---|
Axis3D |
axis
Axis to which the plane is perpendicular
|
double |
origin
Origin point on the axis
|
| Constructor and Description |
|---|
AxisAlignedPlane3D(Axis3D axis,
double origin) |
| Modifier and Type | Method and Description |
|---|---|
Plane3D |
asPlane3D()
Convert to Plane3D
|
double |
getAxisCoord(Point3D point)
Get coordinate matching the axis perpendicular to the plane
|
double |
getAxisCoord(Vector3D vector)
Get coordinate matching the axis perpendicular to the plane
|
Point3D |
getLineIntersection(StraightLine3D line)
Compute intersection of a line with this plane.
|
double |
getLineIntersectionParametric(StraightLine3D line)
Compute intersection of a line with this plane.
|
Point3D |
getOriginPoint()
Get point of origin
|
double |
getSignedDistance(Point3D point)
Get signed distance from point
|
String |
toString() |
public final Axis3D axis
public final double origin
public AxisAlignedPlane3D(Axis3D axis, double origin)
public double getAxisCoord(Point3D point)
public double getAxisCoord(Vector3D vector)
public Point3D getLineIntersection(StraightLine3D line)
line - line to compute intersection withpublic double getLineIntersectionParametric(StraightLine3D line)
line - line to compute intersection withpublic Plane3D asPlane3D()
public Point3D getOriginPoint()
public double getSignedDistance(Point3D point)
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.