CogCircularArc SetCenterRadiusAngleStartAngleSpan Method Cognex VisionPro 9.7
Sets CenterX, CenterY, Radius, AngleStart (in radians) and AngleSpan (in radians) of this circular arc.

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

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

Event TypeReason
CogCircularArc Changed

Fires when the shape changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    radius <= 0.0

    ArgumentException

    angleSpan = 0.0

    Remarks

    Sets the CenterX, CenterY, Radius, AngleStart and AngleSpan of this circular arc.

    See Also