expand Up To
Expand the bounding box up-to the other bounding box limits
Return
this or the new cloned modified bounding box (see clone)
Parameters
other
the bounding box to be expanded up to it
clone
if true, the return value is a new modified Bounding, else the operation is performed on this and this is returned
fun expandUpTo(minX: Float, minY: Float, maxX: Float, maxY: Float, clone: Boolean = false): BoundingBox
Expand the bounding box up-to the given parameters bounding box limits
Return
this or the new cloned modified bounding box (see clone)
Parameters
min X
the top left x coordinate
min Y
the top left y coordinate
max X
the bottom right x coordinate
max Y
the bottom right y coordinate
clone
if true, the return value is a new modified Bounding, else the operation is performed on this and this is returned