Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » ProjectPointOnLine3D

ProjectPointOnLine3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Projects a point 3D onto a line in 3D.

Syntax

C++
C#
 
void avl::ProjectPointOnLine3D
(
	const avl::Point3D& inPoint3D,
	const avl::Line3D& inLine3D,
	avl::Point3D& outPointOnLine3D
)

Parameters

Name Type Default Description
Input value inPoint3D const Point3D&
Input value inLine3D const Line3D&
Output value outPointOnLine3D Point3D& Point projected on a line orthogonally

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in ProjectPointOnLine3D.