Polygon Solver
For some reason converting a list of segments into a list of all non-overlapping or non-segment-sharing polygons took me much more time than I thought, so I somehow cleaned the code for future use (Processing/java)
https://github.com/Morusque/polygonSolver