Class BoundingBoxUnion

Object
BoundingBoxUnion

public class BoundingBoxUnion extends Object
Performs union of a bounding-box with other entities
Author:
Owen Feehan
  • Constructor Details

    • BoundingBoxUnion

      public BoundingBoxUnion(BoundingBox box)
  • Method Details

    • with

      public BoundingBox with(BoundingBox other)
      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.