You are here: Start » AVL.NET » Invoke.ReducePath
Reduces the number of points in a path preserving its shape with the specified precision.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ReducePath ( Avl.Path inPath, float inMaxDistance, Avl.Path outPath, Diagnostic<List<Avl.Path>> diagIntermediatePaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | Avl.Path | Input path. | ||
![]() | inMaxDistance | float | <0.0f, INF> | 0.5f | Maximum distance between (possibly removed in the process) characteristic point of the input path and the output path. Default value: 0.5f. |
![]() | outPath | Avl.Path | Reduced path. | ||
![]() | diagIntermediatePaths | Avl.Diagnostic<System.Collections.Generic.List<Avl.Path>> | Intermediate results on all levels of recursion of the Ramer algorithm. |