Package Exports
- quick-hull-2d
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (quick-hull-2d) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-quick-hull-2d
Computes the convex hull of a given set of points using the Quick Hull algorithm.
Example
var qh = require("quick-hull-2d")
var points = [ [-1,0], [1,0], [0,1], [0,0.5] ]
var hull = qh(points)Demo
http://andrewseidl.github.io/node-quick-hull-2d/visualizer/
Install
npm install quick-hull-2dAPI
require("quick-hull-2d")(points)
pointsis a 2D array of points Returns Points in the convex hull, ordered counter-clockwise.
Credits
(c) 2013 Andrew Seidl. MIT License