Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Basics » AppendPointToPath
AppendPointToPath
Appends a point to a path.
Syntax
C++
C#
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
| ioPath | Path& | |||
![]() |
inPoint | const Point2D& | Input point |
Description
The operation extends an open path by adding a single point at its end (the point becomes new end point of a path).
When a closed path is passed to the filter, an error with appropriate description occurs.
Examples
![]() |
![]() |
![]() |
AppendPointToPath run on sample path and point.
Errors
| Error type | Description |
|---|---|
| DomainError | Closed path on input in AppendPointToPath |




