I want center of the bounding box
But to get center of mass how can I do it?
Its still not working mate. Can you try it on yourself on the drawing I have attached?Tharwats code returns the midpoint of the bounding box ( red ) and you want the centroid ( green ). Have you seen this? http://www.theswamp.org/index.php?topic=46820.msg518432#msg518432
I got the centeroid of that object by converting it into region and using MASSPROP. But Im not sure if that is the exact geometrical center.
I'm confused between geometrical center and centeroid. Whats the difference?
Thanks for the information!You're welcome. :-)