fromEllipsoid

fun fromEllipsoid(ellipsoid: Ellipsoid, result: BoundingSphere? = definedExternally): BoundingSphere(source)

Creates a bounding sphere encompassing an ellipsoid.

const boundingSphere = BoundingSphere.fromEllipsoid(ellipsoid);

Return

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

Parameters

ellipsoid

The ellipsoid around which to create a bounding sphere.

result

The object onto which to store the result.

See also