geodeticSurfaceNormal

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

Computes the normal of the plane tangent to the surface of the ellipsoid at the provided position.

Return

The modified result parameter or a new Cartesian3 instance if none was provided, or undefined if a normal cannot be found.

Parameters

cartesian

The Cartesian position for which to to determine the surface normal.

result

The object onto which to store the result.

See also