CogPMRedLineRunParams XYOverlap Property Cognex VisionPro 9.10
Gets or sets the area overlap threshold.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 79.0.0.0
Syntax

public double XYOverlap { get; set; }

Property Value

Type: Double
The area overlap threshold. Default value is 0.7.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than zero or greater than one.
Remarks

Two result candidates are said to overlap in area if the fraction of their area that overlaps is greater than the given XYOverlap threshold. The valid range of the threshold is from zero to one.

PMRedLine discards the weaker pattern instance when two pattern instances overlap for all degrees of freedom (DOF) as well as area. See the Overlap property of the angle DOF zone, and the Overlap property of the scale DOF zone for more information.

See Also