CircularArc AngleSpan Property Cognex VisionPro 9.23
Get

Gets the angle span (in radians) of this circular arc. Note that this can be positive or negative (but not exactly 0), and implies an arc direction.

Set

Sets AngleSpan.

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

public double AngleSpan { get; set; }

Property Value

Type: Double
Default Value: π/2
Exceptions

ExceptionCondition
ArgumentExceptionValue is zero.
Remarks

Gets the angle span of this circular arc in radians. The angle can be any positive or negative value, but not exactly 0; the sign determines the direction of the arc. If the absolute value of the angle span is greater than 2π, the arc wraps around on itself. It is not normalized to the range −2π to 2π. For example, AngleSpan of +π is an arc that describes half of a full circle, and a span of −π describes the other half in the opposite direction. To simply reverse the direction of an arc, you can use the following: AngleStart = AngleStart + AngleSpan AngleSpan = −AngleSpan

Remarks

Changed Raised when the value of this property changes. The following state flags may be affected:

See Also