LineMaxOperatorBase Polarity Property Cognex VisionPro 9.25 SR1
Get

Gets the polarity constraint. Edge points must meet this constraint to become inliers.

Set

Sets the polarity constraint. Edge points must meet this constraint to become inliers.

Namespace: Cognex.Vision.LineMax.Implementation
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.25.1.0
Syntax

public abstract LineMaxPolarityConstants Polarity { get; set; }

Return Value

Type: LineMaxPolarityConstants

The polarity in the ExpectedLineNormal direction.

Exceptions

ExceptionCondition
ArgumentExceptionThe 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