Package org.anchoranalysis.spatial.box
Class BoundingBoxUnion
Object
org.anchoranalysis.spatial.box.BoundingBoxUnion
public class BoundingBoxUnion extends Object
Performs union of a bounding-box with other entities
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description BoundingBoxUnion(BoundingBox box) -
Method Summary
Modifier and Type Method Description BoundingBoxwith(BoundingBox other)Performs a union with another box (immutably).
-
Constructor Details
-
Method Details
-
with
Performs a union with another box (immutably).- Parameters:
other- the other bounding box.- Returns:
- a new bounding-box that is union of both bounding boxes.
-