projectPointOntoPlane

fun projectPointOntoPlane(plane: Plane, point: Cartesian3, result: Cartesian3? = definedExternally): Cartesian3(source)

Projects a point onto the plane.

Return

The modified result parameter or a new Cartesian3 instance if one was not provided.

Parameters

plane

The plane to project the point onto

point

The point to project onto the plane

result

The result point. If undefined, a new Cartesian3 will be created.

See also