implements computation of the average face surface area
This commit is contained in:
parent
1772005c1b
commit
c17e01d366
@ -110,8 +110,9 @@ int main(int argc, char *argv[]) {
|
|||||||
cerr << "Les arêtes sont sur une face : "
|
cerr << "Les arêtes sont sur une face : "
|
||||||
<< (check_edges_arent_lonely(argv[1]) ? "oui" : "non")
|
<< (check_edges_arent_lonely(argv[1]) ? "oui" : "non")
|
||||||
<< endl;
|
<< endl;
|
||||||
cerr << "Aire totale : " << total_area(mesh) << endl;
|
float area = total_area(mesh);
|
||||||
// stats_to_csv(stats_surface_area(mesh));
|
cerr << "Aire totale : " << area << endl;
|
||||||
|
cerr << "Aire moyenne : " << area / mesh.n_faces() << endl;
|
||||||
stats_surface_area(mesh);
|
stats_surface_area(mesh);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user