EllipticalArc SetCenterRadiusXYRotationAngleStartAngleSpan Method Cognex VisionPro 9.21 SR1

Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, and AngleSpan of this elliptical arc. 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 SetCenterRadiusXYRotationAngleStartAngleSpan(
	double centerX,
	double centerY,
	double radiusX,
	double radiusY,
	double rotation,
	double angleStart,
	double angleSpan
)

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.
radiusX
Type: System Double
The distance from the center of the underlying ellipse to its boundary along the x-axis.
radiusY
Type: System Double
The distance from the center of the underlying ellipse to its boundary along the y-axis.
rotation
Type: System Double
The Rotation 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

ExceptionCondition
ArgumentExceptionradiusX <= 0.0 or radiusY <= 0.0
ArgumentExceptionangleSpan = 0.0
Remarks

Changed Raised when one or more properties change.

Remarks

Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, and AngleSpan of this elliptical arc.

See Also