Skip to content

Jeometry 1.0.5

Latest
Compare
Choose a tag to compare
@jorigin jorigin released this 16 Apr 15:45
· 3 commits to master since this release

Jeometry 1.0.5 release.

Integration

Jeometry can be used as a Maven dependency or as a standalone library.

Maven

Jeometry is available at Maven Central.

To import the library, add the following parts to the maven project:

<!-- You can update the properties section with Jeometry version -->
<properties>
  <jeometry.version>1.0.5</jeometry.version> 
</properties>

<!-- The Jeometry API that contains all interfaces -->
<dependency>
  <groupId>org.jorigin</groupId>
  <artifactId>jeometry-api</artifactId>
  <version>${jeometry.version}</version>
</dependency>

<!-- (Optional) The Jeometry module that contains geometric algorithms implementations -->
<dependency>
  <groupId>org.jorigin</groupId>
  <artifactId>jeometry-algorithm</artifactId>
  <version>${jeometry.version}</version>
</dependency>

<!-- The Jeometry Simple implementation -->
<!-- At least one api implementation is needed -->
<dependency>
  <groupId>org.jorigin</groupId>
  <artifactId>jeometry-simple</artifactId>
  <version>${jeometry.version}</version>
</dependency>

Standalone

Jeometry can be used as standalone library by integrating the jars provided by a release to the classpath.
Be carrefull to also integrate the JCommon dependency.

Changelog

Added

  • Project jeometry-algorithm that contains geometric algorithms implementation
  • Class org.jeometry.geom3D.algorithm.bounds.org.jeometry.geom3D.algorithm.bounds.AxisAlignedBoundingBox

Refactor

  • Javadoc updated
  • Moved package org.jeometry.geom3D.algorithm from jeometry-api to jeometry-algorithm project
  • Class ArrayCoordinatesPoint3DConainer moved from jeometry-api to jeometry-simple
  • Class ArrayListPoint3DContainer moved from jeometry-api to jeometry-simple
  • Class org.jeometry.geom3D.algorithm.ConvexDecomposition moved to package org.jeometry.geom3D.algorithm.decomposition.ConvexDecomposition
  • Geom3D public static Box computeAxisAlignedBoundingBox(Collection<? extends Point3D> points) moved to AxisAlignedBoundingBox.
  • Geom3D public static Box computeAxisAlignedBoundingBox(Point3DContainer<?> points) moved to AxisAlignedBoundingBox.
  • Geom3D public static Box computeAxisAlignedBoundingBox(Mesh<?> polyhedron) moved to AxisAlignedBoundingBox.
  • Geom3D public static <T extends Point3D> List<Mesh<T>> computeConvexDecomposition(Mesh<T> polyhedron) moved to ConvexDecomposition.

Removed

  • Geom3D public static double dot(Point3D v1, Point3D v2), use Point3D dot method instead.
  • Geom3D public static Point3D cross(Point3D v1, Point3D v2), use Point3D cross method instead.