Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Basics » Subpath
Subpath
Computes an open path that consists of contiguous subsequence of another path points.
Header: | AVL.h |
---|
Syntax
C++
C#
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
Error type | Description |
---|---|
DomainError | Incorrect index range on input in Subpath. |