ProjectPointOnLine (FUN)ΒΆ
FUNCTION ProjectPointOnLine : BOOL
This function will project the point \(x \in \mathbb{R^{3}}\) 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 \(x\). The intersection point of the plane with the line corresponding to this location is the projected point.