Transform2DLinear Rotation Property Cognex VisionPro 9.21
Get

Gets the rotation of this transform (in radians). When rotation is set the skew, scaling, and aspect remain unchanged.

Set

Sets Rotation.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public double Rotation { get; set; }

Property Value

Type: Double
Default Value: 0
Remarks

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 θ.

Remarks

Changed Raised when the value of this property changes.

See Also