Returns/sets the rotation of this transform (in radians). When rotation is set the skew, scaling, and aspect remain unchanged.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax
Property Value
Type: DoubleEvents
| Event Type | Reason |
|---|---|
| CogTransform2DLinear Changed | Fires when the rotation changes. The following state flags may be affected: |
Remarks
Sets or gets the uniform rotation of this transformation object in radians. When you set the rotation, the Skew, Scaling, and Aspect values remain unchanged. If Skew equals zero, then Rotation, RotationX, and RotationY are equal. Otherwise, Rotation is equal to RotationX and Skew is equal to RotationY minus RotationX. Notice that changes to this property affect both RotationX and RotationY.
In the standard transformation matrix, the symbol for Rotation is θ.
See Also