You are here: Start » AVL.NET » Invoke.FindLongestSubpath

Invoke.FindLongestSubpath

Creates a new path from the longest sequence of segments of the input path that turn gently.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FindLongestSubpath
(
	Avl.Path inPath,
	float inMaxTurnAngle,
	Avl.Path outPath
)

Parameters

Name Type Range Default Description
inPathAvl.PathInput path, possibly noised.
inMaxTurnAnglefloat<0.0f, 180.0f>30.0fMaximum angle between two consecutive segments in the output path. Default value: 30.0f.
outPathAvl.PathOutput path.

See also