Maximum allowed difference in sides' length (relative to shapes' size), [0, 1].

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

Syntax

C#
public float LengthError { get; set; }

Remarks

The values sets maximum allowed difference between two sides' length to treat them as equal. The error value is set relative to shapes size and measured in [0, 1] range, which corresponds to [0%, 100%] range. Absolute length error in pixels is calculated as:

Copy 
LengthError * ( width + height ) / 2
, where width and height is the size of bounding rectangle for the specified shape.

Default value is set to 0.1 (10%).

See Also