Commit Graph

346 Commits

Author SHA1 Message Date
af2e1b59cd
ALGO: add missing Show instances to RangeSearch 2014-11-14 21:24:14 +01:00
b9c8207981
Add PathParser
This allows us to parser user input in order to traverse
the QuadTree from the Algorithms.RangeSearch module.
2014-11-14 21:23:43 +01:00
53eac4fc5c
PARSER: extend the core by the string function 2014-11-14 21:20:40 +01:00
62d7c9ffcd
ALGO: implement the quad tree 2014-11-13 23:05:56 +01:00
b1280ac958
VEC: use the Square type for inRange 2014-11-13 23:04:26 +01:00
c765c63125
POLYINT: run rmdups only once 2014-10-31 17:49:08 +01:00
ea06fe4fa1
DIAGRAM: only show coordinates for intersections 2014-10-28 18:51:19 +01:00
61e0063d78
POLYINT: fix comparison for different-length polygons 2014-10-28 18:51:11 +01:00
d81b6b1cec
POLYINT: improve haddock doc 2014-10-26 14:58:43 +01:00
d56d22036c
QEX: rm unused function 2014-10-26 04:29:49 +01:00
c8914c8272
POLYINT: small refactor
Get predecessors and successors in the beginning instead of
figuring them out for every single point separetely.
This is still O(n), butt should be a lot quicker than the previous
approach.
2014-10-26 04:22:05 +01:00
90eaa45289
DIAGRAM: trim text coordinates to 2 decimal places 2014-10-26 00:19:58 +02:00
55e2ddd500
DIAGRAM: small refactor
Update Diag type to play more nicely with GifDiags.
2014-10-25 23:54:07 +02:00
fd931db7e0
Improve readability 2014-10-25 20:39:34 +02:00
c4c397e12f
POLYINT: small refactor, abstract some stuff out 2014-10-25 20:23:34 +02:00
b67ef899c7
DIAGRAM: rm obsolete maybeDiag calls
We handle these conditions inside the functions themselves
by checking the DiagProp.
2014-10-25 15:44:59 +02:00
b85afda7e7
DIAGRAM: small refactor
Enhanced the Diag type and used it for poly functions as well.
2014-10-25 15:40:10 +02:00
70b4fa6e01
VEC: fix haddock doc 2014-10-25 14:50:09 +02:00
4a4d49200a
VEC: rm unused function 2014-10-25 14:49:59 +02:00
c4ab68c76d
DIAGRAM: draw all points 2014-10-25 14:49:36 +02:00
ddff8b1fb2
Allow drawing the polygon stuff via GUI 2014-10-25 03:15:38 +02:00
7965443aa6
Fix example mesh 2014-10-25 03:15:00 +02:00
9a101d68a5
POLYINT: first try of polygon intersection algorithm in O(n) 2014-10-25 01:44:13 +02:00
a2e1e04072
Update README 2014-10-17 14:44:42 +02:00
ac37fcdf03
TRAVIS: build gtk and glade first 2014-10-17 14:44:31 +02:00
4fb9d6789a
TRAVIS: build gtk2hs-buildtools first 2014-10-17 14:26:56 +02:00
778dc16a3f
GUI: use infix instead of ap 2014-10-17 14:04:37 +02:00
2b95f8d7e0
Update README 2014-10-17 02:21:21 +02:00
ec51de3210
Update README 2014-10-17 02:10:22 +02:00
7df088be64
Add empty README 2014-10-17 02:06:22 +02:00
8272438a45
TRAVIS: add file 2014-10-17 02:04:52 +02:00
acf94f65cf
Rm obsolete test files 2014-10-17 01:29:59 +02:00
2baeea4d4b
GUI: make the MkMyGUI call less ugly 2014-10-17 01:06:24 +02:00
a31e1ff578
ALGO: improve haddock doc 2014-10-15 22:50:56 +02:00
dc137d55de
Update project name 2014-10-15 22:50:39 +02:00
42dc0c4a1b
DIAGRAM: use (<>) instead of mappend 2014-10-14 21:24:21 +02:00
hasufell
0379463db4 DIAGRAM: fix drawing for negative coordinates
Applying the filter function too late seemed to cause
glitches in convexHStepsLs for negative coordinates.
We should only pass the filtered list of points to
the graham scan.
2014-10-14 10:56:06 +02:00
873af1cfec
Add another test file 2014-10-13 23:01:37 +02:00
9751f0f7d6
Add a simple performance test with a big obj file 2014-10-13 22:35:01 +02:00
9dcf1e30f9
PRELUDE: add if' function to simplify if-then-else 2014-10-13 22:30:57 +02:00
077d0442f5
ALGO: improve style 2014-10-13 22:30:19 +02:00
8300929fd7
ALGO: refactor
Move sortedXY to Vector.hs, fix shadowing of scanH.
Simplified grahamCHSteps by making use of a more generalized scanH
function.
2014-10-13 22:06:12 +02:00
09eeaeda27
Refactor function names, split out some functions 2014-10-13 20:14:50 +02:00
d87dc25d26
DIAG: fix white rectangle border
For bigger dimensions 10 is not enough, so take 10 as percentage.
2014-10-13 19:58:09 +02:00
7a7bfaa1be
Improve style 2014-10-13 19:53:33 +02:00
edde93ec77
ALGO: improve function names 2014-10-13 19:50:02 +02:00
7cdb867cf4
ALGO: Split scanH out and make the graham API more modular 2014-10-13 19:49:53 +02:00
67ef9fa223
VEC: fix "defaulting... constraint to type Integer" warning 2014-10-13 19:15:09 +02:00
0dff1174f2
VEC: style 2014-10-13 19:14:25 +02:00
hasufell
2c1d5fa5ec Improve redability, add docs 2014-10-13 03:25:22 +02:00