You are here: Start » AVL.NET » AVL.Subpath Method

AVL.Subpath Method

Computes an open path that consists of contiguous subsequence of another path points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void Subpath(
	AvlNet.Path inPath,
	int inStart,
	int inPointCount,
	out 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

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

See also