ProjectPointOnPlane (FUN)ΒΆ

FUNCTION ProjectPointOnPlane : LREAL

This function will project a point \(x \in \mathbb{R^{3}}\) onto a plane in direction of the normal vector. The return is the distance of the point \(x\) 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 \(x \in \mathbb{R^{3}}\) to be projected

pvProj

POINTER TO VECTOR3D

Pointer on projection of \(x\) onto plane