projectPointsToNearestOnPlane
fun projectPointsToNearestOnPlane( cartesians: <Error class: unknown class><Cartesian3>, result: <Error class: unknown class><Cartesian2>? = definedExternally): <Error class: unknown class><Cartesian2>(source)
Computes the projection of the provided 3D positions onto the 2D plane, along the plane normal.
Return
The modified result parameter or a new array of Cartesian2 instances if none was provided. This will have the same length as cartesians
.
Parameters
cartesians
The array of points to project.
result
The array of Cartesian2 instances onto which to store results.