Maximum allowed angle error in degrees, [0, 20].

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


public float AngleError { get; set; }


The value sets maximum allowed difference between two angles to treat them as equal. It is used by CheckPolygonSubType(List<(Of <(IntPoint>)>)) method to check for parallel lines and angles of triangles and quadrilaterals. For example, if angle between two lines equals 5 degrees and this properties value is set to 7, then two compared lines are treated as parallel.

Default value is set to 7.

See Also