You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inPath | Avl.Path | Input path. | ||
![]() | inAllowedTurnDirection | Avl.TurnAngleDirection | All | Allows to detect only left-turns, only right-turns or both. Default value: All. | |
![]() | inResultPrecision | Avl.TurnAnglePrecision | Switches between pixel-precise or subpixel-precise detection of the found maximum. | ||
![]() | outMaximumTurnAngleIndex | Atl.Conditional<float> | Index of found maximum. | ||
![]() | outMaximumTurnAnglePoint | Atl.Conditional<Avl.Point2D> | Found point of a path with maximum turn angle. | ||
![]() | outMaximumTurnAngleAngle | Atl.Conditional<float> | Maximal turn angle of the input path. |