Uses of Class
org.apache.commons.geometry.core.partitioning.bsp.AbstractRegionBSPTree
-
Packages that use AbstractRegionBSPTree Package Description org.apache.commons.geometry.core.partitioning.bsp This package contains classes related to Binary Space Partitioning (BSP) trees.org.apache.commons.geometry.euclidean.oned This package provides basic 1D geometry components.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.spherical.oned This package provides basic geometry components on the 1-sphere.org.apache.commons.geometry.spherical.twod This package provides basic geometry components on the 2-sphere. -
-
Uses of AbstractRegionBSPTree in org.apache.commons.geometry.core.partitioning.bsp
Fields in org.apache.commons.geometry.core.partitioning.bsp declared as AbstractRegionBSPTree Modifier and Type Field Description private AbstractRegionBSPTree<P,N>
AbstractPartitionedRegionBuilder. tree
Tree being constructed.Methods in org.apache.commons.geometry.core.partitioning.bsp with type parameters of type AbstractRegionBSPTree Modifier and Type Method Description protected <T extends AbstractRegionBSPTree<P,N>>
Split<T>AbstractRegionBSPTree. split(Hyperplane<P> splitter, T minus, T plus)
Helper method implementing the algorithm for splitting a tree by a hyperplane.Methods in org.apache.commons.geometry.core.partitioning.bsp that return AbstractRegionBSPTree Modifier and Type Method Description protected AbstractRegionBSPTree<P,N>
AbstractPartitionedRegionBuilder. buildInternal()
Internal method to build and return the tree representing the final partitioned region.AbstractRegionBSPTree<P,N>
AbstractRegionBSPTree.AbstractRegionNode. getTree()
Get theBSPTree
that owns the node.Methods in org.apache.commons.geometry.core.partitioning.bsp with parameters of type AbstractRegionBSPTree Modifier and Type Method Description void
AbstractRegionBSPTree.RegionMergeOperator. apply(AbstractRegionBSPTree<P,N> inputTree1, AbstractRegionBSPTree<P,N> inputTree2, AbstractRegionBSPTree<P,N> outputTree)
Merge two input trees, storing the output in the third.void
AbstractRegionBSPTree. complement(AbstractRegionBSPTree<P,N> tree)
Set this instance to be the complement of the given tree.void
AbstractRegionBSPTree. difference(AbstractRegionBSPTree<P,N> other)
Compute the difference of this instance and the given region, storing the result back in this instance.void
AbstractRegionBSPTree. difference(AbstractRegionBSPTree<P,N> a, AbstractRegionBSPTree<P,N> b)
Compute the difference of the two regions passed as arguments and store the result in this instance.void
AbstractRegionBSPTree. intersection(AbstractRegionBSPTree<P,N> other)
Compute the intersection of this instance and the given region, storing the result back in this instance.void
AbstractRegionBSPTree. intersection(AbstractRegionBSPTree<P,N> a, AbstractRegionBSPTree<P,N> b)
Compute the intersection of the two regions passed as arguments and store the result in this instance.void
AbstractRegionBSPTree. union(AbstractRegionBSPTree<P,N> other)
Compute the union of this instance and the given region, storing the result back in this instance.void
AbstractRegionBSPTree. union(AbstractRegionBSPTree<P,N> a, AbstractRegionBSPTree<P,N> b)
Compute the union of the two regions passed as arguments and store the result in this instance.void
AbstractRegionBSPTree. xor(AbstractRegionBSPTree<P,N> other)
Compute the symmetric difference (xor) of this instance and the given region, storing the result back in this instance.void
AbstractRegionBSPTree. xor(AbstractRegionBSPTree<P,N> a, AbstractRegionBSPTree<P,N> b)
Compute the symmetric difference (xor) of the two regions passed as arguments and store the result in this instance.Constructors in org.apache.commons.geometry.core.partitioning.bsp with parameters of type AbstractRegionBSPTree Constructor Description AbstractPartitionedRegionBuilder(AbstractRegionBSPTree<P,N> tree)
Construct a new instance that builds a partitioned region in the given tree. -
Uses of AbstractRegionBSPTree in org.apache.commons.geometry.euclidean.oned
Subclasses of AbstractRegionBSPTree in org.apache.commons.geometry.euclidean.oned Modifier and Type Class Description class
RegionBSPTree1D
Binary space partitioning (BSP) tree representing a region in one dimensional Euclidean space. -
Uses of AbstractRegionBSPTree in org.apache.commons.geometry.euclidean.threed
Subclasses of AbstractRegionBSPTree in org.apache.commons.geometry.euclidean.threed Modifier and Type Class Description class
RegionBSPTree3D
Binary space partitioning (BSP) tree representing a region in three dimensional Euclidean space. -
Uses of AbstractRegionBSPTree in org.apache.commons.geometry.euclidean.twod
Subclasses of AbstractRegionBSPTree in org.apache.commons.geometry.euclidean.twod Modifier and Type Class Description class
RegionBSPTree2D
Binary space partitioning (BSP) tree representing a region in two dimensional Euclidean space. -
Uses of AbstractRegionBSPTree in org.apache.commons.geometry.spherical.oned
Subclasses of AbstractRegionBSPTree in org.apache.commons.geometry.spherical.oned Modifier and Type Class Description class
RegionBSPTree1S
BSP tree representing regions in 1D spherical space. -
Uses of AbstractRegionBSPTree in org.apache.commons.geometry.spherical.twod
Subclasses of AbstractRegionBSPTree in org.apache.commons.geometry.spherical.twod Modifier and Type Class Description class
RegionBSPTree2S
BSP tree representing regions in 2D spherical space.
-