Fit the current set of points. The supplied selected space name will be the selected space of the line in the result.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- selectedSpaceName
- Type: System String
The selected space name.
Return Value
Type: CogFitLineResultAn CogFitLineResult containing the result of the fitting operation.
Exceptions
| Exception | Condition |
|---|---|
| CogFitInsufficientPointsException | NumPoints minus NumToIgnore is less than 2. |
| CogFitAmbiguousDataException | No line 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 line in the result.
See Also