CircularAnnulusSection SetCenterRadiusAngleStartAngleSpanRadialScale Method Cognex VisionPro 9.22 SR1

Sets CenterX, CenterY, Radius, AngleStart (in radians), AngleSpan (in radians) and RadialScale of the circular annulus section.

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

public void SetCenterRadiusAngleStartAngleSpanRadialScale(
	double centerX,
	double centerY,
	double radius,
	double angleStart,
	double angleSpan,
	double radialScale
)
Exceptions

ExceptionCondition
ArgumentExceptionradius <= 0.0
ArgumentExceptionangleSpan = 0.0
ArgumentExceptionradialScale <= 0.0 or radialScale = 1.0
Remarks

Changed Raised when the shape changes. The following state flags may be affected:

Remarks

Sets CenterX, CenterY, Radius, AngleStart, AngleSpan and RadialScale of the circular annulus section.

See Also