Optimize specified shape.

Namespace:  AForge.Math.Geometry
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public List<IntPoint> OptimizeShape(
	List<IntPoint> shape
)

Parameters

shape
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
Shape to be optimized.

Return Value

Returns final optimized shape, which may have reduced amount of points.

Implements

IShapeOptimizer..::.OptimizeShape(List<(Of <(IntPoint>)>))

See Also