Refactored intersection with edges detection.
Refactored rectangle subdivision.
Fixed triangulation of rectangles.
Added intersection with two corners or edges.
Fixed subdivision of multiple edges.
Basic support for near-edge subdivision.
Refactored optimization of rectangles.
Now simplifies all rectangles, changed coords type.
More abstract quad generation, initial ver.
Fixed zero-length line part parsing
Changed quad generation loops.
Tolerance replaced with constant, code cleanup.
Added size detection by edge cuts file.