Skip to content
/ Geo4J Public

A geometry library for Java

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

macroing/Geo4J

Repository files navigation

Geo4J

Geo4J is a geometry library for Java. It is suitable for 2D- and 3D-graphics.

This project will supersede the old Math4J project and the Geometry APIs in the Dayflower project.

Getting Started

To clone this repository and build the project using Apache Ant, you can type the following in Git Bash.

git clone https://github.com/macroing/Geo4J.git
cd Geo4J
ant

Supported Features

  • org.macroing.geo4j.bv provides the Bounding Volume API.
  • org.macroing.geo4j.bv.aabb provides the Bounding Volume Axis Aligned Bounding Box API.
  • org.macroing.geo4j.bv.bs provides the Bounding Volume Bounding Sphere API.
  • org.macroing.geo4j.bv.hierarchy provides the Bounding Volume Hierarchy API.
  • org.macroing.geo4j.bv.ibv provides the Bounding Volume Infinite Bounding Volume API.
  • org.macroing.geo4j.bv.reader provides the Bounding Volume Reader API.
  • org.macroing.geo4j.common provides the Common API.
  • org.macroing.geo4j.quaternion provides the Quaternion API.
  • org.macroing.geo4j.matrix provides the Matrix API.
  • org.macroing.geo4j.mc provides the Morton Code API.
  • org.macroing.geo4j.onb provides the Orthonormal Basis API.
  • org.macroing.geo4j.ray provides the Ray API.
  • org.macroing.geo4j.shape provides the Shape API.
  • org.macroing.geo4j.shape.circle provides the Shape Circle API.
  • org.macroing.geo4j.shape.cone provides the Shape Cone API.
  • org.macroing.geo4j.shape.cs provides the Shape Compound Shape API.
  • org.macroing.geo4j.shape.curve provides the Shape Curve API.
  • org.macroing.geo4j.shape.cylinder provides the Shape Cylinder API.
  • org.macroing.geo4j.shape.disk provides the Shape Disk API.
  • org.macroing.geo4j.shape.hyperboloid provides the Shape Hyperboloid API.
  • org.macroing.geo4j.shape.ls provides the Shape Line Segment API.
  • org.macroing.geo4j.shape.paraboloid provides the Shape Paraboloid API.
  • org.macroing.geo4j.shape.plane provides the Shape Plane API.
  • org.macroing.geo4j.shape.polygon provides the Shape Polygon API.
  • org.macroing.geo4j.shape.rc provides the Shape Rectangular Cuboid API.
  • org.macroing.geo4j.shape.reader provides the Shape Reader API.
  • org.macroing.geo4j.shape.rectangle provides the Shape Rectangle API.
  • org.macroing.geo4j.shape.sphere provides the Shape Sphere API.
  • org.macroing.geo4j.shape.torus provides the Shape Torus API.
  • org.macroing.geo4j.shape.triangle provides the Shape Triangle API.

Documentation

The documentation for this library can be found in the Javadocs that are generated when building it using Apache Ant.

Library

The following table describes the different APIs and their current status in the library.

Name Javadoc Unit Test Package
Geo4J 100.0% 57.5% org.macroing.geo4j
Bounding Volume API 100.0% 100.0% org.macroing.geo4j.bv
Bounding Volume Axis Aligned Bounding Box API 100.0% 100.0% org.macroing.geo4j.bv.aabb
Bounding Volume Bounding Sphere API 100.0% 100.0% org.macroing.geo4j.bv.bs
Bounding Volume Hierarchy API 100.0% 0.0% org.macroing.geo4j.bv.hierarchy
Bounding Volume Infinite Bounding Volume API 100.0% 100.0% org.macroing.geo4j.bv.ibv
Bounding Volume Reader API 100.0% 0.0% org.macroing.geo4j.bv.reader
Common API 100.0% 100.0% org.macroing.geo4j.common
Matrix API 100.0% 100.0% org.macroing.geo4j.matrix
Morton Code API 100.0% 0.0% org.macroing.geo4j.mc
Orthonormal Basis API 100.0% 100.0% org.macroing.geo4j.onb
Quaternion API 100.0% 69.5% org.macroing.geo4j.quaternion
Ray API 100.0% 100.0% org.macroing.geo4j.ray
Shape API 100.0% 41.7% org.macroing.geo4j.shape
Shape Circle API 100.0% 100.0% org.macroing.geo4j.shape.circle
Shape Cone API 100.0% 36.8% org.macroing.geo4j.shape.cone
Shape Compound Shape API 100.0% 0.0% org.macroing.geo4j.shape.cs
Shape Curve API 100.0% 0.0% org.macroing.geo4j.shape.curve
Shape Cylinder API 100.0% 46.1% org.macroing.geo4j.shape.cylinder
Shape Disk API 100.0% 85.7% org.macroing.geo4j.shape.disk
Shape Hyperboloid API 100.0% 0.0% org.macroing.geo4j.shape.hyperboloid
Shape Line Segment API 100.0% 97.6% org.macroing.geo4j.shape.ls
Shape Paraboloid API 100.0% 39.4% org.macroing.geo4j.shape.paraboloid
Shape Plane API 100.0% 100.0% org.macroing.geo4j.shape.plane
Shape Polygon API 100.0% 43.8% org.macroing.geo4j.shape.polygon
Shape Reader API 100.0% 0.0% org.macroing.geo4j.shape.reader
Shape Rectangular Cuboid API 100.0% 0.0% org.macroing.geo4j.shape.rc
Shape Rectangle API 100.0% 69.0% org.macroing.geo4j.shape.rectangle
Shape Sphere API 100.0% 49.4% org.macroing.geo4j.shape.sphere
Shape Torus API 100.0% 18.0% org.macroing.geo4j.shape.torus
Shape Triangle API 100.0% 25.0% org.macroing.geo4j.shape.triangle

Dependencies

Note

This library has not reached version 1.0.0 and been released to the public yet. Therefore, you can expect that backward incompatible changes are likely to occur between commits. When this library reaches version 1.0.0, it will be tagged and available on the "releases" page. At that point, backward incompatible changes should only occur when a new major release is made.

About

A geometry library for Java

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages