projectPointToNearestOnPlane

fun projectPointToNearestOnPlane(cartesian: Cartesian3, result: Cartesian2? = definedExternally): Cartesian2(source)

Computes the projection of the provided 3D position onto the 2D plane, along the plane normal.

Return

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

Parameters

cartesian

The point to project.

result

The object onto which to store the result.

See also