igl.copyleft¶
Python API reference for igl.copyleft.
progressive_hulls¶
progressive_hulls(V: float64[m, n], F: int32[m, n], max_m: int = 0) -> tuple[float64[m, n], int64[m, n], int64[m]]
Performs progressive hull simplification on a mesh, collapsing edges until a target number of faces is reached.
Parameters
V— #V by dim list of vertex positionsF— #F by 3 list of face indices into Vmax_m— Target number of output facesU— Output vertex positionsG— Output face indices into UJ— Indices into F indicating the birth face for each face in G