@types/smallest-enclosing-circle
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/smallest-enclosing-circle

Weekly Downloads

37

Version

1.0.3

License

MIT

Unpacked Size

3.2 kB

Total Files

5

Last publish

Collaborators

  • types