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


