You are here: Start » FIL.NET » Invoke.ReducePath
Reduces the number of points in a path preserving its shape with the specified precision.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void ReducePath ( Fil.Path inPath, float inMaxDistance, Fil.Path outPath, Diagnostic<List<Fil.Path>> diagIntermediatePaths )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | Fil.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 | Fil.Path | Reduced path. | ||
![]() | diagIntermediatePaths | Fil.Diagnostic<System.Collections.Generic.List<Fil.Path>> | Intermediate results on all levels of recursion of the Ramer algorithm. |