Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
Modifier and Type | Class and Description |
---|---|
class |
EmbeddingPlane
Extension of the
Plane class that supports embedding of 2D subspaces in the plane. |
Modifier and Type | Method and Description |
---|---|
static Plane |
Planes.fromNormal(Vector3D normal,
Precision.DoubleEquivalence precision)
Build a plane from a normal.
|
static Plane |
Planes.fromPointAndNormal(Vector3D p,
Vector3D normal,
Precision.DoubleEquivalence precision)
Build a plane from a point and a normal.
|
static Plane |
Planes.fromPoints(Collection<Vector3D> pts,
Precision.DoubleEquivalence precision)
Construct a plane from a collection of points lying on the plane.
|
static Plane |
Planes.fromPoints(Vector3D p1,
Vector3D p2,
Vector3D p3,
Precision.DoubleEquivalence precision)
Build a plane from three points.
|
Plane |
PlaneSubset.getHyperplane() |
Plane |
PlaneSubset.getPlane()
Get the plane containing this subset.
|
Plane |
Plane.reverse()
Build a new reversed version of this plane, with opposite orientation.
|
Plane |
Plane.rotate(Vector3D center,
QuaternionRotation rotation)
Rotate the plane around the specified point.
|
Plane |
Plane.transform(Transform<Vector3D> transform) |
Plane |
Plane.translate(Vector3D translation)
Translate the plane by the specified amount.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Plane.contains(Plane plane)
Check if the instance contains another plane.
|
boolean |
Plane.eq(Plane other,
Precision.DoubleEquivalence precision)
Return true if this instance should be considered equivalent to the argument, using the
given precision context for comparison.
|
static ConvexVolume |
ConvexVolume.fromBounds(Plane... planes)
Create a convex volume formed by the intersection of the negative half-spaces of the
given bounding planes.
|
RegionBSPTree3D.PartitionedRegionBuilder3D |
RegionBSPTree3D.PartitionedRegionBuilder3D.insertPartition(Plane partition)
Insert a partition plane.
|
Line3D |
Plane.intersection(Plane other)
Get the line formed by the intersection of this instance with the given plane.
|
static Vector3D |
Plane.intersection(Plane plane1,
Plane plane2,
Plane plane3)
Get the intersection point of three planes.
|
boolean |
Plane.isParallel(Plane plane)
Check if the plane is parallel to the instance.
|
double |
Plane.offset(Plane plane)
Get the offset (oriented distance) of the given plane with respect to this instance.
|
Modifier and Type | Method and Description |
---|---|
static ConvexVolume |
ConvexVolume.fromBounds(Iterable<? extends Plane> boundingPlanes)
Create a convex volume formed by the intersection of the negative half-spaces of the
given bounding planes.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.