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

AVL.PathTurnAngleProfile Method

Computes the profile of turn angles at characteristic points of a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathTurnAngleProfile(
	AvlNet.Path inPath,
	out AvlNet.Profile outTurnAngleProfile
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outTurnAngleProfileAvlNet.Profile

Description

The operation iterates over the characteristic points of the inPath and computes the absolute value of path turn angle at each one. The resulting outTurnAngleProfile profile consists of the angles computed at consecutive points of the path.

Examples

PathTurnAngleProfile run on the sample path

Errors

Error type Description
DomainError Input path contains a pair of equal consecutive points in PathTurnAngleProfile.

See also