deflate

Deflates this bounding box by the given x, y, and z amounts and returns the result.

Return

the resulting box

Parameters

x

the X amount to deflate by

y

the Y amount to deflate by

z

the Z amount to deflate by


fun deflate(factor: Double): BoundingBox

Deflates this bounding box by the given factor and returns the result.

Return

the resulting box

Parameters

factor

the factor to deflate by