Package org.anchoranalysis.spatial.box
Class BoundingBoxMerger
Object
BoundingBoxMerger
Merges one or more
BoundingBox together, to create a single BoundingBox that
spans them all.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic BoundingBoxmerge(Stream<BoundingBox> stream) Merges all the bounding boxes in a stream.
-
Method Details
-
merge
Merges all the bounding boxes in a stream.- Parameters:
stream- a stream whose bounding-boxes are to be merged.- Returns:
- a bounding-box just large enough to include all the bounding-boxes of the objects.
-