You are here: Start » AVL.NET » AVS.ReducePath Method

AVS.ReducePath Method

Reduces the number of points in a path preserving its shape with the specified precision.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ReducePath
(
	AvlNet.Path inPath,
	float inMaxDistance,
	AvlNet.Path outPath,
	IList<AvlNet.Path> diagIntermediatePaths
)

Parameters

Name Type Range Default Description
inPathAvlNet.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.
outPathAvlNet.PathReduced path.
diagIntermediatePathsSystem.Collections.Generic.IList<AvlNet.Path>Intermediate results on all levels of recursion of the Ramer algorithm.

Function Overrides

See also