bestfit_plane_numpy

compas.geometry.bestfit_plane_numpy(points)[source]

Fit a plane through more than three (non-coplanar) points.

Parameters

points (array_like[point]) – XYZ coordinates of the points.

Returns

  • [float, float, float] – A point on the plane.

  • [float, float, float] – The normal vector.

Examples

>>>