Commit Graph

204 Commits

Author SHA1 Message Date
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
87393af71a
Make Gif animation more nice, TODO: IMPROVE CODE 2014-10-13 02:58:18 +02:00
4936023c14
VEC: fix orientation, it was swapped 2014-10-13 02:30:11 +02:00
f82c948055
ALGO: Improve readability by introducing notcw 2014-10-12 20:37:24 +02:00
be2787103a
GUI: don't show error dialogs if there hasn't been any file chosen 2014-10-12 20:00:42 +02:00
56ea542535
ALGO: fix generation of gif
This is a good guess... the maximum of possible steps shouldn't
be higher than twice the length of the points.
2014-10-12 19:22:37 +02:00
37b38115ae
ALGO: fix algorithm to show collinear points as part of the hull
There was also a bug to be fixed when doing this. We missed
an important pattern match case which casued wrong results.
2014-10-12 19:19:44 +02:00
bfcc9bfdf7
ALGO: improve redability and style, add pseudo code
We also slightly changed the behavior of the algorithm and
now split it at 3 elements. It doesn't matter complexity wise
and improves readability a bit.
2014-10-12 18:44:48 +02:00
d3a7c04398
PRELUDE: simplify seqList 2014-10-12 16:09:17 +02:00
7a73ea7a1d
GUI: correct window title to CG2 2014-10-12 15:14:26 +02:00
hasufell
f0789b59e3 GUI: set window title 2014-10-12 04:23:27 +02:00
hasufell
43f618269d GUI: update version in about dialog 2014-10-12 04:23:16 +02:00
393d37d1a9
GUI: don't redraw instantly on scaling point thickness
It broke performance.
2014-10-12 03:15:34 +02:00
e91fb6cd1e
ALGEBRA: fix ccw 2014-10-12 03:04:36 +02:00
378f7887d4
PRELUDE: add getLastX 2014-10-12 03:00:55 +02:00
cc7efa9906
ALGO: improve style 2014-10-12 03:00:25 +02:00
b75f531533
ALGO: fix grahamGetCHSteps 2014-10-12 03:00:13 +02:00
15479e3c58
PRELUDE: add dupLast 2014-10-12 02:57:43 +02:00
b3371d16f9
PRELUDE: add seqList 2014-10-12 02:31:08 +02:00
6dc4fae415
ALGO: improve readability 2014-10-12 02:11:47 +02:00
24810e5970
Move the function 'first' from Parser to MyPrelude
It is useful and generic.
2014-10-12 01:57:20 +02:00
60f59bb2b7
ALGO: fix the algorithm
It was imprecise before and only worked by accident.
'grahamGetCHSteps' is a bit broken for now and caused duplicates.
2014-10-12 01:54:44 +02:00
hasufell
d81e932d00 DIAGRAM: improve behavior for dimensions like (100,300) (100,300) 2014-10-11 13:49:53 +02:00
hasufell
6c66a7acb3 PARSER: add parser for negative doubles 2014-10-11 04:39:51 +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
5e5f305c65
GUI: merge callback functions into drawDiag/saveDiag 2014-10-11 02:01:17 +02:00
0681b4d605
GUI: remove code duplication 2014-10-11 00:16:18 +02:00
869cbd0af3
GUI: instantly redraw for enabling checkboxes and other stuff 2014-10-11 00:02:06 +02:00
b6aa9d9086
GUI: fix signal handling for onExpose
Doing the signal handling connect inside the callback function
was a bad idea. Instead do it in the makeGUI function and just
call onClickedDrawButton for every expose event.
2014-10-11 00:01:43 +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
eadbf76978
CABAL: rm unnecessary dependency from Gtk executable 2014-10-10 18:02:26 +02:00
40313baa7d
CABAL: add missing JuicyPixels 2014-10-10 17:55:52 +02:00
8494c106d9
Update .gitignore 2014-10-10 17:53:17 +02:00
085b06a112
PARSER: eta reduction 2014-10-10 17:48:22 +02:00
954b104642
Style 2014-10-10 17:40:25 +02:00
6e4c7e47c2
Restructure modules 2014-10-10 17:40:08 +02:00
cb7d5269a0
DIAGRAM: add maybeDiag convenience function 2014-10-10 15:40:56 +02:00
5d5d0b7643
DIAGRAM: improve haddock doc 2014-10-10 15:34:38 +02:00
1540bf443e
DIAGRAM: abstract point to text conversion out a little 2014-10-10 15:34:18 +02:00
01e2dd7802
Allow showing the coordinate points as text 2014-10-10 15:03:12 +02:00
4137af7a7f
DIAGRAM: Fix haddock comment 2014-10-10 01:08:53 +02:00