Class AbstractConvexHyperplaneBoundedRegion.ConvexRegionBoundaryBuilder<P extends Point<P>, S extends HyperplaneConvexSubset<P>>
java.lang.Object
org.apache.commons.geometry.core.partitioning.AbstractConvexHyperplaneBoundedRegion.ConvexRegionBoundaryBuilder<P,S>
- Type Parameters:
P- Point implementation typeS- Hyperplane convex subset implementation type
- Enclosing class:
AbstractConvexHyperplaneBoundedRegion<P extends Point<P>, S extends HyperplaneConvexSubset<P>>
protected static class AbstractConvexHyperplaneBoundedRegion.ConvexRegionBoundaryBuilder<P extends Point<P>, S extends HyperplaneConvexSubset<P>>
extends Object
Internal class encapsulating the logic for building convex region boundaries from collections of hyperplanes.
-
Constructor Summary
ConstructorsConstructorDescriptionConvexRegionBoundaryBuilder(Class<S> subsetType) Construct a new instance for building convex region boundaries with the given hyperplane convex subset implementation type. -
Method Summary
-
Constructor Details
-
ConvexRegionBoundaryBuilder
Construct a new instance for building convex region boundaries with the given hyperplane convex subset implementation type.- Parameters:
subsetType- Hyperplane convex subset implementation type
-
-
Method Details
-
build
Compute a list of hyperplane convex subsets representing the boundaries of the convex region bounded by the given collection of hyperplanes.- Parameters:
bounds- hyperplanes defining the convex region- Returns:
- a list of hyperplane convex subsets representing the boundaries of the convex region
- Throws:
IllegalArgumentException- if the given hyperplanes do not form a convex region
-