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 | |
|---|---|---|---|---|---|
![]()  | inPath | Avl.Path | Input path, possibly noised. | ||
![]()  | inMaxTurnAngle | float | <0.0f, 180.0f> | 30.0f | Maximum angle between two consecutive segments in the output path. Default value: 30.0f. | 
![]()  | outPath | Avl.Path | Output path. | 


