MATH.ProjectPointOnPlane (FUN)

 

(CAA_Mathematics.library)

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

Input:

pplane

POINTER TO MATH.PLANE_H

pointer on plane description

pvOrig

POINTER TO MATH.Vector3D

pointer on point

math_image135.png to be projected

pvProj

POINTER TO MATH.Vector3D

pointer on projection of math_image024.png onto plane