You are here: Start » AVL.NET » AVS.FindLongestSubpath Method
AVS.FindLongestSubpath Method
Creates a new path from the longest sequence of segments of the input path that turn gently.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FindLongestSubpath ( AvlNet.Path inPath, float inMaxTurnAngle, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.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 | AvlNet.Path | Output path. |