gustaf.edges.Edges.shrink#

Edges.shrink(ratio=0.8, map_vertex_data=True)[source]#

Returns shrunk elements.

Parameters:
  • ratio (float) – Default is 0.8

  • map_vertex_data (bool) – Default is True. Maps all vertex_data.

Returns:

s_elements – shrunk elements

Return type:

Elements