> ## 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 Distance

>  Calculates the shortest distance between two geometries. 

<Note>
  It compares all the surfaces facing each other in their geometries and returns the shortest distance.
</Note>

### An example of transformations

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