Class BoundarySourceBoundsBuilder3D
- java.lang.Object
-
- org.apache.commons.geometry.euclidean.threed.BoundarySourceBoundsBuilder3D
-
final class BoundarySourceBoundsBuilder3D extends java.lang.Object
Class used to constructBounds3D
instances representing the min and max points present in aBoundarySource3D
. The implementation examines the vertices of each boundary in turn. Null is returned if any boundaries are infinite or no vertices are present.
-
-
Constructor Summary
Constructors Constructor Description BoundarySourceBoundsBuilder3D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bounds3D
getBounds(BoundarySource3D src)
Get aBounds3D
instance containing all vertices in the given boundary source.
-
-
-
Method Detail
-
getBounds
public Bounds3D getBounds(BoundarySource3D src)
Get aBounds3D
instance containing all vertices in the given boundary source. Null is returned if any encountered boundaries were not finite or no vertices were found.- Parameters:
src
- the boundary source to compute the bounds of- Returns:
- the bounds of the argument or null if no valid bounds could be determined
-
-