POLYINT: first try of polygon intersection algorithm in O(n)

This commit is contained in:
2014-10-25 01:44:13 +02:00
parent a2e1e04072
commit 9a101d68a5
8 changed files with 296 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
v 200.0 500.0
v 0.0 200.0
v 200.0 100.0
v 400.0 300.0
v 350.0 450.0
v 275.0 225.0
v 500.0 0.0
v 350.0 50.0
v 450.0 400.0
f 1 2 3 4
f 5 6 7 8
/* ([(200.0, 500.0), (0.0 200.0), (200.0 100.0), (400.0 300.0)], [(350.0 450.0), (275.0 225.0), (500.0 0.0), (450.0 400.0)]) */