monotone-chain-convex-hull
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

monotone-chain-convex-hull

NPM version 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]]

API Documentation

License

MIT

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i monotone-chain-convex-hull

    Weekly Downloads

    13,942

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    14.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • lpatiny
    • stropitek
    • targos
    • cheminfo-bot