Incremental n-dimensional convex hull algorithm
npm install incremental-convex-hullThis module is meant to be used internally by other modules for calculating convex hulls and Delaunay triangulations. You probably shouldn't call it directly unless you know what you are doing. Instead, there will (eventually) be a wrapper over this module that handles all the special cases and correctly generates a convex hull.


``javascript`
var ch = require("incremental-convex-hull")
var points = [
[0, 0, 0],
[0, 0, 1],
[0, 1, 0],
[1, 0, 0],
[1, 1, 1]
]
console.log(ch(points))
Output:
`javascript`
[ [ 0, 2, 3 ],
[ 1, 0, 3 ],
[ 0, 1, 2 ],
[ 2, 4, 3 ],
[ 4, 1, 3 ],
[ 1, 4, 2 ] ]
``
npm install incremental-convex-hull
#### require("incremental-convex-hull")(points[, randomInsert])points
Constructs a triangulation of the convex hull of by incremental insertion.
* points is a list of pointsrandomInsert` is a flag, which if set uses a randomized jump and walk instead of walking from the last inserted facet.
*
Returns A list of the boundary cells of the convex hull of the point cloud.
Notes This module works in any dimension greater than 2, though becomes pretty slow after 5d.
(c) 2014 Mikola Lysenko. MIT License