Commit Graph

28 Commits

Author SHA1 Message Date
984ed40c63 Port to diagrams >1.3
# Conflicts:
#	Algebra/Vector.hs
#	CG2.cabal
#	Graphics/Diagram/Core.hs
#	Graphics/Diagram/Gif.hs
#	Graphics/Diagram/Gtk.hs
#	Test/Vector.hs
2015-05-21 02:14:15 +02:00
5120a44d0f Remove almost all 'type' usage to make types more transparent 2015-01-14 18:17:35 +01:00
8058a43ee4 DIAG: draw the monotone, triangled polygon 2015-01-09 04:04:23 +01:00
013dfd054b Implement vertex categorisation for Polygon Triangulation 2015-01-07 18:55:16 +01:00
c33827b63e DIAG: use newtype for DiagAlgo 2014-12-17 00:52:07 +01:00
3398c6d9e3 DIAG: rm polyLines from quadTree algorithm 2014-12-07 19:30:31 +01:00
f8fb61e80a DIAG: consistently use [[PT]] for all Diags
Also simplify a few things like needless strokeTrail usage.
2014-12-07 18:55:49 +01:00
70a6dd1766 DIAG: dump the Object data type, it's useless 2014-12-07 04:33:45 +01:00
a7774b69a4 Restructure Graphics/Diagram subdir, rename modules 2014-12-03 22:02:42 +01:00
a332f3f3c3 DIAG: add missing kdRange to algo 5 2014-12-02 19:01:01 +01:00
a23842bf82 DIAG: eta-reduce 2014-12-01 02:27:42 +01:00
cc9b7b6365 DIAG: use proper introspection in Gtk logic 2014-12-01 02:19:11 +01:00
543b08df2c GUI/DIAG: allow visualizing the rangeSearch and the tree 2014-11-29 23:45:53 +01:00
3b61d21549 GUI: allow to draw kdSquares 2014-11-29 19:21:46 +01:00
e673fee652 Read the obj file as ByteString and pass ByteString to the Parser 2014-11-21 04:49:17 +01:00
562fdbe26f DIAG: filter valid points earlier
This saves us some code duplication.
2014-11-16 16:44:26 +01:00
3f3467cc44 Refactor some function names for readability 2014-11-16 00:13:44 +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
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
ea06fe4fa1 DIAGRAM: only show coordinates for intersections 2014-10-28 18:51:19 +01: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
09eeaeda27 Refactor function names, split out some functions 2014-10-13 20:14:50 +02:00
6e4c7e47c2 Restructure modules 2014-10-10 17:40:08 +02:00