Commit Graph

30 Commits

Author SHA1 Message Date
Michael Bayne 933d9e5e5d Fixed some stray doubles that should have been floats. 2011-06-13 13:11:16 -07:00
Michael Bayne 6d8d0daf1d Accept an IDimension, rather than a concrete Dimension. 2011-06-13 12:44:54 -07:00
Michael Bayne f3b646a63f Javadoc fixes and improvements. 2011-06-13 12:30:06 -07:00
Michael Bayne 520167978e Another copy of the classes, specialized to work on double. Double the
maintenance! (But not worth the PITA of programmatically generating the code,
IMO.)
2011-06-10 15:56:13 -07:00
Michael Bayne 33766947bf Updated the README with design notes. 2011-06-10 15:40:31 -07:00
Michael Bayne a21b822bd3 Trimming of more trailing whitespace. 2011-06-10 15:28:54 -07:00
Michael Bayne 4bad892de1 Fixed whitespace booch. 2011-06-10 15:27:53 -07:00
Michael Bayne 09b36265d8 Merge branch 'deadmoose' 2011-06-10 15:25:44 -07:00
Michael Bayne f782ea69d2 Added the 800lb gorilla: Area, and its myriad helper classes. 2011-06-10 15:22:14 -07:00
Michael Bayne 8a3b1a04aa Fixed naming bug. 2011-06-10 15:21:36 -07:00
David Hoover 8cc6f63a11 Make all those take "width" and "height".
Before, it was a mix of that and "w" and "h", which lends itself
to problems such as the bug that gets fixed here where Ellipse.setFrame()
was broken because "this.width = width" was a no-op given the method's
argument was "w"
2011-06-10 14:38:17 -07:00
David Hoover e072c6cb57 Eclipse build files 2011-06-10 14:38:17 -07:00
David Hoover ba99985401 Prune trailing whitespace 2011-06-10 14:38:17 -07:00
David Hoover 459c428d7f Ignore the generated output. 2011-06-10 14:38:17 -07:00
Michael Bayne a442f451c3 Fixed a bunch of bogus [] placements. 2011-06-10 14:32:26 -07:00
Michael Bayne ac1d82fff1 Added missing javadocs. 2011-06-10 14:26:48 -07:00
Michael Bayne cf7ea58945 Added RoundRectangle and friends. 2011-06-10 14:24:25 -07:00
Michael Bayne 24584389dc Fixed headers. 2011-06-10 14:23:03 -07:00
Michael Bayne e61f929c76 Ellipses (by which I don't mean multiple ...s). 2011-06-10 14:03:21 -07:00
Michael Bayne 40979e11f4 Added Arc and friends. 2011-06-10 13:46:40 -07:00
Michael Bayne 5786a8899a Added general flattening path iterator. 2011-06-10 13:46:28 -07:00
Michael Bayne ec538d02c2 Added intersect and union helpers. 2011-06-10 13:46:10 -07:00
Michael Bayne 948d168e20 Added relativeCCW methods. 2011-06-10 13:45:53 -07:00
Michael Bayne 2de6c13864 Yet more javadoc. 2011-06-10 12:30:21 -07:00
Michael Bayne 47e7ead916 Formatting and javadoc cleanup. 2011-06-10 12:28:56 -07:00
Michael Bayne c7d31b9ea3 Eliminated views of location, size and bounds. They would be crazy expensive to
keep up to date for shapes like Path and they're probably not that useful.
Added instead methods to obtain said values by copying the data into a supplied
object, which allows the caller to avoid garbage generation when desired. Also
finished up quad and cubic curves.
2011-06-10 12:23:19 -07:00
Michael Bayne b8572dd82f More geometrical progress! Not compiling right now because of lack of cubic and
quad curves.
2011-06-10 10:53:35 -07:00
Michael Bayne bdc3edb985 More Line methods. 2011-06-09 16:36:09 -07:00
Michael Bayne 61dbc0e38d Further refinement of read-only interfaces; added RectangularShape-ness; added
Line and friends; added AbstractX classes which implement all non-mutating
methods and can be used to create read-only views.
2011-06-09 16:21:20 -07:00
Michael Bayne e3c4be2602 Beginnings of new geometry library. 2011-06-08 11:47:52 -07:00