CogPlaneRange Update Method Cognex VisionPro 9.7
Sets Nominal, Tolerance and Softness values.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax

public void Update(
	double nominalVal,
	double lowTolVal,
	double highTolVal,
	double softnessVal
)

Parameters

nominalVal
Type: System Double
The new nominal value for the range.
lowTolVal
Type: System Double
The new low end tolerance value for the range.
highTolVal
Type: System Double
The new high end tolerance value for the range.
softnessVal
Type: System Double
The new softness value for the range.
Events

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf softnessVal is less than 0.
Remarks

If the plane is not hue plane, the range defined should be inside [0, 255]; If the plane is hue plane, the range defined can be in [-256, 255] or [0, 511] because of hue value wrapping.
See Also