surface_poly_fit.cli

Command line interface for surface polynomial fitting.

Functions

get_argument_parser()

Returns a argparse.ArgumentParser to handle command line option processing.

read_polyhedral_surface(file_name)

Read mesh from file.

surface_poly_fit_cli(args)

Command line interface for reading mesh file, fitting polynomials and writing results to file.

surface_poly_fit_main_cli()

Entry-point function for command line interface.

write_result_array(output_file_name, result_ary)

Writes polynomial fit results and polyhedral_surface vertices, face-lists and vertex-normals to .npz file.