Click or drag to resize
Accord.NET (logo)

LineStraighteningOptimizerMaxDistanceToRemove Property

Maximum allowed distance between removed points and optimized shape, [0, ∞).

Namespace:  Accord.Math.Geometry
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
public float MaxDistanceToRemove { get; set; }
Request Example View Source

Property Value

Type: Single

The property sets maximum allowed distance between points removed from original shape and optimized shape - none of the removed points are further away from the new shape than the specified limit.

Default value is set to 5.

See Also