Initializes a new instance of the LineStraighteningOptimizer class.

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

Syntax

C#
public LineStraighteningOptimizer(
	float maxDistanceToRemove
)

Parameters

maxDistanceToRemove
Type: System..::.Single
Maximum allowed distance between removed points and optimized shape (see MaxDistanceToRemove).

See Also