CogOCVMaxSearchParams SetDOFShear Method Cognex VisionPro
Set a particular attribute (LowerLimit, Nominal, UpperLimit, or Overlap) 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: 65.1.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, ::UpperLimit, or ::Overlap.
dNewVal
Type: System Double
The new attribute value, in radians.
Events

Exceptions

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