surface_poly_fit.core.PolyhedralSurface.__init__¶
- PolyhedralSurface.__init__(*args, **kwargs)¶
Overloaded function.
__init__(self: surface_poly_fit._spf_cgal.PolyhedralSurface) -> None
Default construction, no vertices, no faces.
__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
oflist
) – Each element offaces
is an ordered sequence of vertex indices defining a face.