CogTransform2DLinear Rotation Property Cognex VisionPro 9.7
Returns/sets the rotation of this transform (in radians). When rotation is set the skew, scaling, and aspect remain unchanged.

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

public double Rotation { get; set; }

Property Value

Type: Double
Events

Event TypeReason
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