You are here: Start » AVL.NET » AVL.ReducePath(AvlNet.Path, float, AvlNet.Path)

AVL.ReducePath(AvlNet.Path, float, AvlNet.Path)

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,
	out AvlNet.Path outPath
)

Parameters

inPath
Type: AvlNet.Path
Input path
inMaxDistance
Type: System.Single
Maximum distance between (possibly removed in the process) characteristic point of the input path and the output path.
outPath
Type: AvlNet.Path
Reduced path

See also