Back to Aurora Vision Library Lite website
You are here: Start » Path » Path Basics » Subpath
Subpath
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
Creates an open path from a continuous subsequence of the input path's points.
Syntax
void avl::Subpath ( const avl::Path& inPath, const int inStart, const int inPointCount, avl::Path& outPath )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPath | const Path& | Input path | ||
![]() |
inStart | const int | 0 - ![]() |
Index of the first point of the subpath | |
![]() |
inPointCount | const int | 0 - ![]() |
1 | Number of points in the subpath |
![]() |
outPath | Path& | The resulting subpath |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Incorrect index range on input in Subpath. |



