Function enclosingBoundingBoxes

  • Parameters

    • outer: Box

      an n-dimensional bounding box

    • inner: Box

      an n-dimensional bounding box

    • Optional epsilon: number = EPSILON

      an optional epsilon to pad the area around the outer bounding box; a negative number will make the boundary exclusive.

    Returns boolean

    is the "inner" polygon completely inside the "outer"

    Description

    does one bounding box (outer) completely enclose another bounding box (inner)?