surface_poly_fit.core.PolyhedralSurface.set_vertex_normals

PolyhedralSurface.set_vertex_normals(self: surface_poly_fit._spf_cgal.PolyhedralSurface, normals: object) None

Sets vertex normals.

Parameters:

normals (numpy.ndarray) – A (N, 3) shaped numpy.ndarray of vertex-normals. The normals[i] direction is assigned to vertex i.