You are here: Start » AVL.NET » Function Reference » Path » Path Global Transforms » AVL.FindLongestSubpath

AVL.FindLongestSubpath

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

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

See also