Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Features » PathEndpoints
PathEndpoints
Returns the two endpoints of a path.
Syntax
C++
C#
void avl::PathEndpoints ( const avl::Path& inPath, avl::Point2D& outFirstPoint, avl::Point2D& outLastPoint )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPath | const Path& | Input path | |
![]() |
outFirstPoint | Point2D& | ||
![]() |
outLastPoint | Point2D& |
Errors
| Error type | Description |
|---|---|
| DomainError | Empty path on input in PathEndpoints. |


