Skip to content

igl.copyleft

Python API reference for igl.copyleft.

progressive_hulls

C++ reference

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 positions
  • F — #F by 3 list of face indices into V
  • max_m — Target number of output faces
  • U — Output vertex positions
  • G — Output face indices into U
  • J — Indices into F indicating the birth face for each face in G