I’m wondering about some mathematical deep secrets of Rhino.

Is Rhino performing direct Nurbs calculations when we use the AreaCentroid or VolumeCentroid commands, or is he making behind the scene a invisible mesh of the geometry ?

I dont see how he can calculate the Centroids without having a fine mesh with triangles to do the tricks (barycentre of the triangles and pressure integration).

I especially wondering this, because I am currently working on some Grasshopper tools to analyse the Hydrostatics of Ship Hulls. My interrogation is to know how Rhino calculates theses, and if he does the calculations directly on Nurbs like Maat Hydro (https://www.sistre-shipdesign-software.com/).

Thanks, let me know if my question is not clear.