Sets CenterX, CenterY, Radius, AngleStart (in radians), AngleSpan (in radians) and RadialScale of the circular annulus section.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
Parameters
- centerX
- Type: System Double
The x-coordinate of the center of this circular annulus section.
- centerY
- Type: System Double
The y-coordinate of the center of this circular annulus section.
- radius
- Type: System Double
The Radius of the annular section.
- angleStart
- Type: System Double
The AngleStart.
- angleSpan
- Type: System Double
The AngleSpan. (The default value for this parameter is actually π/2.)
- radialScale
- Type: System Double
The RadialScale of the annular section.
Events
| Event Type | Reason |
|---|---|
| CogCircularAnnulusSection Changed | Fires when the shape changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radius <= 0.0 |
| ArgumentException | angleSpan = 0.0 |
| ArgumentException | radialScale <= 0.0 or radialScale = 1.0 |
Remarks
Sets CenterX, CenterY, Radius, AngleStart, AngleSpan and RadialScale of the circular annulus section.
See Also