Uses of Interface
org.apache.commons.geometry.core.partitioning.HyperplaneConvexSubset
Packages that use HyperplaneConvexSubset
Package
Description
This package contains code related to partitioning of spaces by hyperplanes.
This package contains classes related to Binary Space Partitioning (BSP) trees.
This package provides basic 1D geometry components.
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package contains the core interfaces and classes for commons-geometry
IO functionality.
This package provides basic geometry components on the 1-sphere.
This package provides basic geometry components on the 2-sphere.
-
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.core.partitioning
Classes in org.apache.commons.geometry.core.partitioning with type parameters of type HyperplaneConvexSubsetModifier and TypeClassDescriptionclassAbstractConvexHyperplaneBoundedRegion<P extends Point<P>,S extends HyperplaneConvexSubset<P>> Base class for convex hyperplane-bounded regions.protected static classAbstractConvexHyperplaneBoundedRegion.ConvexRegionBoundaryBuilder<P extends Point<P>,S extends HyperplaneConvexSubset<P>> Internal class encapsulating the logic for building convex region boundaries from collections of hyperplanes.classBoundaryList<P extends Point<P>,S extends HyperplaneConvexSubset<P>> Simple implementation ofBoundarySourcecontaining boundaries stored in a list.interfaceBoundarySource<C extends HyperplaneConvexSubset<? extends Point<?>>>Interface representing an object that can produce region boundaries as a stream of hyperplane convex subsets.Methods in org.apache.commons.geometry.core.partitioning that return HyperplaneConvexSubsetModifier and TypeMethodDescriptionHyperplaneConvexSubset.reverse()Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.Hyperplane.span()Return aHyperplaneConvexSubsetspanning this entire hyperplane.private HyperplaneConvexSubset<P> AbstractConvexHyperplaneBoundedRegion.ConvexRegionBoundaryBuilder.splitBound(Hyperplane<P> currentBound, Iterable<? extends Hyperplane<P>> bounds, int currentBoundIdx) Split the given bounding hyperplane by all of the other hyperplanes in the given collection, returning the remaining hyperplane subset.Return a new hyperplane subset resulting from the application of the given transform.AbstractConvexHyperplaneBoundedRegion.trim(HyperplaneConvexSubset<P> sub) Trim the given hyperplane subset to the portion contained inside this instance.Methods in org.apache.commons.geometry.core.partitioning that return types with arguments of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionSplit<? extends HyperplaneConvexSubset<P>> HyperplaneConvexSubset.split(Hyperplane<P> splitter) Split this instance with the given hyperplane.List<? extends HyperplaneConvexSubset<P>> HyperplaneSubset.toConvex()Convert this instance into a list of convex child subsets representing the same region.Methods in org.apache.commons.geometry.core.partitioning with parameters of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionAbstractConvexHyperplaneBoundedRegion.trim(HyperplaneConvexSubset<P> sub) Trim the given hyperplane subset to the portion contained inside this instance. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.core.partitioning.bsp
Classes in org.apache.commons.geometry.core.partitioning.bsp with type parameters of type HyperplaneConvexSubsetModifier and TypeClassDescriptionprivate static final classAbstractRegionBSPTree.RegionBoundaryIterator<P extends Point<P>,C extends HyperplaneConvexSubset<P>, N extends AbstractRegionBSPTree.AbstractRegionNode<P, N>> Class that iterates over the boundary hyperplane convex subsets from a set of region nodes.Fields in org.apache.commons.geometry.core.partitioning.bsp declared as HyperplaneConvexSubsetModifier and TypeFieldDescriptionprivate HyperplaneConvexSubset<P> AbstractBSPTree.AbstractNode.cutThe hyperplane convex subset cutting the node's region; this will be null for leaf nodes.Fields in org.apache.commons.geometry.core.partitioning.bsp with type parameters of type HyperplaneConvexSubsetModifier and TypeFieldDescriptionprivate final List<HyperplaneConvexSubset<P>> RegionCutBoundary.insideFacingPortion of the cut oriented such that the plus side of the cut points to the inside of the region.private final List<HyperplaneConvexSubset<P>> RegionCutBoundary.outsideFacingPortion of the cut oriented such that the plus side of the cut points to the outside of the region.private final Function<? super HyperplaneConvexSubset<P>, C> AbstractRegionBSPTree.RegionBoundaryIterator.typeConverterFunction that converts from the convex subset type to the output type.Methods in org.apache.commons.geometry.core.partitioning.bsp with type parameters of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionprotected <C extends HyperplaneConvexSubset<P>>
Iterable<C> AbstractRegionBSPTree.createBoundaryIterable(Function<HyperplaneConvexSubset<P>, C> typeConverter) Internal method for creating the iterable instances used to iterate the region boundaries.protected <C extends HyperplaneConvexSubset<P>>
List<C> AbstractRegionBSPTree.createBoundaryList(Function<HyperplaneConvexSubset<P>, C> typeConverter) Internal method for creating a list of the region boundaries.Methods in org.apache.commons.geometry.core.partitioning.bsp that return HyperplaneConvexSubsetModifier and TypeMethodDescriptionAbstractBSPTree.AbstractNode.getCut()Get the cut for the node.BSPTree.Node.getCut()Get the cut for the node.AbstractBSPTree.AbstractNode.trim(HyperplaneConvexSubset<P> sub) Trim the given hyperplane subset to the region defined by this node by cutting the argument with the cut hyperplanes (binary partitioners) of all parent nodes up to the root.BSPTree.Node.trim(HyperplaneConvexSubset<P> sub) Trim the given hyperplane subset to the region defined by this node by cutting the argument with the cut hyperplanes (binary partitioners) of all parent nodes up to the root.protected HyperplaneConvexSubset<P> AbstractBSPTree.trimToNode(N node, HyperplaneConvexSubset<P> sub) Trim the given hyperplane convex subset to the region defined by the given node.Methods in org.apache.commons.geometry.core.partitioning.bsp that return types with arguments of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionIterable<? extends HyperplaneConvexSubset<P>> AbstractRegionBSPTree.boundaries()Return anIterablefor iterating over the boundaries of the region.List<? extends HyperplaneConvexSubset<P>> AbstractRegionBSPTree.getBoundaries()Return a list containing the boundaries of the region.RegionCutBoundary.getInsideFacing()Get the portion of the cut with its plus side facing the inside of the region.RegionCutBoundary.getOutsideFacing()Get the portion of the cut with its plus side facing the outside of the region.Methods in org.apache.commons.geometry.core.partitioning.bsp with parameters of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionprivate voidAbstractRegionBSPTree.AbstractRegionNode.characterizeHyperplaneSubset(HyperplaneConvexSubset<P> sub, AbstractRegionBSPTree.AbstractRegionNode<P, N> node, List<? super HyperplaneConvexSubset<P>> in, List<? super HyperplaneConvexSubset<P>> out) Recursive method to characterize a hyperplane convex subset with respect to the region's boundaries.protected voidAbstractBSPTree.insert(HyperplaneConvexSubset<P> convexSub, AbstractBSPTree.SubtreeInitializer<N> subtreeInit) Insert the given hyperplane convex subset into the tree, starting at the root node.voidAbstractRegionBSPTree.insert(HyperplaneConvexSubset<P> convexSub) Insert a hyperplane convex subset into the tree, using the defaultRegionCutRuleofMINUS_INSIDE.voidAbstractRegionBSPTree.insert(HyperplaneConvexSubset<P> convexSub, RegionCutRule cutRule) Insert a hyperplane convex subset into the tree.protected voidAbstractPartitionedRegionBuilder.insertBoundaryInternal(HyperplaneConvexSubset<P> boundary) Internal method to insert a region boundary into the tree.private voidAbstractPartitionedRegionBuilder.insertBoundaryRecursive(N node, HyperplaneConvexSubset<P> insert, HyperplaneConvexSubset<P> trimmed, BiConsumer<N, HyperplaneConvexSubset<P>> leafFn) Insert a region boundary into the tree.private voidAbstractPartitionedRegionBuilder.insertBoundaryRecursiveInternalNode(N node, HyperplaneConvexSubset<P> insert, HyperplaneConvexSubset<P> trimmed, BiConsumer<N, HyperplaneConvexSubset<P>> leafFn) Recursive boundary insertion method for internal nodes.protected voidAbstractPartitionedRegionBuilder.insertPartitionInternal(HyperplaneConvexSubset<P> partition) Internal method to insert a partition into the tree.private voidAbstractBSPTree.insertRecursive(N node, HyperplaneConvexSubset<P> insert, HyperplaneConvexSubset<P> trimmed, AbstractBSPTree.SubtreeInitializer<N> subtreeInit) Recursively insert a hyperplane convex subset into the tree at the given node.protected voidAbstractBSPTree.setNodeCut(N node, HyperplaneConvexSubset<P> cut, AbstractBSPTree.SubtreeInitializer<N> subtreeInitializer) Set the cut hyperplane subset for the given node.protected voidAbstractBSPTree.AbstractNode.setSubtree(HyperplaneConvexSubset<P> newCut, N newMinus, N newPlus) Set the parameters for the subtree rooted at this node.private NAbstractBSPTree.splitInternalNode(N node, HyperplaneConvexSubset<P> partitioner) Split the given internal node by a partitioning convex subset defined on the same region as the node and import it into this tree.private NAbstractBSPTree.splitLeafNode(N node, HyperplaneConvexSubset<P> partitioner) Split the given leaf node by a partitioning convex subset defined on the same region and import it into this tree.protected NAbstractBSPTree.splitSubtree(N node, HyperplaneConvexSubset<P> partitioner) Split the subtree rooted at the given node by a partitioning convex subset defined on the same region as the node.private booleanAbstractPartitionedRegionBuilder.touchesInside(HyperplaneConvexSubset<P> sub, N node) Return true ifsubtouches an inside leaf node anywhere in the subtree rooted atnode.AbstractBSPTree.AbstractNode.trim(HyperplaneConvexSubset<P> sub) Trim the given hyperplane subset to the region defined by this node by cutting the argument with the cut hyperplanes (binary partitioners) of all parent nodes up to the root.BSPTree.Node.trim(HyperplaneConvexSubset<P> sub) Trim the given hyperplane subset to the region defined by this node by cutting the argument with the cut hyperplanes (binary partitioners) of all parent nodes up to the root.protected HyperplaneConvexSubset<P> AbstractBSPTree.trimToNode(N node, HyperplaneConvexSubset<P> sub) Trim the given hyperplane convex subset to the region defined by the given node.Method parameters in org.apache.commons.geometry.core.partitioning.bsp with type arguments of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionprivate booleanRegionCutBoundary.anyContains(P pt, List<? extends HyperplaneConvexSubset<P>> boundaries) Return true if the point is contained in any of the given boundaries.private voidAbstractRegionBSPTree.AbstractRegionNode.characterizeHyperplaneSubset(HyperplaneConvexSubset<P> sub, AbstractRegionBSPTree.AbstractRegionNode<P, N> node, List<? super HyperplaneConvexSubset<P>> in, List<? super HyperplaneConvexSubset<P>> out) Recursive method to characterize a hyperplane convex subset with respect to the region's boundaries.protected <C extends HyperplaneConvexSubset<P>>
Iterable<C> AbstractRegionBSPTree.createBoundaryIterable(Function<HyperplaneConvexSubset<P>, C> typeConverter) Internal method for creating the iterable instances used to iterate the region boundaries.protected <C extends HyperplaneConvexSubset<P>>
List<C> AbstractRegionBSPTree.createBoundaryList(Function<HyperplaneConvexSubset<P>, C> typeConverter) Internal method for creating a list of the region boundaries.private doubleRegionCutBoundary.getTotalSize(List<? extends HyperplaneConvexSubset<P>> boundaries) Get the total size of all boundaries in the given list.voidAbstractRegionBSPTree.insert(Iterable<? extends HyperplaneConvexSubset<P>> convexSubs) Insert a set of hyperplane convex subsets into the tree, using the defaultRegionCutRuleofMINUS_INSIDE.voidAbstractRegionBSPTree.insert(Iterable<? extends HyperplaneConvexSubset<P>> convexSubs, RegionCutRule cutRule) Insert a set of hyperplane convex subsets into the tree.voidAbstractRegionBSPTree.insert(BoundarySource<? extends HyperplaneConvexSubset<P>> boundarySrc) Insert all hyperplane convex subsets from the given source into the tree, using the defaultRegionCutRuleofMINUS_INSIDE.voidAbstractRegionBSPTree.insert(BoundarySource<? extends HyperplaneConvexSubset<P>> boundarySrc, RegionCutRule cutRule) Insert all hyperplane convex subsets from the given source into the tree.private voidAbstractPartitionedRegionBuilder.insertBoundaryRecursive(N node, HyperplaneConvexSubset<P> insert, HyperplaneConvexSubset<P> trimmed, BiConsumer<N, HyperplaneConvexSubset<P>> leafFn) Insert a region boundary into the tree.private voidAbstractPartitionedRegionBuilder.insertBoundaryRecursiveInternalNode(N node, HyperplaneConvexSubset<P> insert, HyperplaneConvexSubset<P> trimmed, BiConsumer<N, HyperplaneConvexSubset<P>> leafFn) Recursive boundary insertion method for internal nodes.Constructor parameters in org.apache.commons.geometry.core.partitioning.bsp with type arguments of type HyperplaneConvexSubsetModifierConstructorDescription(package private)RegionBoundaryIterator(Iterator<N> inputIterator, Function<? super HyperplaneConvexSubset<P>, C> typeConverter) Simple constructor.(package private)RegionCutBoundary(List<HyperplaneConvexSubset<P>> insideFacing, List<HyperplaneConvexSubset<P>> outsideFacing) Construct a new instance from the inside-facing and outside-facing portions of a node cut. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.euclidean.oned
Classes in org.apache.commons.geometry.euclidean.oned that implement HyperplaneConvexSubsetModifier and TypeClassDescriptionprivate static classHyperplaneConvexSubsetimplementation for Euclidean 1D space.Methods in org.apache.commons.geometry.euclidean.oned that return HyperplaneConvexSubsetModifier and TypeMethodDescriptionOrientedPoint.span()Return aHyperplaneConvexSubsetspanning this entire hyperplane. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.euclidean.threed
Subinterfaces of HyperplaneConvexSubset in org.apache.commons.geometry.euclidean.threedModifier and TypeInterfaceDescriptioninterfaceInterface representing a closed, finite convex polygon in Euclidean 3D space.interfaceInterface representing a finite or infinite convex subset of points in a plane in Euclidean 3D space.interfaceInterface representing a triangle in Euclidean 3D space.Classes in org.apache.commons.geometry.euclidean.threed that implement HyperplaneConvexSubsetModifier and TypeClassDescription(package private) classAbstract base class forConvexPolygon3Dimplementations.(package private) final classInternal implementation ofPlaneConvexSubsetthat uses an embeddedConvexAreato represent the subspace region.(package private) final classSimple implementation ofTriangle3D.(package private) final classInternalConvexPolygon3Dimplementation class that uses a list of vertices to represent the plane subset.Methods in org.apache.commons.geometry.euclidean.threed with parameters of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionConvexVolume.trim(HyperplaneConvexSubset<Vector3D> convexSubset) Trim the given hyperplane subset to the portion contained inside this instance. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.euclidean.twod
Classes in org.apache.commons.geometry.euclidean.twod that implement HyperplaneConvexSubsetModifier and TypeClassDescriptionclassClass representing a convex subset of a line in 2D Euclidean space.(package private) final classClass representing the span of a line in 2D Euclidean space.final classClass representing a ray in 2D Euclidean space.final classClass representing a portion of a line in 2D Euclidean space that starts at infinity and continues in the direction of the line up to a single end point.final classClass representing a line segment in 2D Euclidean space.Methods in org.apache.commons.geometry.euclidean.twod with parameters of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionConvexArea.trim(HyperplaneConvexSubset<Vector2D> convexSubset) Trim the given hyperplane subset to the portion contained inside this instance. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.io.core
Classes in org.apache.commons.geometry.io.core with type parameters of type HyperplaneConvexSubsetModifier and TypeClassDescriptionclassBoundaryIOManager<H extends HyperplaneConvexSubset<?>,B extends BoundarySource<H>, R extends BoundaryReadHandler<H, B>, W extends BoundaryWriteHandler<H, B>> Class managing IO operations for geometric data formats containing region boundaries.interfaceBoundaryReadHandler<H extends HyperplaneConvexSubset<?>,B extends BoundarySource<H>> Basic interface for reading geometric boundary representations (B-reps) from a specific data storage format.interfaceBoundaryWriteHandler<H extends HyperplaneConvexSubset<?>,B extends BoundarySource<H>> Basic interface for writing geometric boundary representations (B-reps) in a specific data storage format. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.spherical.oned
Classes in org.apache.commons.geometry.spherical.oned that implement HyperplaneConvexSubsetModifier and TypeClassDescriptionprivate static final classHyperplaneConvexSubsetimplementation for spherical 1D space.Methods in org.apache.commons.geometry.spherical.oned that return HyperplaneConvexSubsetModifier and TypeMethodDescriptionCutAngle.span()Return aHyperplaneConvexSubsetspanning this entire hyperplane. -
Uses of HyperplaneConvexSubset in org.apache.commons.geometry.spherical.twod
Classes in org.apache.commons.geometry.spherical.twod that implement HyperplaneConvexSubsetModifier and TypeClassDescriptionfinal classClass representing a single, convex angular interval in aGreatCircle.Methods in org.apache.commons.geometry.spherical.twod with parameters of type HyperplaneConvexSubsetModifier and TypeMethodDescriptionConvexArea2S.trim(HyperplaneConvexSubset<Point2S> sub) Trim the given hyperplane subset to the portion contained inside this instance.