concavehull

WebJar for concavehull

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bower
Идентификатор

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

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

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

0.1.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

concavehull
WebJar for concavehull
Ссылка на сайт

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

http://webjars.org
Система контроля версий

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

https://github.com/Wildhoney/ConcaveHull

Скачать concavehull

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

ConcaveHull

Travis   npm   License MIT


Based on the StackOverflow question about the CSharp implementation of a paper written by Adriano Moreira and Maribel Yasmina Santos from the University of Minho.

Initially a prototype was created by nredko – and this implementation is a refactor to transform it into a fully working module.

Getting Started

Using ConcaveHull is terribly simple – all you have to do is pass an array of objects that conform to the { lat: {Number}, lng: {Number} } format – in the case of Leaflet.js this is just an array of L.LatLng objects.

Once you have your array of latitudinal and longitudinal values, you can instantiate the object, and then invoke the getLatLngs method:

var latLngs = new ConcaveHull(latLngs).getLatLngs();

You can manually specify the maximum length of edges in metres by passing it into the constructor as the second argument:

var edgeLength = 35,
    latLngs    = new ConcaveHull(latLngs, edgeLength).getLatLngs();

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

Версия
0.1.5