You are here: Start » AVL.NET » Function Reference » Path » Path Basics » AVL.Subpath

AVL.Subpath

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void Subpath
(
	AvlNet.Path inPath,
	int inStart,
	int inPointCount,
	AvlNet.Path outPath
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
inStartint<0, INF>Index of the first point of the subpath.
inPointCountint<0, INF>1Number of points in the subpath. Default value: 1.
outPathAvlNet.PathThe resulting subpath.

Errors

List of possible exceptions:

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

See also