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
Input value inPath const Path& Input path
Input value inStart const int 0 - Index of the first point of the subpath
Input value inPointCount const int 0 - 1 Number of points in the subpath
Output value outPath Path& The resulting subpath

Errors

List of possible exceptions:

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