ProjectPointOnPlane (FUN)

FUNCTION ProjectPointOnPlane : LREAL

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

InOut:

Scope

Name

Type

Comment

Return

ProjectPointOnPlane

LREAL

 

Input

pplane

POINTER TO Plane_H

Pointer on plane description

pvOrig

POINTER TO VECTOR3D

Pointer on point to be projected

pvProj

POINTER TO VECTOR3D

Pointer on projection of onto plane