surface_poly_fit.cli.write_result_array

surface_poly_fit.cli.write_result_array(output_file_name, result_ary, polyhedral_surface=None)[source]

Writes polynomial fit results and polyhedral_surface vertices, face-lists and vertex-normals to .npz file. The fields within the written .npz are:

“surface_poly_fit_results”

The result_ary.

“vertices”

The polyhedral_surface.get_vertices().

“faces”

The polyhedral_surface.get_faces().

“vertex_normals”

The polyhedral_surface.get_vertex_normals().

Parameters: