CogFitCircle Execute Method Cognex VisionPro 9.7
Fit the current set of points. The supplied selected space name will be the selected space of the circle in the result.

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

public CogFitCircleResult Execute(
	string selectedSpaceName
)

Parameters

selectedSpaceName
Type: System String

The selected space name.

Return Value

Type: CogFitCircleResult

An CogFitCircleResult containing the result of the fitting operation.

Exceptions

ExceptionCondition
CogFitInsufficientPointsException

NumPoints minus NumToIgnore is less than 3.

CogFitAmbiguousDataException

No circle can be fitted to the supplied set of points.

Remarks

Fit the current set of points. The supplied selected space name will be the selected space of the circle in the result.

See Also