任何 Java 二维向量(几何)库? Stable/maintained/perspective?

Any Java library for 2D vectors (geometry)? Stable/maintained/perspective?

我正在处理一个 SVG 项目,我需要做一些使用二维向量的几何计算。我想知道是否有一些稳定的、广泛使用的、维护的库。 我找到了 javax.vecmath 及其 class Vector2d,但最新版本是 2015 年的,它的主页已经死了。 有什么想法或建议吗?

我会推荐 Apache Commons Math (https://commons.apache.org/proper/commons-math/)。

Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in the Java programming language or Commons Lang.

它有 Vector2D 和更多有用的数学 类。 (https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/geometry/euclidean/twod/Vector2D.html)