1 | initial version |
There is no such function currently implemented. However, it would not be difficult to add. The straightforward approach would be to triangulate the polytope, find the barycenter of the simplices, and then add their individual barycenters weighted by the fraction of the total mass.
If you want to contribute a centroid method make a trac ticket and cc me, I'd be happy to help.