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

AVL.PathAverageTurnAngle

Computes the average absolute turn angle of a path per unit of length.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathAverageTurnAngle
(
	AvlNet.Path inPath,
	out float outAverageTurnAngle
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outAverageTurnAnglefloat

Description

The operation measures acuteness of the path turn angles. It is computed as the sum of absolute values of path turn angles at path characteristic points divided by length of the path.

Examples

PathAverageTurnAngle of the sample path equals to 161.57.

PathAverageTurnAngle of the sample path equals to 81.16.

Errors

List of possible exceptions:

Error type Description
DomainError Input path contains not enough points in PathAverageTurnAngle.

See also