This is an automated email from the ASF dual-hosted git repository.
erans pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git.
from 8273d59 Merge branch 'GEOMETRY-3_GEOMETRY-4__matt'
new 76086cc GEOMETRY-7: adding PolarCoordinates class
new abb1a97 using built-in Math.hypot() method for 2D Euclidean distance
calculation
new 96f32b6 Merge branch 'master' into polar-spherical-working
new a1e38d2 GEOMETRY-7: adding basic SphericalCoordinates class
new d2b0c02 GEOMETRY-7: simplifying PolarCoordinate toString/parse
representation
new fefd035 GEOMETRY-7: adding previous spherical gradient and Hessian
convertion to new SphericalDerivativeConverter class; removing old
SphericalCoordinates class
new f1a6d4b GEOMETRY-7: adding toSpherical() and ofSpherical() to
Cartesian 3D classes
new ccd1928 GEOMETRY-7: making PolarCoordinates and SphericalCoordinates
final; adding class javadocs
new 1c54b6c GEOEMTRY-7: removing spherical coordinate code for working
with jacobians and hessians since I'm not sure how it would be used; it can be
added back later if needed
new 2593603 GEOMETRY-7: creating static methods for azimuth and polar
angle normalization; using polar and spherical naming conventions and
conversion methods in S1Point and S2Point
new c892bfe GEOMETRY-7: changing polar/spherical azimuth convention from
(-pi, +pi] range to [0, 2pi) range in order to match S1Point and S2Point
conventions
new 9b3f388 GEOMETRY-7: merging polar and spherical code with latest from
master
new 6dc7b9b GEOMETRY-7: fixing Javadoc and CheckStyle issues
new 49adafa License header.
new d7b4a10 Merge branch 'GEOMETRY-7__matt'
The 15 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/commons/geometry/core/Geometry.java | 20 +-
.../apache/commons/geometry/core/GeometryTest.java | 66 ++++
.../geometry/euclidean/threed/Cartesian3D.java | 7 +
.../commons/geometry/euclidean/threed/Point3D.java | 21 +-
.../euclidean/threed/SphericalCoordinates.java | 312 ++++++++++++++++
.../geometry/euclidean/threed/Vector3D.java | 54 +--
.../geometry/euclidean/twod/Cartesian2D.java | 13 +-
.../commons/geometry/euclidean/twod/Point2D.java | 19 +-
.../geometry/euclidean/twod/PolarCoordinates.java | 262 ++++++++++++++
.../commons/geometry/euclidean/twod/Vector2D.java | 25 +-
.../geometry/euclidean/oned/Vector1DTest.java | 16 +
.../geometry/euclidean/threed/Cartesian3DTest.java | 45 +++
.../geometry/euclidean/threed/Point3DTest.java | 24 +-
.../euclidean/threed/SphericalCoordinatesTest.java | 399 +++++++++++++++++++++
.../geometry/euclidean/threed/Vector3DTest.java | 58 ++-
.../geometry/euclidean/twod/Cartesian2DTest.java | 50 ++-
.../geometry/euclidean/twod/Point2DTest.java | 31 +-
.../euclidean/twod/PolarCoordinatesTest.java | 362 +++++++++++++++++++
.../geometry/euclidean/twod/Vector2DTest.java | 47 ++-
.../geometry/spherical/SphericalCoordinates.java | 394 --------------------
.../commons/geometry/spherical/oned/ArcsSet.java | 4 +-
.../geometry/spherical/oned/LimitAngle.java | 2 +-
.../commons/geometry/spherical/oned/S1Point.java | 54 ++-
.../commons/geometry/spherical/package-info.java | 23 --
.../commons/geometry/spherical/twod/Circle.java | 2 +-
.../commons/geometry/spherical/twod/S2Point.java | 113 +++---
.../spherical/SphericalCoordinatesTest.java | 83 -----
.../geometry/spherical/SphericalTestUtils.java | 2 +-
.../geometry/spherical/oned/LimitAngleTest.java | 2 +-
.../geometry/spherical/oned/S1PointTest.java | 4 +-
.../geometry/spherical/twod/CircleTest.java | 10 +-
.../geometry/spherical/twod/S2PointTest.java | 20 +-
.../spherical/twod/SphericalPolygonsSetTest.java | 4 +-
33 files changed, 1810 insertions(+), 738 deletions(-)
create mode 100644
commons-geometry-core/src/test/java/org/apache/commons/geometry/core/GeometryTest.java
create mode 100644
commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/threed/SphericalCoordinates.java
create mode 100644
commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/twod/PolarCoordinates.java
create mode 100644
commons-geometry-euclidean/src/test/java/org/apache/commons/geometry/euclidean/threed/SphericalCoordinatesTest.java
create mode 100644
commons-geometry-euclidean/src/test/java/org/apache/commons/geometry/euclidean/twod/PolarCoordinatesTest.java
delete mode 100644
commons-geometry-spherical/src/main/java/org/apache/commons/geometry/spherical/SphericalCoordinates.java
delete mode 100644
commons-geometry-spherical/src/main/java/org/apache/commons/geometry/spherical/package-info.java
delete mode 100644
commons-geometry-spherical/src/test/java/org/apache/commons/geometry/spherical/SphericalCoordinatesTest.java