You are here: Start » FIL.NET » Invoke.ReducePath

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
inPathFil.PathInput path.
inMaxDistancefloat<0.0f, INF>0.5fMaximum distance between (possibly removed in the process) characteristic point of the input path and the output path. Default value: 0.5f.
outPathFil.PathReduced path.
diagIntermediatePathsFil.Diagnostic<System.Collections.Generic.List<Fil.Path>>Intermediate results on all levels of recursion of the Ramer algorithm.

See also