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 RegionBSPTree2DEmbeddedTreePlaneSubset. regionThe 2D region representing the area on the plane.Methods in org.apache.commons.geometry.euclidean.threed that return RegionBSPTree2D Modifier and Type Method Description RegionBSPTree2DEmbeddedTreePlaneSubset. 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 voidPlanes.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 voidPlanes.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 RegionBSPTree2DRegionBSPTree2D.PartitionedRegionBuilder2D. build()Build and return the region BSP tree.RegionBSPTree2DRegionBSPTree2D. copy()Return a deep copy of this instance.static RegionBSPTree2DRegionBSPTree2D. empty()Return a new, emptyRegionBSPTree2Dinstance.static RegionBSPTree2DRegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries)Construct a new tree from the given boundaries.static RegionBSPTree2DRegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries, boolean full)Construct a new tree from the given boundaries.static RegionBSPTree2DRegionBSPTree2D. full()Return a newRegionBSPTree2Dinstance containing the entire space.default RegionBSPTree2DBoundarySource2D. toTree()Return a BSP tree constructed from the boundaries contained in this instance.RegionBSPTree2DConvexArea. toTree()Return a BSP tree representing the same region as this instance.RegionBSPTree2DRegionBSPTree2D. 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 RegionBSPTree2DCircle.CircleApproximationBuilder. build()Build the BSP tree circle approximation.RegionBSPTree2DCircle. toTree(int segments)Return aRegionBSPTree2Drepresenting an approximation of the circle.
-