Back to FabImage Library Lite websiteYou are here:
Start »
Path »
Path Basics »
AppendPointToPath
Header: |
FIL.h
|
Namespace: |
fil |
Appends a point to a path.
Syntax
void fil::AppendPointToPath
(
fil::Path& ioPath,
const fil::Point2D& inPoint
)
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
List of possible exceptions:
Error type |
Description |
DomainError |
Closed path on input in AppendPointToPath. |
See Also