I have decomposed a polygon like shape below and now I want to extract these interior polygons which are seperated with diagonals. Is there any algorithm that I can do this