Geometry

Basic geometric primitives and operations.

Лицензия

Лицензия

Категории

Категории

Geo Прикладные библиотеки Geospatial
Группа

Группа

hu.kazocsaba.math
Идентификатор

Идентификатор

geometry
Последняя версия

Последняя версия

1.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Geometry
Basic geometric primitives and operations.
Ссылка на сайт

Ссылка на сайт

https://github.com/kazocsaba/geometry
Система контроля версий

Система контроля версий

https://github.com/kazocsaba/geometry.git

Скачать geometry

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/hu.kazocsaba.math/geometry/ -->
<dependency>
    <groupId>hu.kazocsaba.math</groupId>
    <artifactId>geometry</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/hu.kazocsaba.math/geometry/
implementation 'hu.kazocsaba.math:geometry:1.1.2'
// https://jarcasting.com/artifacts/hu.kazocsaba.math/geometry/
implementation ("hu.kazocsaba.math:geometry:1.1.2")
'hu.kazocsaba.math:geometry:jar:1.1.2'
<dependency org="hu.kazocsaba.math" name="geometry" rev="1.1.2">
  <artifact name="geometry" type="jar" />
</dependency>
@Grapes(
@Grab(group='hu.kazocsaba.math', module='geometry', version='1.1.2')
)
libraryDependencies += "hu.kazocsaba.math" % "geometry" % "1.1.2"
[hu.kazocsaba.math/geometry "1.1.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
hu.kazocsaba.math : matrix jar 1.1.0

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.4

Модули Проекта

Данный проект не имеет модулей.

Geometry library

This library provides simple geometric data structures and associated operations. All the data container classes are immutable.

This library depends on my matrix package.

Using

The library resides in the central Maven repository with group ID hu.kazocsaba.math and artifact ID geometry. If you use a project management system which can fetch dependencies from there, you can just add the library as a dependency. E.g. in Maven:

<dependency>
	<groupId>hu.kazocsaba.math</groupId>
	<artifactId>geometry</artifactId>
	<version>a.b.c</version>
</dependency>

You can also browse the online javadoc.

Features

Line in 2D and 3D space, represented as X(t)=P+t*D

  • distance of point from line, distance between two lines
  • rotation around 3D line
  • miscellaneous convenience query functions

Plane in 3D space

  • distance of point from plane
  • intersection with line and plane

Segment in 2D and 3D

  • perpendicular bisector line in 2D

Box in 2D

  • intersection with line (returns a segment)

Circle in 3D

Additional features are added as needed.

Версии библиотеки

Версия
1.1.2
1.1.1
1.1.0
1.0.0