projectTo2D

fun projectTo2D(sphere: BoundingSphere, projection: Any? = definedExternally, result: BoundingSphere? = definedExternally): BoundingSphere(source)

Creates a bounding sphere in 2D from a bounding sphere in 3D world coordinates.

Return

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

Parameters

sphere

The bounding sphere to transform to 2D.

projection

The projection to 2D. Default value - GeographicProjection

result

The object onto which to store the result.

See also