ProjectPointOnLine (FUN)

FUNCTION ProjectPointOnLine : BOOL

This function will project the point onto a straight line: thereby, the direction vector of the straight line is taken as normal vector of a plane that is moved along the line as long as it touches the point . The intersection point of the plane with the line corresponding to this location is the projected point.

InOut:

Scope

Name

Type

Comment

Return

ProjectPointOnLine

BOOL

 

Input

pline

POINTER TO LINE_3D

Pointer on straight line

pvOrig

POINTER TO Vector3D

Pointer on point to be projected

pvProj

POINTER TO Vector3D

Pointer to projected result