Uses of Class
org.apache.commons.geometry.euclidean.threed.Plane
Packages that use Plane
Package
Description
This package provides basic 3D geometry components.
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.threedModifier and TypeClassDescriptionfinal class
Extension of thePlane
class that supports embedding of 2D subspaces in the plane.Fields in org.apache.commons.geometry.euclidean.threed declared as PlaneModifier and TypeFieldDescriptionprivate final Plane
AbstractConvexPolygon3D.plane
Plane containing the convex polygon.Methods in org.apache.commons.geometry.euclidean.threed that return PlaneModifier and TypeMethodDescription(package private) Plane
Planes.PlaneBuilder.build()
Build a plane from the configured point sequence.(package private) Plane
Planes.PlaneBuilder.buildForConvexPolygon
(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
(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.AbstractPlaneSubset.getHyperplane()
Get the hyperplane containing this instance.PlaneSubset.getHyperplane()
Get the hyperplane containing this instance.AbstractConvexPolygon3D.getPlane()
Get the plane containing this subset.PlaneSubset.getPlane()
Get the plane containing this subset.Plane.reverse()
Build a new reversed version of this plane, with opposite orientation.Plane.rotate
(Vector3D center, QuaternionRotation rotation) Rotate the plane around the specified point.Transform this instance using the givenTransform
.Translate the plane by the specified amount.Methods in org.apache.commons.geometry.euclidean.threed with parameters of type PlaneModifier and TypeMethodDescriptionboolean
Check if the instance contains another plane.(package private) static List
<Triangle3D> Planes.convexPolygonToTriangleFan
(Plane plane, List<Vector3D> vertices) Convert a convex polygon defined by a plane and list of points into a triangle fan.boolean
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, 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.insertPartition
(Plane partition) Insert a partition plane.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
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, 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 PlaneModifier and TypeMethodDescriptionstatic 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.Constructors in org.apache.commons.geometry.euclidean.threed with parameters of type PlaneModifierConstructorDescription(package private)
AbstractConvexPolygon3D
(Plane plane) Simple constructor.(package private)
SimpleTriangle3D
(Plane plane, Vector3D p1, Vector3D p2, Vector3D p3) Construct a new instance from a plane and 3 points.(package private)
VertexListConvexPolygon3D
(Plane plane, 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 PlaneModifier and TypeMethodDescriptionprivate 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 PlaneModifier and TypeMethodDescriptionprivate 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.