CogOCVMaxPattern SetDOFShear Method Cognex VisionPro 9.21
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the Shear degree of freedom (DOF). Use the selector argument to specify which attribute. The units of all Shear attributes are radians.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 83.0.0.0
Syntax

public void SetDOFShear(
	CogOCVMaxDOFAttributeConstants selector,
	double dNewVal
)

Parameters

selector
Type: Cognex.VisionPro.OCVMax CogOCVMaxDOFAttributeConstants
The desired attribute. May be one of: CogOCVMaxDOFAttributeConstants::LowerLimit, ::Nominal, or ::UpperLimit.
dNewVal
Type: System Double
The new attribute value, in radians.
Events

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf you attempt to set Shear Overlap to a negative value.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
See Also