surface_poly_fit.results_to_mesh.write_result_mesh¶
- surface_poly_fit.results_to_mesh.write_result_mesh(output_file_name, polyhedral_surface, result_array)[source]¶
Writes mesh file with fit results point-data.
- Parameters:
output_file_name (
str
) – Output file path formeshio.write()
file.polyhedral_surface (
surface_poly_fit.core.PolyhedralSurface
) – Defines vertices, faces and vertex normals written to mesh file.result_array (
numpy.ndarray
) – Polynomial fitting result array (e.g. as returned bysurface_poly_fit.core.MongeJetFitter.fit_all()
). These results are written as point-data in the output mesh file (if supported).