fromTransformation

fun fromTransformation(transformation: Matrix4, result: OrientedBoundingBox? = definedExternally): OrientedBoundingBox(source)

Computes an OrientedBoundingBox that bounds an affine transformation.

Return

The modified result parameter or a new OrientedBoundingBox instance if none was provided.

Parameters

transformation

The affine transformation.

result

The object onto which to store the result.

See also