CogOCVMaxSearchParams SetDOFRotation Method Cognex VisionPro 9.7
Set a particular attribute (LowerLimit, Nominal, UpperLimit, or Overlap) of the Rotation degree of freedom (DOF). Use the selector argument to specify which attribute. The units of all Rotation attributes are radians.

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

public void SetDOFRotation(
	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 Rotation Overlap to a negative value.
See Also