Get
Gets the polarity constraint. Edge points must meet this constraint to become inliers.
Set
Namespace: Cognex.Vision.LineMax.ImplementationSets the polarity constraint. Edge points must meet this constraint to become inliers.
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.21.0.0
Syntax
Return Value
Type: LineMaxPolarityConstantsThe polarity in the ExpectedLineNormal direction.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is not a member of LineMaxPolarityConstants |
Remarks
Changed Fires when this property changes. The following state flag may be affected:
Remarks
In the case of Either polarity, the constraint requires that the edge point have the same polarity as the candidate line.
See Also