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