bounding_box_xy

compas.geometry.bounding_box_xy(points)[source]

Compute the axis-aligned minimum bounding box of a list of points in the XY-plane.

Notes

This function simply ignores the Z components of the points, if it is provided.

Parameters

points (list) – XY(Z) coordinates of the points.

Returns

list – XYZ coordinates of four points defining a rectangle in the XY plane.

Examples

>>>