Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Features » PathLength

PathLength


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes the total length of the input path.

Syntax

C++
C#
 
void avl::PathLength
(
	const avl::Path& inPath,
	float& outLength
)

Parameters

Name Type Default Description
Input value inPath const Path& Input path
Output value outLength float&

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

  • PathSize – Returns the number of characteristic points on the input path.