Commit Graph

51 Commits

Author SHA1 Message Date
cc9b7b6365 DIAG: use proper introspection in Gtk logic 2014-12-01 02:19:11 +01:00
562f7a58e8 DIAG: simplify by using drawP 2014-11-30 20:24:10 +01:00
543b08df2c GUI/DIAG: allow visualizing the rangeSearch and the tree 2014-11-29 23:45:53 +01:00
fd4f135efa DIAG: improve function naming and return value in kdSquares 2014-11-29 19:27:19 +01:00
3b61d21549 GUI: allow to draw kdSquares 2014-11-29 19:21:46 +01:00
0b36b4acb9 DIAG: add kdSquares to draw kd-tree sections 2014-11-29 19:21:17 +01:00
e673fee652 Read the obj file as ByteString and pass ByteString to the Parser 2014-11-21 04:49:17 +01:00
8d7ed598e2 DIAG: rm unused parameter 2014-11-16 17:25:58 +01:00
ea88ef84ea Improve code prettiness 2014-11-16 16:45:51 +01:00
562fdbe26f DIAG: filter valid points earlier
This saves us some code duplication.
2014-11-16 16:44:26 +01:00
9c7acc6dce DIAG: improve code prettiness 2014-11-16 04:37:34 +01:00
dd9bfc530d DIAG: fix Gif build 2014-11-16 01:42:48 +01:00
8f911247c7 DIAG: fix haddock comment 2014-11-16 01:28:20 +01:00
1dcc24064b DIAG: improve readability 2014-11-16 01:28:20 +01:00
3f3467cc44 Refactor some function names for readability 2014-11-16 00:13:44 +01:00
bf596a5842 DIAG: add haddock comment to qt 2014-11-15 23:22:56 +01:00
98c93cf94d DIAG: fix various warnings 2014-11-15 23:20:05 +01:00
60d7dca2c8 DIAG: make the current node in the tree red 2014-11-15 15:26:43 +01:00
0b3c7d2100 ALGO: rename wrongly named RangeSearch to QuadTree 2014-11-15 14:24:24 +01:00
f3cabab280 Implement visualizing the quad tree in a separate window
This window creation still sucks a bit, we should realize it
without actually showing it.
2014-11-15 03:58:38 +01:00
75c45149d9 Rename Algorithms.RangeSearch.Core to Algorithms.RangeSearch.QuadTree 2014-11-15 00:49:44 +01:00
d5741d3839 PARSER: use 'Either' from Prelude instead of custom QuadOrOrient 2014-11-14 22:58:21 +01:00
60dc8ae535 DIAG: add gifQuadPath function 2014-11-14 22:19:14 +01:00
4cc02c7dc1 DIAG: rm obsolete inlined function 2014-11-14 22:17:47 +01:00
da5b0a17f0 DIAG: clean up squares function 2014-11-14 21:29:10 +01:00
ecf203c825 DIAG: Allow drawing the square the user path points to 2014-11-14 21:28:56 +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
ea06fe4fa1 DIAGRAM: only show coordinates for intersections 2014-10-28 18:51:19 +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
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
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
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
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
hasufell
2c1d5fa5ec Improve redability, add docs 2014-10-13 03:25:22 +02:00
87393af71a Make Gif animation more nice, TODO: IMPROVE CODE 2014-10-13 02:58:18 +02:00
hasufell
d81e932d00 DIAGRAM: improve behavior for dimensions like (100,300) (100,300) 2014-10-11 13:49:53 +02:00
7fb3588300 DIAGRAM: improve style and readability 2014-10-11 03:59:21 +02:00
bfa3665985 DIAGRAM: fix grid/axis for negative dimensions 2014-10-11 03:24:18 +02:00
ab2a0a331d DIAGRAM: fix unfiltered vtable for pointText functions 2014-10-10 23:59:02 +02:00
60843e5879 DIAGRAM: rm unnecessary square 2014-10-10 23:28:01 +02:00