Class BoundingBoxFromPoints
Object
BoundingBoxFromPoints
Creates a bounding-box from one or more points.
- Author:
 - Owen Feehan
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic BoundingBoxfromStream(Stream<Point3i> points) Create from a stream ofPoint3is.static BoundingBoxfromTwoPoints(Point3d point1, Point3d point2) Creates a bounding-box for two unordered points. 
- 
Method Details
- 
fromStream
Create from a stream ofPoint3is.- Parameters:
 points- the collection.- Returns:
 - a bounding-box minimally spanning all points.
 - Throws:
 OperationFailedException- if there are zero points.
 - 
fromTwoPoints
Creates a bounding-box for two unordered points.By unordered, it means that no one point must have a value higher than another.
- Parameters:
 point1- first-point (arbitrary order).point2- second-point (arbitrary order).- Returns:
 - a bounding-box minimally spanning the two points.
 
 
 -