Commit Graph

122 Commits

Author SHA1 Message Date
Michael Bayne 6ee9bcda7e Reworked intro, added credit to Clyde, from whence much of this transform code
originated (though it is now heavily transformed, ha!).
2011-07-06 13:13:52 -07:00
Michael Bayne aa0fe0f87c Great big transform revamp.
We now have a Transform interface and a bevy of implementations of varying
generality: identity, rigid body, uniform scaling, non-uniform scaling, and
affine.

Along the way, Vector was added, APIs were tidied up, bits were twiddled, but
no platonic shapes were harmed.
2011-07-06 13:08:12 -07:00
Michael Bayne b6f87af8a0 Added Vector and friends, and Transform interface. 2011-07-05 09:29:36 -07:00
Michael Bayne 339ea761d1 Use FloatMath for our float math. 2011-07-05 09:06:32 -07:00
Michael Bayne b1c9545f04 Fixed typo. 2011-07-05 09:02:16 -07:00
Michael Bayne cbacc4ddac Utility methods and constants for single-precision floating point math. 2011-07-05 09:01:30 -07:00
Michael Bayne eb56f394ae Javadoc and clone() improvements. 2011-07-01 16:59:32 -07:00
Michael Bayne 71debc6a17 Moved static factory methods to top of class. 2011-07-01 16:34:05 -07:00
Michael Bayne fd11be72ee Documented AffineTransform. 2011-07-01 16:33:13 -07:00
Michael Bayne 9d431ee9fd Use tx, ty for translation rather than mx, my. 2011-07-01 16:11:24 -07:00
Michael Bayne 246fc97e3f Reduction in garbage generation.
Allow inverse to be computed and stored into target transform. Avoid needless
transform creation in concatenate/preConcatente. Still need to rewrite all the
methods that call getFooInstance.
2011-07-01 16:07:59 -07:00
Michael Bayne ab28f8390e Removed code duplication. Fixed bug in setTransform(t). 2011-07-01 15:59:52 -07:00
Michael Bayne ff27ebcb6a NonInvertibleTransformException improvements.
We only need one copy of this class, and it dang well better not be a checked
exception.
2011-07-01 15:53:52 -07:00
Michael Bayne d82f957f5c Added getMin/getMax/getCenter to f/d rectangular shape. 2011-07-01 15:16:52 -07:00
Michael Bayne 043e8fd2e2 Merge pull request #3 from groves/master
Use ooo-build to get the maven caching that I so love
2011-06-30 13:25:51 -07:00
Charlie Groves 267c15d9c9 Use ooo-build 2011-06-30 12:53:16 -07:00
Michael Bayne 8931a6aa97 Use latest sonatype oss parent pom. 2011-06-28 13:11:31 -07:00
Michael Bayne 321b3bc565 Nixed unused import. 2011-06-28 13:07:17 -07:00
Michael Bayne 27b2b3b3ee No more committed Eclipse files. Use m2e. 2011-06-28 13:06:34 -07:00
Michael Bayne 4fdfbee77e More efficient and actually works. Yay! 2011-06-27 17:34:55 -07:00
Michael Bayne d549f0b136 No need to recheck the winding rule when cloning. 2011-06-27 17:34:41 -07:00
Michael Bayne 684c92c59e A bunch of finagling to work around GWT limitations. 2011-06-27 16:17:38 -07:00
Michael Bayne 7a3da3b08c Added a GWT module declaration file. 2011-06-27 14:43:46 -07:00
Michael Bayne c521fcd74e Merge pull request #2 from deadmoose/master
Some more cleanup
2011-06-13 14:23:35 -07:00
Michael Bayne 402711b766 Oh god, more grammatic tweaks. 2011-06-13 14:02:52 -07:00
Michael Bayne de9e5217be Some editing of the performance notes 2011-06-13 14:01:59 -07:00
Michael Bayne e79813cc0f Grr, Markdown doesn't do the right thing with multi-paragraph line items. 2011-06-13 13:59:49 -07:00
Michael Bayne 087f91bfd5 Added a blurb about the read-only interfaces. 2011-06-13 13:59:27 -07:00
Michael Bayne 0dcc0c08e8 Documentation clarification. 2011-06-13 13:48:07 -07:00
Michael Bayne e274c30e0e Rationale reorganization. 2011-06-13 13:44:14 -07:00
Michael Bayne 926aa4d51a Consolidated docs. 2011-06-13 13:42:15 -07:00
Michael Bayne 5ffffebef6 Added link to API docs and info on Maven artifact. 2011-06-13 13:41:14 -07:00
Michael Bayne 058862068f [maven-release-plugin] prepare for next development iteration 2011-06-13 13:29:46 -07:00
Michael Bayne f1337ae0ad [maven-release-plugin] prepare release pythagoras-1.0 2011-06-13 13:29:42 -07:00
Michael Bayne 76722e6251 Include the source in our jar file for use by GWT apps. 2011-06-13 13:28:13 -07:00
Michael Bayne a5c4383882 Fixed license metadata in POM. 2011-06-13 13:24:42 -07:00
Michael Bayne ef2488328f Fixed typo. 2011-06-13 13:24:12 -07:00
Michael Bayne f156858442 Documentation tidying. 2011-06-13 13:23:15 -07:00
Michael Bayne 55ed3ec510 Added a package-info for the int-specialized package. 2011-06-13 13:18:56 -07:00
Michael Bayne a4044c7cec Versions of those of the utility classes that are int-appropriate, specialized
on int.
2011-06-13 13:14:23 -07:00
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
David Hoover 923dbc1284 Speeling 2011-06-10 17:11:40 -07:00
David Hoover 246b4df74a More javadoc 2011-06-10 17:00:02 -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