Uses of Class
org.apache.commons.geometry.euclidean.twod.RegionBSPTree2D
Packages that use RegionBSPTree2D
Package
Description
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package provides utilities for constructing basic 2D shapes.
-
Uses of RegionBSPTree2D in org.apache.commons.geometry.euclidean.threed
Fields in org.apache.commons.geometry.euclidean.threed declared as RegionBSPTree2DModifier and TypeFieldDescriptionprivate final RegionBSPTree2D
EmbeddedTreePlaneSubset.region
The 2D region representing the area on the plane.Methods in org.apache.commons.geometry.euclidean.threed that return RegionBSPTree2DModifier and TypeMethodDescriptionEmbeddedTreePlaneSubset.getSubspaceRegion()
Get the embedded subspace region.Methods in org.apache.commons.geometry.euclidean.threed with parameters of type RegionBSPTree2DModifier and TypeMethodDescriptionprivate void
Planes.PlaneRegionExtruder.addEnds
(RegionBSPTree2D subspaceRegion, List<? super PlaneConvexSubset> result) Add the end ("top" and "bottom") of the extruded subspace region to the result list.private void
Planes.PlaneRegionExtruder.addSides
(RegionBSPTree2D subspaceRegion, List<? super PlaneConvexSubset> result) Add the side boundaries of the extruded region to the result list.static List
<PlaneConvexSubset> Planes.extrude
(RegionBSPTree2D region, EmbeddingPlane plane, Vector3D extrusionVector, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Get the boundaries of the 3D region created by extruding a 2D region.Planes.PlaneRegionExtruder.extrude
(RegionBSPTree2D subspaceRegion) Extrude the given 2D BSP tree using the configured base plane and extrusion vector.Constructors in org.apache.commons.geometry.euclidean.threed with parameters of type RegionBSPTree2DModifierConstructorDescriptionEmbeddedTreePlaneSubset
(EmbeddingPlane plane, RegionBSPTree2D region) Construct a new instance from its defining plane and subspace region. -
Uses of RegionBSPTree2D in org.apache.commons.geometry.euclidean.twod
Methods in org.apache.commons.geometry.euclidean.twod that return RegionBSPTree2DModifier and TypeMethodDescriptionRegionBSPTree2D.PartitionedRegionBuilder2D.build()
Build and return the region BSP tree.RegionBSPTree2D.copy()
Return a deep copy of this instance.static RegionBSPTree2D
RegionBSPTree2D.empty()
Return a new, emptyRegionBSPTree2D
instance.static RegionBSPTree2D
RegionBSPTree2D.from
(Iterable<? extends LineConvexSubset> boundaries) Construct a new tree from the given boundaries.static RegionBSPTree2D
RegionBSPTree2D.from
(Iterable<? extends LineConvexSubset> boundaries, boolean full) Construct a new tree from the given boundaries.static RegionBSPTree2D
RegionBSPTree2D.full()
Return a newRegionBSPTree2D
instance containing the entire space.default RegionBSPTree2D
BoundarySource2D.toTree()
Return a BSP tree constructed from the boundaries contained in this instance.ConvexArea.toTree()
Return a BSP tree representing the same region as this instance.RegionBSPTree2D.toTree()
Return the current instance.Methods in org.apache.commons.geometry.euclidean.twod that return types with arguments of type RegionBSPTree2DModifier and TypeMethodDescriptionRegionBSPTree2D.split
(Hyperplane<Vector2D> splitter) Split this instance with the given hyperplane. -
Uses of RegionBSPTree2D in org.apache.commons.geometry.euclidean.twod.shape
Methods in org.apache.commons.geometry.euclidean.twod.shape that return RegionBSPTree2DModifier and TypeMethodDescriptionCircle.CircleApproximationBuilder.build()
Build the BSP tree circle approximation.Circle.toTree
(int segments) Return aRegionBSPTree2D
representing an approximation of the circle.