You are here: Start » FIL.NET » Invoke.PathTurnAngleMaximum
Finds the maximum of the profile of turn angles of a path.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void PathTurnAngleMaximum ( Fil.Path inPath, Fil.TurnAngleDirection inAllowedTurnDirection, Fil.TurnAnglePrecision inResultPrecision, out float outMaximumTurnAngleIndex, out Fil.Point2D outMaximumTurnAnglePoint, out float outMaximumTurnAngleAngle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | Fil.Path | Input path. | ||
![]() | inAllowedTurnDirection | Fil.TurnAngleDirection | All | Allows to detect only left-turns, only right-turns or both. Default value: All. | |
![]() | inResultPrecision | Fil.TurnAnglePrecision | Switches between pixel-precise or subpixel-precise detection of the found maximum. | ||
![]() | outMaximumTurnAngleIndex | float | Index of found maximum. | ||
![]() | outMaximumTurnAnglePoint | Fil.Point2D | Found point of a path with maximum turn angle. | ||
![]() | outMaximumTurnAngleAngle | float | Maximal turn angle of the input path. |