Fits a 3D plane from a 3D point set
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax
Parameters
- pointsPhys3D
- Type: Cognex.VisionPro3D Cog3DVect3Collection
A 3D point collection.
Return Value
Type: Cog3DPlaneFitterUsing3DPointsResultA Cog3DPlaneFitterUsing3DPointsResult containing the fitted plane and 3D residuals.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If the input argument is null. |
| ArgumentException | If pointsPhys3D.Count is less than 3. |
| Cog3DException | If a 3D plane cannot be fitted. |
See Also