Back to Aurora Vision Library Lite website
You are here: Start » Path » Path Features » PathLength
![](../../img/icon/PathLength.png)
PathLength
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes the total length of the input path.
Syntax
void avl::PathLength ( const avl::Path& inPath, float& outLength )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPath | const Path& | Input path | |
![]() |
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.