bestfit_frame_numpy

compas.geometry.bestfit_frame_numpy(points)[source]

Fit a frame to a set of points.

Parameters

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

Returns

  • [float, float, float] – The frame origin.

  • [float, float, float] – The local X axis.

  • [float, float, float] – The local Y axis.

Examples

>>>