CogFitEllipse Execute Method Cognex VisionPro 9.8
Fit the current set of points. The supplied selected space name will be the selected space of the ellipse in the result.

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

public CogFitEllipseResult Execute(
	string selectedSpaceName
)

Parameters

selectedSpaceName
Type: System String

The selected space name.

Return Value

Type: CogFitEllipseResult

An CogFitEllipseResult containing the result of the fitting operation.

Exceptions

ExceptionCondition
CogFitInsufficientPointsException

NumPoints minus NumToIgnore is less than 3.

CogFitAmbiguousDataException

No ellipse 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 ellipse in the result.

See Also