surface_poly_fit.core.PolyhedralSurface.__init__

PolyhedralSurface.__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: surface_poly_fit._spf_cgal.PolyhedralSurface) -> None

Default construction, no vertices, no faces.

  1. __init__(self: surface_poly_fit._spf_cgal.PolyhedralSurface, vertices: object, faces: object) -> None

Construct, specify vertices and faces.

Parameters:
  • vertices (numpy.ndarray) – A (N, 3) shaped array of vertex coordinates.

  • faces (list of list) – Each element of faces is an ordered sequence of vertex indices defining a face.