> ## 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 Reverse Difference

>  It performs the inverse of the difference function. It subtracts the second geometry from the first geometry, but here the subtracted geometries are applied in reverse. 

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

### An example of transformations

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

### An example of test

<Frame>
  <a href="https://github.com/DurmusCesur/docs/releases/download/Dyn/Shp_RevDifference.dyn" download="Shp_RevDifference.dyn">
    <button className="bg-[#16A34A] text-white px-5 py-1 rounded-md hover:bg-[#15803D] transition-colors">
      Shp\_RevDifference.dyn
    </button>
  </a>
</Frame>
