fromBoundingSphere

fun fromBoundingSphere(boundingSphere: BoundingSphere, ellipsoid: Ellipsoid? = definedExternally, result: Rectangle? = definedExternally): Rectangle(source)

Create a rectangle from a bounding sphere, ignoring height.

Return

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

Parameters

boundingSphere

The bounding sphere.

ellipsoid

The ellipsoid. Default value - Ellipsoid.default

result

The object onto which to store the result, or undefined if a new instance should be created.

See also