Socket
Socket
Sign inDemoInstall

alphashape-ts

Package Overview
Dependencies
25
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    alphashape-ts

TS-enabled version of alpha shape package created by Mikola Lysenko


Version published
Maintainers
1
Install size
1.03 MB
Created

Readme

Source

alphashape-ts

Typescript version of the alpha-shape package.

Forked from alpha-shape repo created by Mikola Lysenko.

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

alphashape-ts

Created by Zeyu Wang. MIT License

Credits

alpha-shape

Copyright (C) 2015 Mikola Lysenko. MIT License

Keywords

FAQs

Last updated on 04 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc