Output timing for convex decomposition when doing minkowski

master
Marius Kintel 2015-02-02 16:31:17 -05:00
parent 32024588b5
commit 384c6af273
1 changed files with 3 additions and 0 deletions

View File

@ -254,6 +254,7 @@ namespace CGALUtils {
decomposed_nef = *nef->p3;
}
t.start();
CGAL::convex_decomposition_3(decomposed_nef);
// the first volume is the outer volume, which ignored in the decomposition
@ -268,6 +269,8 @@ namespace CGALUtils {
PRINTDB("Minkowski: decomposed into %d convex parts", P[i].size());
t.stop();
PRINTDB("Minkowski: decomposition took %f s", t.time());
}
}