Start » Filter Reference » Path » Path Features » PathTurnAngleMaximum

PathTurnAngleMaximum


Module: FoundationPro

Finds the maximum of the profile of turn angles of a path.

Name Type Description
Input value
inPath Path Input path
Input value
inAllowedTurnDirection TurnAngleDirection Allows to detect only left-turns, only right-turns or both
Input value
inResultPrecision TurnAnglePrecision Switches between pixel-precise or subpixel-precise detection of the found maximum
Output value
outMaximumTurnAngleIndex Real Index of found maximum
Output value
outMaximumTurnAnglePoint Point2D Found point of a path with maximum turn angle
Output value
outMaximumTurnAngleAngle Real Maximal turn angle of the input path

Description

The operation computes the profile of turn angles of a path and finds the maximum of the profile. The inAllowedTurnDirection parameter restricts kind of turns taken into consideration (left-turns only, right-turns only or both), while inResultPrecision determines the precision of the resulting maximum point.

Examples

PathTurnAngleMaximum run on the sample path with inAllowedTurnDirection = Right

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Path with no turn angle on input in PathTurnAngleMaximum.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of PathTurnAngleMaximum filter group.

See Also