Skip to content

WargnerM/monotone-chain-convex-hull

 
 

Repository files navigation

monotone-chain-convex-hull

NPM version build status npm download

Monotone Chain Convex Hull algorithm.

Installation

$ npm install --save monotone-chain-convex-hull

Usage

import monotoneChainConvexHull from 'monotone-chain-convex-hull';

const result = monotoneChainConvexHull([[1, 1], [3, 0], [2, 1], [3, 2], [1, 2], [0, 2], [0, 0]]);
// result is [[0, 0], [0, 2], [3, 2], [3, 0]]

License

MIT

About

Monotone Chain Convex Hull algorithm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%