calculate centroid with cgal