UNPKG

@types/graham_scan

Version:
27 lines (20 loc) 816 B
# Installation > `npm install --save @types/graham_scan` # Summary This package contains type definitions for graham_scan (https://github.com/brian3kb/graham_scan_js). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graham_scan. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graham_scan/index.d.ts) ````ts declare class ConvexHullGrahamScan { addPoint(x: number, y: number): void; getHull(): Array<{ x: number; y: number }>; } export = ConvexHullGrahamScan; export as namespace ConvexHullGrahamScan; ```` ### Additional Details * Last updated: Mon, 20 Nov 2023 23:36:24 GMT * Dependencies: none # Credits These definitions were written by [Harm Berntsen](https://github.com/hberntsen).