Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, AngleSpan, and RadialScale of this elliptical annulus section. All angles are in radians.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- centerX
- Type: System Double
The x-coordinate of the center of the underlying ellipse.
- centerY
- Type: System Double
The y-coordinate of the center of the underlying ellipse.
- radiusX
- Type: System Double
The distance from the center of the underlying start ellipse to its boundary along the its x-axis
- radiusY
- Type: System Double
The distance from the center of the underlying start ellipse to its boundary along the its y-axis
- rotation
- Type: System Double
The rotation angle of the underlying ellipse.
- 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 elliptical annular section.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radiusX <= 0.0 or radiusY <= 0.0 |
| ArgumentException | angleSpan = 0.0 |
| ArgumentException | radialScale <= 0.0 or radialScale = 1.0 |
Remarks
Changed Raised when one or more properties change. The following state flag may be affected:
Remarks
Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, AngleSpan, and RadialScale of this elliptical annulus section.
See Also