Polyhedron.from_convex_hull

classmethod Polyhedron.from_convex_hull(points)[source]

Construct a polyhedron from the convex hull of a set of points.

Parameters:
pointslist[point]

The XYZ coordinates of the points.

Returns:
compas.geometry.Polyhedron

Examples

>>> from compas.geometry import Polyhedron
>>> points = [[0, 0, 0], [1, 0, 0], [0, 1, 0]]
>>> p = Polyhedron.from_convex_hull(points)