Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 3D Fitting » FitPlaneToPoints

Approximates points with a plane using the Least Squares method.

Name | Type | Description | |
---|---|---|---|

inPoints | Point3DArray | ||

outPlane | Plane3D | Fitted plane | |

outDistances | RealArray | Distances of the input points to a resulting plane | |

outSignedDistanceSum | Real | Sum of signed distances of the input points to a resulting plane | |

outDistanceSum | Real | Sum of distances of the input points to a resulting plane | |

outSquaredDistances | RealArray | Squared distances of the input points to a resulting plane | |

outSquaredDistanceSum | Real | Sum of squared distances of the input 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 |
Empty point array on input in FitPlaneToPoints. |

### Complexity Level

This filter is available on **Basic** Complexity Level.

### Filter Group

This filter is member of FitPlaneToPoints filter group.