Installation
npm install --save @types/smallest-enclosing-circle
Summary
This package contains type definitions for smallest-enclosing-circle (https://github.com/rowanwins/smallest-enclosing-circle#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/smallest-enclosing-circle.
index.d.ts
export as namespace smallestEnclosingCircle;
interface Point {
x: number;
y: number;
}
interface Circle extends Point {
r: number;
}
declare function enclosingCircle(points: readonly Point[]): Circle;
export = enclosingCircle;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Rajas Paranjpe.