de5aba792e
Allow showing a grid
2014-10-09 18:45:37 +02:00
4195404694
DIAGRAM: improve x/y-axis by showing segment lines
2014-10-09 18:13:33 +02:00
9c9cb29e45
ALGO: improve style
2014-10-09 17:22:41 +02:00
8a2ef92fa7
DIAGRAMS: add TODO note
2014-10-09 17:20:14 +02:00
fa3e498c45
DIAGRAM: rename functions to reflect their type
2014-10-09 17:19:58 +02:00
5020778f60
DIAGRAM: fix crash when passed an empty array to showConvexHullLines
2014-10-09 17:09:49 +02:00
143d514648
Add collinear.obj
2014-10-09 17:02:29 +02:00
d0e8c85a8d
PARSER: improve haddock comments
2014-10-09 17:00:03 +02:00
9c724ec479
PARSER: improve style
2014-10-09 16:59:09 +02:00
70665e4b29
PARSER: allow normal Integers for posDouble as well
...
1.0 => valid
1 => valid
2014-10-09 16:53:32 +02:00
4877837f93
Fix step depth in grahamGetCHSteps
...
If we have 3 points and pass 1 to 'g' then 2 steps will be computed.
That means we have to substract 2 from the total length in the call
to 'g'.
2014-10-09 16:11:34 +02:00
5ce94d36aa
Add missing Algorithms.ConvexHull to 'other-modules'
2014-10-09 03:31:15 +02:00
a5473eaf96
Fix haddock docs
2014-10-09 03:27:02 +02:00
357c427f0b
Fix haddock comment
2014-10-09 03:15:27 +02:00
f230738e08
Add TODO note
2014-10-09 03:10:52 +02:00
1fd0b9f27f
Allow generating gifs vor visualizing steps of the graham algo
...
TODO: this still requires us to hack on Main.hs, because
it isn't compatible with the GUI.
Also see https://github.com/diagrams/diagrams-cairo/issues/55
2014-10-09 03:10:21 +02:00
8949d05b3b
Properly handle mempty in Monoid Diag instance
2014-10-09 00:59:18 +02:00
9b566f2a63
Improve error handling
2014-10-08 22:07:37 +02:00
2fa1204d82
Also connect lines of convex hull
2014-10-08 19:31:55 +02:00
0677a26040
Fix y-axis
2014-10-08 19:29:51 +02:00
c0be077f15
Improve haddock comments
2014-10-08 19:23:40 +02:00
85a00951ba
Fix alignments/origins and correctly expand for the drawing widget
2014-10-08 19:23:15 +02:00
8458841182
Small adjustments in Monoid Diag instance
...
The lwG propery doesn't have any effect, so remove it.
Using '<>' here gets correctly inferred for the Diagrams library
data types, so just use it.
2014-10-08 19:21:47 +02:00
d8d28d3ca9
Add convex hull algorithm via graham scan
2014-10-08 16:39:46 +02:00
46377164b4
Rework vector/point typesystem
...
Don't rely on Data.Vector.V2 and friend anymore, but use
the types we have from Diagrams already and enhance them.
2014-10-08 16:37:38 +02:00
da3f71bfc0
Add removeItem utility function
2014-10-08 16:35:35 +02:00
b9048325c0
Add obj test files
2014-10-08 16:35:35 +02:00
bb0b0a951b
Allow choosing convex hull algorithm
...
This is still a no-op.
2014-10-08 16:35:19 +02:00
09ac8dd440
Move splitBy to more general 'Util' module
2014-10-08 16:24:07 +02:00
73984b796d
Move Defaults.hs to 'Class' subsystem
2014-10-07 19:18:16 +02:00
b7d752ae20
Restructure files, add new subsystems
2014-10-07 19:12:59 +02:00
3ef3fb1621
Fix typo
2014-10-07 19:12:59 +02:00
hasufell
c5621104df
Simplify hasExt
2014-10-07 00:41:03 +02:00
dd33a8b252
Show haddock documentation for non-exports as well
2014-10-06 23:14:23 +02:00
394b450e51
Rm comment to fix generation of haddock docs
...
Unfortunately it seems to be not supported to document individual
parameters of these kind of contructs.
2014-10-06 23:02:09 +02:00
685a525c72
Limit public Meshparser API
2014-10-06 22:54:43 +02:00
94dd75fb37
Limit public Gtk API
2014-10-06 22:51:54 +02:00
98a1b367d5
Style
2014-10-06 22:19:46 +02:00
b98d8be723
Limit public API in Diagram
2014-10-06 22:15:10 +02:00
330049fde6
Rename showEmptyRectB and emptyRect to showWhiteRectB and whiteRect
2014-10-06 21:22:32 +02:00
c35eb704d3
Avoid shadowing of variables
2014-10-06 21:12:18 +02:00
8547122be6
Make the diagram API more abstract
...
In particular we now have the data type 'Diag' which
can be used to concatenate multiple Diagrams via mconcat while
keep the properties and VTable across all of them consistent.
2014-10-06 21:11:28 +02:00
69026edf83
Simplify and improve extension handling
...
The functions should be safe now and all known corner cases
seem to work.
2014-10-06 02:26:04 +02:00
0ee52c5bdd
Improve haddock documentation
2014-10-05 21:47:00 +02:00
d5b8eeeb49
Add algorithm combo box
...
Currently a no-op.
2014-10-05 21:41:51 +02:00
6c728324fd
Rm obsolete centerX/centerY
2014-10-05 21:33:22 +02:00
d69647dcd3
Add all other modules to the cabal file
2014-10-05 21:12:08 +02:00
94baf12023
Add about dialog
2014-10-05 20:54:42 +02:00
191325f77a
Don't expand/fill the filechooserButton
2014-10-05 20:23:54 +02:00
262982673a
Improve error handling
2014-10-05 20:08:58 +02:00