compas.geometry.bestfit_frame_numpy

compas.geometry.bestfit_frame_numpy(points)[source]

Fit a frame to a set of points.

Parameters

points (list) – XYZ coordinates of the points.

Returns

3-tuple – The frame origin, and the local X and Y axes.

Examples

>>>