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.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 69.0.0.0
Syntax
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
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxSearchParams object has already been disposed. |
| ArgumentOutOfRangeException | If you attempt to set Shear Overlap to a negative value. |
See Also