Class AbstractRegionBSPTree.RegionSizeProperties<P extends Point<P>>
java.lang.Object
org.apache.commons.geometry.core.partitioning.bsp.AbstractRegionBSPTree.RegionSizeProperties<P>
- Type Parameters:
P- Point implementation type
- Enclosing class:
AbstractRegionBSPTree<P extends Point<P>, N extends AbstractRegionBSPTree.AbstractRegionNode<P,N>>
protected static class AbstractRegionBSPTree.RegionSizeProperties<P extends Point<P>>
extends Object
Class containing the primary size-related properties of a region. These properties
are typically computed at the same time, so this class serves to encapsulate the result
of the combined computation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the centroid of the region.doublegetSize()Get the size of the region.
-
Constructor Details
-
RegionSizeProperties
Simple constructor.- Parameters:
size- the region sizecentroid- the region centroid
-
-
Method Details
-
getSize
-
getCentroid
-