Start » Filter Reference » Surface » Surface Fitting » FitPlaneToSurface
Module: | Vision3DStandard |
---|
Approximates points of the input surface with a plane using the Least Squares method.
Name | Type | Description | |
---|---|---|---|
inSurface | Surface | Input surface | |
inRoi | Region* | Region of interest | |
outPlane | Plane3D | Fitted plane | |
outDistances | RealArray | Distances of the input surface points to a resulting plane | |
outSignedDistanceSum | Real | Sum of signed distances of the input surface points to a resulting plane | |
outDistanceSum | Real | Sum of distances of the input surface points to a resulting plane | |
outSquaredDistances | RealArray | Squared distances of the input surface points to a resulting plane | |
outSquaredDistanceSum | Real | Sum of squared distances of the input surface points to a resulting plane |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | No points to fit the plane to in FitPlaneToSurface. |
DomainError | Region of interest exceeds an input surface in FitPlaneToSurface. |
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of FitPlaneToSurface filter group.