You are here: Start » AVL.NET » Invoke.PathTurnAngleMaximum

Invoke.PathTurnAngleMaximum

Finds the maximum of the profile of turn angles of a path.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PathTurnAngleMaximum
(
	Avl.Path inPath,
	Avl.TurnAngleDirection inAllowedTurnDirection,
	Avl.TurnAnglePrecision inResultPrecision,
	out float outMaximumTurnAngleIndex,
	out Avl.Point2D outMaximumTurnAnglePoint,
	out float outMaximumTurnAngleAngle
)

Parameters

Name Type Range Default Description
inPathAvl.PathInput path.
inAllowedTurnDirectionAvl.TurnAngleDirectionAllAllows to detect only left-turns, only right-turns or both. Default value: All.
inResultPrecisionAvl.TurnAnglePrecisionSwitches between pixel-precise or subpixel-precise detection of the found maximum.
outMaximumTurnAngleIndexfloatIndex of found maximum.
outMaximumTurnAnglePointAvl.Point2DFound point of a path with maximum turn angle.
outMaximumTurnAngleAnglefloatMaximal turn angle of the input path.

See also