EllipticalAnnulusSection SetCenterRadiusXYRotationAngleStartAngleSpanRadialScale Method Cognex VisionPro 9.21 SR1

Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, AngleSpan, and RadialScale of this elliptical annulus section. All angles are in radians.

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

public void SetCenterRadiusXYRotationAngleStartAngleSpanRadialScale(
	double centerX,
	double centerY,
	double radiusX,
	double radiusY,
	double rotation,
	double angleStart,
	double angleSpan,
	double radialScale
)

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

ExceptionCondition
ArgumentExceptionradiusX <= 0.0 or radiusY <= 0.0
ArgumentExceptionangleSpan = 0.0
ArgumentExceptionradialScale <= 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