CogFindLine NumToIgnore Property Cognex VisionPro
The number of points that will be ignored in the fitting operation. If DecrementNumToIgnore is true then the number of points ignored is actually (NumToIgnore - Number of calipers that found no edge).

Namespace: Cognex.VisionPro.Caliper
Assembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 65.1.0.0
Syntax

public int NumToIgnore { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogFindLine Changed

Fires when the value of this property changes.

The following state flag may be affected:

CogFindLine Changed

Fires when both this property and NumCalipers change.

The following state flags may be affected:

Exceptions

ExceptionCondition
ArgumentException

A value of less than 0 was supplied.

Remarks

The number of points that will be ignored in the fitting operation. If DecrementNumToIgnore is true then the number of points ignored is reduced by the number of calipers which failed to detect an edge.

If the value of this property is changed such that the number of calipers minus the number of points to ignore is less than 2, NumCalipers will be changed so that the difference is 2 and the change event will indicate that both properties have changed.

Default Value: 0

See Also