alpha-shape

WebJar for alpha-shape

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

alpha-shape
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

alpha-shape
WebJar for alpha-shape
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mikolalysenko/alpha-shape

Download alpha-shape

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : simplicial-complex-boundary jar [1.0.0,2)
org.webjars.npm : alpha-complex jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

alpha-shape

Computes the alpha shape of a point set.

Try a demo right now

Example

var alphaShape = require('alpha-shape')

var points = []
for(var i=0; i<10; ++i) {
  points.push([Math.random(), Math.random()])
}

var cells = alphaShape(0.1, points)

console.log(cells)

Install

npm i alpha-shape

API

var cells = require('alpha-shape')(alpha, points)

Computes the alpha shape of a point set

  • alpha is alpha parameter for the shape
  • points is a set of points in some dimension

Returns The alpha shape of the point set

License

(c) 2015 Mikola Lysenko. MIT License

Versions

Version
1.0.0