Package | Description |
---|---|
org.apache.commons.geometry.core.partitioning.bsp |
This package contains classes related to Binary Space Partitioning (BSP) trees.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends AbstractRegionBSPTree<P,N>> |
AbstractRegionBSPTree.split(Hyperplane<P> splitter,
T minus,
T plus)
Helper method implementing the algorithm for splitting a tree by a hyperplane.
|
Modifier and Type | Method and 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 the
BSPTree that owns the node. |
Modifier and Type | Method and Description |
---|---|
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.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.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.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.
|
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.
|
Constructor and Description |
---|
AbstractPartitionedRegionBuilder(AbstractRegionBSPTree<P,N> tree)
Construct a new instance that builds a partitioned region in the given tree.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.