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

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
inPathFil.PathInput path.
inAllowedTurnDirectionFil.TurnAngleDirectionAllAllows to detect only left-turns, only right-turns or both. Default value: All.
inResultPrecisionFil.TurnAnglePrecisionSwitches between pixel-precise or subpixel-precise detection of the found maximum.
outMaximumTurnAngleIndexfloatIndex of found maximum.
outMaximumTurnAnglePointFil.Point2DFound point of a path with maximum turn angle.
outMaximumTurnAngleAnglefloatMaximal turn angle of the input path.

See also