--- In [email protected], swathi prayaga <[EMAIL PROTECTED]> wrote: > > it has no shape.. > > Vic Wagner <[EMAIL PROTECTED]> wrote: swathi_prayaga wrote: > > Hello friends, > > Given a irregular shape object.Suggest me ways to find centroid for given object.
Hi, I am not quite sure what you mean by an irregular shape. But I assume it comes under the realm of a 2D polynomial and you have at least its co-ordinates available. If that is the case then this link might help : http://en.wikipedia.org/wiki/Polygon#Area_and_centroid Cheers, Saurabh
