Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Basics » OpenPath
![](../../img/icon/OpenPath.png)
OpenPath
Header: | AVL.h |
---|---|
Namespace: | avl |
Removes the segment connecting last point to the first one from a path.
Syntax
C++
C#
void avl::OpenPath
(
avl::Path& ioPath
)
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioPath | Path& |
Description
The operation reduces a closed path by removing a segment between its first point and the last one, therefore producing an open path.
If an open path is passed, the filter passes it onto output without any interference.
Examples
![]() |
![]() |
OpenPath run on a sample path.
See Also
- ClosePath – Adds the segment connecting last point to the first one to a path.