Rationale reorganization.

This commit is contained in:
Michael Bayne
2011-06-13 13:44:14 -07:00
parent 926aa4d51a
commit e274c30e0e
+7 -7
View File
@@ -16,6 +16,13 @@ projects).
Some restructuring of the `java.awt.geom` classes was undertaken to meet Some restructuring of the `java.awt.geom` classes was undertaken to meet
certain design goals. certain design goals.
* The library is specialized on the primitive types rather than attempting to
support all types in a single class hierarchy. `pythagoras.f` and
`pythagoras.d` provide essentially the same functionality using 32-bit and
64-bit floating point values throughout. `pythagoras.i` is specialized on int
and contains none of the curved geometry classes. It is targeted toward
applications that need "pixel geometry".
* The library supports garbage creation avoidance for applications which are * The library supports garbage creation avoidance for applications which are
sensitive to garbage collection pauses, like video games. For example, in sensitive to garbage collection pauses, like video games. For example, in
cases where entities return a `Rectangle` containing their bounds, a cases where entities return a `Rectangle` containing their bounds, a
@@ -31,13 +38,6 @@ certain design goals.
a separate utility class for that primitive. For example line-related a separate utility class for that primitive. For example line-related
primitives are in a class named `Lines`. primitives are in a class named `Lines`.
* The library is specialized on the primitive types rather than attempting to
support all types in a single class hierarchy. `pythagoras.f` and
`pythagoras.d` provide essentially the same functionality using 32-bit and
64-bit floating point values throughout. `pythagoras.i` is specialized on int
and contains none of the curved geometry classes. It is targeted toward
applications that need "pixel geometry".
## License ## License
Pythagoras is released under the Apache License, Version 2.0 which can be found Pythagoras is released under the Apache License, Version 2.0 which can be found