CogLineSegment Rotation Property Cognex VisionPro 9.20
The angle (in radians, from the x-axis) of the line segment. The line segment must not be degenerate (i.e. the end points must differ).

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

public double Rotation { get; }

Property Value

Type: Double
Events

Event TypeReason
CogLineSegment Changed

Fires when the value of this property changes.

The following state flags may be affected:

    Remarks

    The angle (in radians, from the x-axis) of the line segment. The rotation is normalized to the range -π to π.

    See Also