Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Constructions » ProjectPointsOnLine3D
ProjectPointsOnLine3D
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DLite |
Projects points onto a line.
Syntax
C++
C#
void avl::ProjectPointsOnLine3D ( const atl::Array<avl::Point3D>& inPoints, const avl::Line3D& inLine, atl::Array<avl::Point3D>& outProjectionPoints, atl::Optional<atl::Conditional<avl::Segment3D>&> outProjectionSegment = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoints | const Array<Point3D>& | |||
inLine | const Line3D& | |||
outProjectionPoints | Array<Point3D>& | |||
outProjectionSegment | Optional<Conditional<Segment3D>&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outProjectionSegment.
Read more about Optional Outputs.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line in inLine in ProjectPointsOnLine3D. |