CogCircularAnnulusSection SetCenterRadiusAngleStartAngleSpanRadialScale Method Cognex VisionPro 9.7
Sets CenterX, CenterY, Radius, AngleStart (in radians), AngleSpan (in radians) and RadialScale of the circular annulus section.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax

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

Event TypeReason
CogCircularAnnulusSection Changed

Fires when the shape changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    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