surface_poly_fit.core.PolyhedralSurface.create_ring_patch

PolyhedralSurface.create_ring_patch(vertex_index, num_rings)[source]

Creates a polyhedral surface patch about a specified vertex.

Parameters:
  • vertex_index (int) – The index of the vertex about which the patch is created.

  • num_rings (int) – The number of edge-hops from vertex vertex_index used to form the patch.

Return type:

PolyhedralSurface

Returns:

A new instance PolyhedralSurface patch.