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

Invoke.PathTurnAngleMaximum_OrNil

Finds the maximum of the profile of turn angles of a path; returns NIL if the path has no turn angles.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void PathTurnAngleMaximum_OrNil
(
	Avl.Path inPath,
	Avl.TurnAngleDirection inAllowedTurnDirection,
	Avl.TurnAnglePrecision inResultPrecision,
	Conditional<float> outMaximumTurnAngleIndex,
	Conditional<Avl.Point2D> outMaximumTurnAnglePoint,
	Conditional<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.
outMaximumTurnAngleIndexAtl.Conditional<float>Index of found maximum.
outMaximumTurnAnglePointAtl.Conditional<Avl.Point2D>Found point of a path with maximum turn angle.
outMaximumTurnAngleAngleAtl.Conditional<float>Maximal turn angle of the input path.

See also