Click or drag to resize
Accord.NET (logo)

SimpleShapeCheckerAngleError Property

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

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

Property Value

Type: Single
Remarks

The value sets maximum allowed difference between two angles to treat them as equal. It is used by CheckPolygonSubType(ListIntPoint) 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