Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » ProjectPointOnLine3D

ProjectPointOnLine3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Projects a point 3D onto a line in 3D.
Syntax
C++
C#
void fil::ProjectPointOnLine3D ( const fil::Point3D& inPoint3D, const fil::Line3D& inLine3D, fil::Point3D& outPointOnLine3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoint3D | const Point3D& | ||
![]() |
inLine3D | const Line3D& | ||
![]() |
outPointOnLine3D | Point3D& | Point projected on a line orthogonally |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in ProjectPointOnLine3D. |