Click or drag to resize
Accord.NET (logo)

SimpleShapeCheckerRelativeDistortionLimit Property

Maximum value of allowed shapes' distortion, [0, 1].

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

Property Value

Type: Single
Remarks

The property sets maximum value for allowed shapes' distortion. The value is measured in [0, 1] range, which corresponds to [0%, 100%] range, which means that maximum allowed shapes' distortion is calculated relatively to shape's size. This results to higher allowed distortion level for bigger shapes and smaller allowed distortion for smaller shapers. See documentation to SimpleShapeChecker class for more details about this property.

Default value is set to 0.03 (3%).

See Also