union

fun union(other: BoundingBox, clone: Boolean = false): BoundingBox

Union the bounding box with the given one

Return

this or the new cloned modified bounding box (see clone)

Parameters

other

a bounding box to union with

clone

if true, the return value is a new modified Bounding, else the operation is performed on this and this is returned