Fit Plane to Points
fit_planeUse this when you need to fit an orthogonal least-squares plane to XYZ point-cloud data. Returns centroid, deterministic unit normal, signed point residuals, RMS residual and maximum absolute residual. Accepts points already parsed by the caller from scan data or mesh vertices. Computes parameters only; it does not create a surface body. Requires at least three non-collinear finite points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Point cloud as [x, y, z] coordinate triples in model units. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||