Uses of Class
org.apache.commons.geometry.euclidean.twod.RegionBSPTree2D
-
Packages that use RegionBSPTree2D Package Description org.apache.commons.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.geometry.euclidean.twod This package provides basic 2D geometry components.org.apache.commons.geometry.euclidean.twod.shape 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 RegionBSPTree2D Modifier and Type Field Description private RegionBSPTree2D
EmbeddedTreePlaneSubset. region
The 2D region representing the area on the plane.Methods in org.apache.commons.geometry.euclidean.threed that return RegionBSPTree2D Modifier and Type Method Description RegionBSPTree2D
EmbeddedTreePlaneSubset. getSubspaceRegion()
Get the embedded subspace region.Methods in org.apache.commons.geometry.euclidean.threed with parameters of type RegionBSPTree2D Modifier and Type Method Description private void
Planes.PlaneRegionExtruder. addEnds(RegionBSPTree2D subspaceRegion, java.util.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, java.util.List<? super PlaneConvexSubset> result)
Add the side boundaries of the extruded region to the result list.static java.util.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.java.util.List<PlaneConvexSubset>
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 RegionBSPTree2D Constructor Description EmbeddedTreePlaneSubset(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 RegionBSPTree2D Modifier and Type Method Description RegionBSPTree2D
RegionBSPTree2D.PartitionedRegionBuilder2D. build()
Build and return the region BSP tree.RegionBSPTree2D
RegionBSPTree2D. copy()
Return a deep copy of this instance.static RegionBSPTree2D
RegionBSPTree2D. empty()
Return a new, emptyRegionBSPTree2D
instance.static RegionBSPTree2D
RegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries)
Construct a new tree from the given boundaries.static RegionBSPTree2D
RegionBSPTree2D. from(java.lang.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.RegionBSPTree2D
ConvexArea. toTree()
Return a BSP tree representing the same region as this instance.RegionBSPTree2D
RegionBSPTree2D. toTree()
Return the current instance.Methods in org.apache.commons.geometry.euclidean.twod that return types with arguments of type RegionBSPTree2D Modifier and Type Method Description Split<RegionBSPTree2D>
RegionBSPTree2D. 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 RegionBSPTree2D Modifier and Type Method Description RegionBSPTree2D
Circle.CircleApproximationBuilder. build()
Build the BSP tree circle approximation.RegionBSPTree2D
Circle. toTree(int segments)
Return aRegionBSPTree2D
representing an approximation of the circle.
-