Sets CenterX, CenterY, Radius, AngleStart (in radians) and AngleSpan (in radians) of this circular arc.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
Syntax
Parameters
- centerX
- Type: System Double
The x-coordinate of the center of the arc.
- centerY
- Type: System Double
The y-coordinate of the center of the arc.
- radius
- Type: System Double
The radius of the arc.
- angleStart
- Type: System Double
The AngleStart of the arc.
- angleSpan
- Type: System Double
The AngleSpan of the arc. (The default value for this parameter is actually π/2.)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radius <= 0.0 |
| ArgumentException | angleSpan = 0.0 |
Remarks
Changed Raised when the value of this property changes. The following state flags may be affected:
- SfCenterX
- SfCenterY
- SfRadius
- SfAngleStart
- SfAngleSpan
- SfArcLength
- SfStartX
- SfStartY
- SfEndX
- SfEndY
- SfMidpointX
- SfMidpointY
Remarks
Sets the CenterX, CenterY, Radius, AngleStart and AngleSpan of this circular arc.
See Also