Back to Adaptive Vision Library website

You are here: Start » Function Reference » Path » Path Basics » Subpath

Subpath


Header: AVL.h
Namespace: avl
Module: FoundationLite

Creates an open path from a continuous subsequence of the input path's points.

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

List of possible exceptions:

Error type Description
DomainError Incorrect index range on input in Subpath.