MATH.ProjectPointOnPlane (FUN)

(CAA_Mathematics.library)

This function will project a point onto a plane in direction of the normal vector. The return of type LREAL is the distance of the point to the plane.

Input:

pplane

POINTER TO MATH.PLANE_H

pointer on plane description

pvOrig

POINTER TO MATH.Vector3D

pointer on point to be projected  

pvProj

POINTER TO MATH.Vector3D

pointer on projection of onto plane