(mesh, info)
| 23 | print_green("{:_^55}".format(val)); |
| 24 | |
| 25 | def print_basic_info(mesh, info): |
| 26 | print_section_header("Basic information"); |
| 27 | print("dim: {}".format(mesh.dim)); |
| 28 | |
| 29 | num_vertices = mesh.num_vertices; |
| 30 | num_faces = mesh.num_faces; |
| 31 | num_voxels = mesh.num_voxels; |
| 32 | print("#v: {}\t#f: {}\t#V: {}".format( |
| 33 | num_vertices, num_faces, num_voxels)); |
| 34 | print("vertex per face : {}".format(mesh.vertex_per_face)); |
| 35 | print("vertex per voxel: {}".format(mesh.vertex_per_voxel)); |
| 36 | |
| 37 | info["num_vertices"] = num_vertices; |
| 38 | info["num_faces"] = num_faces; |
| 39 | info["num_voxels"] = num_voxels; |
| 40 | info["vertex_per_face"] = mesh.vertex_per_face; |
| 41 | info["vertex_per_voxel"] = mesh.vertex_per_voxel; |
| 42 | |
| 43 | def print_bbox(mesh, info): |
| 44 | print_section_header("Boundding box"); |
no test coverage detected