Back to Aurora Vision Library Lite websiteYou are here:
Start »
Path »
Path Basics »
AppendPointToPath
Header: |
AVL.h
|
Namespace: |
avl |
Appends a point to a path.
Syntax
void avl::AppendPointToPath
(
avl::Path& ioPath,
const avl::Point2D& inPoint
)
Parameters
|
Name |
Type |
Default |
Description |
![Input will be modified](../../img/io.png) |
ioPath |
Path& |
|
|
![Input value](../../img/in.png) |
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
List of possible exceptions:
Error type |
Description |
DomainError |
Closed path on input in AppendPointToPath. |
See Also