Uses of Class
org.apache.commons.geometry.euclidean.threed.Plane
-
Packages that use Plane Package Description org.apache.commons.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.geometry.euclidean.threed.shape This package provides utilities for constructing basic 3D shapes. -
-
Uses of Plane in org.apache.commons.geometry.euclidean.threed
Subclasses of Plane in org.apache.commons.geometry.euclidean.threed Modifier and Type Class Description class
EmbeddingPlane
Extension of thePlane
class that supports embedding of 2D subspaces in the plane.Fields in org.apache.commons.geometry.euclidean.threed declared as Plane Modifier and Type Field Description private Plane
AbstractConvexPolygon3D. plane
Plane containing the convex polygon.Methods in org.apache.commons.geometry.euclidean.threed that return Plane Modifier and Type Method Description (package private) Plane
Planes.PlaneBuilder. build()
Build a plane from the configured point sequence.(package private) Plane
Planes.PlaneBuilder. buildForConvexPolygon(java.util.List<? super Vector3D> vertexOutput)
Build a plane from the configured point sequence, validating that the points form a convex region and adding all discovered unique points to the given list.private Plane
Planes.PlaneBuilder. createPlane()
Construct the plane instance using the value gathered during point processing.static Plane
Planes. fromNormal(Vector3D normal, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Build a plane from a normal.static Plane
Planes. fromPointAndNormal(Vector3D p, Vector3D normal, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Build a plane from a point and a normal.static Plane
Planes. fromPoints(java.util.Collection<Vector3D> pts, org.apache.commons.numbers.core.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, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Build a plane from three points.Plane
AbstractPlaneSubset. getHyperplane()
Get the hyperplane containing this instance.Plane
PlaneSubset. getHyperplane()
Get the hyperplane containing this instance.Plane
AbstractConvexPolygon3D. getPlane()
Get the plane containing this subset.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)
Transform this instance using the givenTransform
.Plane
Plane. translate(Vector3D translation)
Translate the plane by the specified amount.Methods in org.apache.commons.geometry.euclidean.threed with parameters of type Plane Modifier and Type Method Description boolean
Plane. contains(Plane plane)
Check if the instance contains another plane.(package private) static java.util.List<Triangle3D>
Planes. convexPolygonToTriangleFan(Plane plane, java.util.List<Vector3D> vertices)
Convert a convex polygon defined by a plane and list of points into a triangle fan.boolean
Plane. eq(Plane other, org.apache.commons.numbers.core.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.(package private) static ConvexPolygon3D
Planes. fromConvexPlanarVertices(Plane plane, java.util.List<Vector3D> vertices)
Construct a convex polygon 3D from a plane and a list of vertices lying in the plane.private static <T extends PlaneSubset>
Split<T>Planes. getNonIntersectingSplitResult(Plane splitter, T subset)
Get a split result for cases where the splitting plane and the plane containing the subset being split do not intersect.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.(package private) static <T extends PlaneSubset>
Split<T>Planes. subspaceSplit(Plane splitter, T subset, java.util.function.BiFunction<? super EmbeddingPlane,? super HyperplaneBoundedRegion<Vector2D>,T> factory)
Generic split method that uses performs the split using the subspace region of the plane subset.(package private) static void
Planes. validatePlanesEquivalent(Plane expected, Plane actual)
Validate that the actual plane contains the same points as the expected plane, throwing an exception if not.Method parameters in org.apache.commons.geometry.euclidean.threed with type arguments of type Plane Modifier and Type Method Description static ConvexVolume
ConvexVolume. fromBounds(java.lang.Iterable<? extends Plane> boundingPlanes)
Create a convex volume formed by the intersection of the negative half-spaces of the given bounding planes.Constructors in org.apache.commons.geometry.euclidean.threed with parameters of type Plane Constructor Description AbstractConvexPolygon3D(Plane plane)
Simple constructor.SimpleTriangle3D(Plane plane, Vector3D p1, Vector3D p2, Vector3D p3)
Construct a new instance from a plane and 3 points.VertexListConvexPolygon3D(Plane plane, java.util.List<Vector3D> vertices)
Construct a new instance with the given plane and list of vertices. -
Uses of Plane in org.apache.commons.geometry.euclidean.threed.shape
Methods in org.apache.commons.geometry.euclidean.threed.shape that return Plane Modifier and Type Method Description private Plane
Sphere.SphereTreeApproximationBuilder. createPlane(Vector3D p1, Vector3D p2, Vector3D p3)
Create a plane from the given points, using the precision context of the sphere.Methods in org.apache.commons.geometry.euclidean.threed.shape with parameters of type Plane Modifier and Type Method Description private void
Sphere.SphereTreeApproximationBuilder. checkedCut(RegionBSPTree3D.RegionNode3D node, Plane cutter, RegionCutRule cutRule)
Insert the cut into the given node, throwing an exception if no portion of the cutter intersects the node.
-