oriented_bounding_box_xy_numpy

compas.geometry.oriented_bounding_box_xy_numpy(points)[source]

Compute the oriented minimum bounding box of set of points in the XY plane.

Parameters:
pointsarray_like[point]

XY(Z) coordinates of the points.

Returns:
list[[float, float, float]]

XYZ coordinates of 8 points defining a box.

Raises:
ValueError

If the input data is not at least 2D.