You are here: Start » AVL.NET » AVL.PathTurnAngleLocalMaxima(AvlNet.Path, AvlNet.TurnAngleDirection, AvlNet.TurnAnglePrecision, float, float, float, float[], AvlNet.Point2D[], float[])

AVL.PathTurnAngleLocalMaxima(AvlNet.Path, AvlNet.TurnAngleDirection, AvlNet.TurnAnglePrecision, float, float, float, float[], AvlNet.Point2D[], float[])

Finds the local maxima of the profile of turn angles of a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PathTurnAngleLocalMaxima(
	AvlNet.Path inPath,
	AvlNet.TurnAngleDirection inAllowedTurnDirection,
	AvlNet.TurnAnglePrecision inResultPrecision,
	float inMinTurnAngle,
	float inMinDistance,
	float inSmoothingStdDev,
	out float[] outTurnAngleMaximaIndices,
	out AvlNet.Point2D[] outTurnAngleMaximaPoints,
	out float[] outTurnAngleMaximaAngles
)

Parameters

inPath
Type: AvlNet.Path
Input path
inAllowedTurnDirection
Type: AvlNet.TurnAngleDirection
Allows to detect only left-turns, only right-turns or both
inResultPrecision
Type: AvlNet.TurnAnglePrecision
Switches between pixel-precise or subpixel-precise detection of the found maxima
inMinTurnAngle
Type: System.Single
Minimal value of a relevant angle
inMinDistance
Type: System.Single
Minimal distance on the path between two local maxima assuming each path segment has unit length
inSmoothingStdDev
Type: System.Single
Standard deviation of the gaussian smoothing applied to the input path
outTurnAngleMaximaIndices
Type: System.Single
Indices of found local maxima
outTurnAngleMaximaPoints
Type: AvlNet.Point2D
Found local maxima of turn angle profile of the smoothed input path
outTurnAngleMaximaAngles
Type: System.Single
Turn angles of found local maxima

See also