CogEllipticalAnnulusSection Rotation Property Cognex VisionPro 9.5
Returns/sets the rotation angle (in radians) from the x-axis of the selected coordinate space to the x-axis of the ellipse.

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

public double Rotation { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogEllipticalAnnulusSection Changed

Fires when the value of this property changes.

The following state flags may be affected:

    Remarks

    Sets or gets the rotation angle, in radians, of the underlying ellipse. The angle is measured from the x-axis of the selected coordinate space to the rotated x-axis of the ellipse. To find the rotation from the x-axis of the selected space name to the y-axis of the ellipse, add π/2 to this property.

    Rotation values are normalized to be between −π and +π.

    Default Value: 0

    See Also