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 d7b4a10 Merge branch 'GEOMETRY-7__matt'
new b329f9b GEOMETRY-9: adding getMagnitude, getMagnitudeSq, and
withMagnitude methods to Euclidean vectors; creating Vectors utility class to
encapsulate vector norm methods
new 40a40bc merging with master
new 9d09f78 removing unnecessary Vector?D.of(Cartesian?D) methods;
conversion between points and vectors can be accomplished with toPoint() and
toVector() methods
new 03e4ff4 GEOMETRY-9: moving magnitude methods to main Vector
interface; simplifying 1D magnitude/normalize methods
new a78ced7 GEOMETRY-9: adding project and reject methods to Vector2D and
Vector3D; adding MultiDimensionalVector interface to contain new methods
new 2f44549 GEOMETRY-9: adding static project and reject methods
new 43cbc50 GEOMETRY-9: adding lerp method to Euclidean points and vectors
new 443a0a3 fixing report errors
new 37b158c removing overloading of 'of' method for points and vectors;
this allows those methods to be used directly as method references and removes
the need for internal factory objects, which simplifies the code
new 204b994 GEOMETRY-9, GEOMETRY-8: removing MultiDimensionalVector class
since project, reject, and angle do not require more than one dimension to work
mathematically; adding internal ZeroNormException class
new 5cfca2a GEOMETRY-9: making Vectors class internal per pull request
discussion
new 45bffa7 GEOMETRY-9: removing Point?D/Vector?D static convenience
methods to clean up API, per pull request discussion
new df6704f Unchecked exceptions should not appear in the "throws" clause.
new adbdc69 Merge branch 'GEOMETRY-9__matt'
The 14 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/Vector.java | 63 ++++-
.../geometry/core/internal/SimpleTupleFormat.java | 56 ++---
.../commons/geometry/core/internal/Vectors.java | 163 +++++++++++++
.../geometry/core/internal/VectorsTest.java | 179 ++++++++++++++
.../geometry/enclosing/WelzlEncloser3DTest.java | 6 +-
.../threed/enclosing/SphereGeneratorTest.java | 4 +-
.../twod/enclosing/DiskGeneratorTest.java | 4 +-
.../commons/geometry/euclidean/EuclideanPoint.java | 12 +
.../geometry/euclidean/EuclideanVector.java | 12 +
.../euclidean/internal/ZeroNormException.java | 50 ++++
.../geometry/euclidean/internal}/package-info.java | 7 +-
.../commons/geometry/euclidean/oned/Point1D.java | 34 +--
.../commons/geometry/euclidean/oned/Vector1D.java | 128 +++++++---
.../geometry/euclidean/threed/Cartesian3D.java | 13 --
.../commons/geometry/euclidean/threed/Line.java | 2 +-
.../commons/geometry/euclidean/threed/Plane.java | 4 +-
.../commons/geometry/euclidean/threed/Point3D.java | 39 ++--
.../geometry/euclidean/threed/Rotation.java | 6 +-
.../euclidean/threed/SphericalCoordinates.java | 16 +-
.../commons/geometry/euclidean/threed/SubLine.java | 2 +-
.../geometry/euclidean/threed/Vector3D.java | 218 +++++++++--------
.../geometry/euclidean/twod/Cartesian2D.java | 10 -
.../geometry/euclidean/twod/NestedLoops.java | 4 +-
.../commons/geometry/euclidean/twod/Point2D.java | 36 +--
.../geometry/euclidean/twod/PolarCoordinates.java | 16 +-
.../commons/geometry/euclidean/twod/Vector2D.java | 176 ++++++++------
.../geometry/euclidean/oned/Point1DTest.java | 39 +++-
.../geometry/euclidean/oned/Vector1DTest.java | 170 +++++++++++++-
.../geometry/euclidean/threed/Point3DTest.java | 47 ++--
.../euclidean/threed/SphericalCoordinatesTest.java | 2 +-
.../geometry/euclidean/threed/Vector3DTest.java | 259 ++++++++++++++++-----
.../geometry/euclidean/twod/Point2DTest.java | 45 ++--
.../euclidean/twod/PolarCoordinatesTest.java | 4 +-
.../geometry/euclidean/twod/Vector2DTest.java | 232 +++++++++++++-----
.../geometry/euclidean/twod/hull/ConvexHull2D.java | 2 +-
.../commons/geometry/spherical/oned/S1Point.java | 15 +-
.../commons/geometry/spherical/twod/Circle.java | 4 +-
.../commons/geometry/spherical/twod/Edge.java | 6 +-
.../geometry/spherical/twod/EdgesBuilder.java | 6 +-
.../spherical/twod/PropertiesComputer.java | 6 +-
.../commons/geometry/spherical/twod/S2Point.java | 17 +-
.../spherical/twod/SphericalPolygonsSet.java | 22 +-
.../commons/geometry/spherical/twod/SubCircle.java | 3 +-
.../geometry/spherical/twod/CircleTest.java | 60 +++--
.../spherical/twod/SphericalPolygonsSetTest.java | 82 +++----
45 files changed, 1602 insertions(+), 679 deletions(-)
create mode 100644
commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/Vectors.java
create mode 100644
commons-geometry-core/src/test/java/org/apache/commons/geometry/core/internal/VectorsTest.java
create mode 100644
commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/internal/ZeroNormException.java
copy
{commons-geometry-enclosing/src/main/java/org/apache/commons/geometry/euclidean/threed/enclosing
=>
commons-geometry-euclidean/src/main/java/org/apache/commons/geometry/euclidean/internal}/package-info.java
(78%)