You are here: Start » AVL.NET » Function Reference » Path » Path Features » AVL.PathLength

AVL.PathLength

Computes the total length of the input path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathLength
(
	AvlNet.Path inPath,
	out float outLength
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outLengthfloat

Description

The operation computes the length of the path defined as the sum of the length of the segments it consists of.

Examples

Length of the sample path equals to 633.999.

Length of the sample path equals to 152.002.

See also