> ## Documentation Index
> Fetch the complete documentation index at: https://shapely.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Shapely Centroid

>  Finds the centre of gravity for a geometry.  

<Note>
  I recommend working with polygons for the best results!
</Note>

### An example of transformations

<a href="/images/Shp_Centroid.png" target="_blank">
  <img src="https://mintcdn.com/shapely/Zmixl7owj_j1fwHG/images/Shp_Centroid.png?fit=max&auto=format&n=Zmixl7owj_j1fwHG&q=85&s=90cf2e6f508a9ff30cdb66a387d5256e" className="pointer-events-none" style={{ borderRadius: '0.5rem', border: '1px solid rgba(0,0,0,0.1)' }} width="1913" height="820" data-path="images/Shp_Centroid.png" />
</a>
