You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2021/07/24 11:13:18 UTC
[commons-geometry] branch master updated (b9db536 -> cfe898c)
This is an automated email from the ASF dual-hosted git repository.
mattjuntunen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git.
from b9db536 updating docs to discuss possible runtime exceptions in IO methods
new 0b7b9b0 adding changes to changes.xml
new ec20f5e fixing osgi symbolic names
new cfe898c replacing lambda with method reference
The 3 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:
commons-geometry-io-core/pom.xml | 2 +-
commons-geometry-io-euclidean/pom.xml | 2 +-
.../geometry/spherical/twod/RegionBSPTree2S.java | 4 +-
src/changes/changes.xml | 48 +++++++++++++++++++++-
4 files changed, 50 insertions(+), 6 deletions(-)
[commons-geometry] 01/03: adding changes to changes.xml
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git
commit 0b7b9b07a3f00783bdeac6a3eaac744bbcfe41eb
Author: Matt Juntunen <ma...@apache.org>
AuthorDate: Sat Jul 24 07:11:27 2021 -0400
adding changes to changes.xml
---
src/changes/changes.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 46 insertions(+), 2 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9dd1eea..fb9b9cc 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -58,9 +58,53 @@ Apache Commons Geometry 1.0 contains the following library modules:
commons-geometry-core (requires Java 8+)
commons-geometry-euclidean (requires Java 8+)
commons-geometry-spherical (requires Java 8+)
- commons-geometry-hull (requires Java 8+)
- commons-geometry-enclosing (requires Java 8+)
+ commons-geometry-io-core (requires Java 8+)
+ commons-geometry-io-euclidean (requires Java 8+)
">
+ <action dev="mattjuntunen" type="update" issue="GEOMETRY-13">
+ Use Norms.EUCLIDEAN from Commons Numbers to compute 3D Euclidean norm values.
+ </action>
+ <action dev="mattjuntunen" type="update" issue="GEOMETRY-126">
+ Replace VectorXD.linearCombination methods with VectorXD.Sum classes. Use
+ Sum class from Commons Numbers for computing internal linear combinations.
+ </action>
+ <action dev="mattjuntunen" type="update" issue="GEOMETRY-124">
+ Replace DoublePrecisionContext with Precision.DoubleEquivalence from Commons Numbers.
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-118">
+ Add coordinate-specific transform methods to AffineTransformMatrixXD classes, e.g.
+ "applyX", "applyY", "applyZ".
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-95">
+ Add solid geometry tutorial.
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-120">
+ Add SimpleTriangleMeshBuilder.addFace(int[]) method as alternative to
+ addFace(int, int, int).
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-117" due-to="Christoph Läubrich">
+ Add shear methods to AffineTransformMatrix2D.
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-119">
+ Add VectorXD.normalizeOrNull() methods so that callers can detect normalization failures
+ without needing to catch an exception.
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-115">
+ Add modules for IO functionality: commons-geometry-io-core, commons-geometry-io-euclidean.
+ </action>
+ <action dev="mattjuntunen" type="fix" issue="GEOMETRY-116">
+ Fix incorrect OSGi headers. Reported by Christoph Läubrich.
+ </action>
+ <action dev="mattjuntunen" type="update" issue="GEOMETRY-109">
+ Rename the BoundarySourceXX.from() static factory methods to "of" to better match
+ the JDK's Stream.of() method.
+ </action>
+ <action dev="mattjuntunen" type="add" issue="GEOMETRY-108">
+ Add BoundaryList interface and implementation classes.
+ </action>
+ <action dev="mattjuntunen" type="update" issue="GEOMETRY-103" due-to="Arturo Bernal">
+ Migrate unit tests to JUnit 5.
+ </action>
</release>
<release version="1.0-beta1" date="2020-07-20" description="
[commons-geometry] 02/03: fixing osgi symbolic names
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git
commit ec20f5e680106e4c1b228039e685575c4ef19e26
Author: Matt Juntunen <ma...@apache.org>
AuthorDate: Sat Jul 24 07:11:51 2021 -0400
fixing osgi symbolic names
---
commons-geometry-io-core/pom.xml | 2 +-
commons-geometry-io-euclidean/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-geometry-io-core/pom.xml b/commons-geometry-io-core/pom.xml
index 23964df..e21f30d 100644
--- a/commons-geometry-io-core/pom.xml
+++ b/commons-geometry-io-core/pom.xml
@@ -33,7 +33,7 @@
<properties>
<!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.geometry.io.core.*</commons.osgi.symbolicName>
+ <commons.osgi.symbolicName>org.apache.commons.geometry.io.core</commons.osgi.symbolicName>
<commons.osgi.export>org.apache.commons.geometry.io.core.*</commons.osgi.export>
<!-- Java 9+ -->
<commons.automatic.module.name>org.apache.commons.geometry.io.core</commons.automatic.module.name>
diff --git a/commons-geometry-io-euclidean/pom.xml b/commons-geometry-io-euclidean/pom.xml
index f01a426..f915f2f 100644
--- a/commons-geometry-io-euclidean/pom.xml
+++ b/commons-geometry-io-euclidean/pom.xml
@@ -33,7 +33,7 @@
<properties>
<!-- OSGi -->
- <commons.osgi.symbolicName>org.apache.commons.geometry.io.euclidean.*</commons.osgi.symbolicName>
+ <commons.osgi.symbolicName>org.apache.commons.geometry.io.euclidean</commons.osgi.symbolicName>
<commons.osgi.export>org.apache.commons.geometry.io.euclidean.*</commons.osgi.export>
<!-- Java 9+ -->
<commons.automatic.module.name>org.apache.commons.geometry.io.euclidean</commons.automatic.module.name>
[commons-geometry] 03/03: replacing lambda with method reference
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-geometry.git
commit cfe898c5e5265b60f0c281f6bdae6a63ff4ddbf6
Author: Matt Juntunen <ma...@apache.org>
AuthorDate: Sat Jul 24 07:12:19 2021 -0400
replacing lambda with method reference
---
.../org/apache/commons/geometry/spherical/twod/RegionBSPTree2S.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-geometry-spherical/src/main/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2S.java b/commons-geometry-spherical/src/main/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2S.java
index 026cd9f..df56661 100644
--- a/commons-geometry-spherical/src/main/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2S.java
+++ b/commons-geometry-spherical/src/main/java/org/apache/commons/geometry/spherical/twod/RegionBSPTree2S.java
@@ -69,7 +69,7 @@ public class RegionBSPTree2S extends AbstractRegionBSPTree<Point2S, RegionBSPTre
/** {@inheritDoc} */
@Override
public Iterable<GreatArc> boundaries() {
- return createBoundaryIterable(b -> (GreatArc) b);
+ return createBoundaryIterable(GreatArc.class::cast);
}
/** {@inheritDoc} */
@@ -81,7 +81,7 @@ public class RegionBSPTree2S extends AbstractRegionBSPTree<Point2S, RegionBSPTre
/** {@inheritDoc} */
@Override
public List<GreatArc> getBoundaries() {
- return createBoundaryList(b -> (GreatArc) b);
+ return createBoundaryList(GreatArc.class::cast);
}
/** Get the boundary of the region as a list of connected great arc paths. The