convex_hull_xy_numpy

compas.geometry.convex_hull_xy_numpy(points)[source]

Compute the convex hull of a set of points in the XY plane.

Parameters:
pointsarray_like[point]

XY(Z) coordinates of the points.

Returns:
ndarray[int](N, )

Indices of the points on the hull.

ndarray[int](M, 2)

Lines of the hull.

Raises:
ValueError

If the input data is not at least 2D.