@types/polygons-intersect
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/polygons-intersect

Summary

This package contains type definitions for polygons-intersect (https://github.com/DudaGod/polygons-intersect#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/polygons-intersect.

index.d.ts

/**
 * Finds all points where the polygons intersect each other.
 */
declare function intersection(
    poly1: Array<{ x: number; y: number }>,
    poly2: Array<{ x: number; y: number }>,
): Array<{ x: number; y: number }>;

export = intersection;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Konrad Klockgether.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/polygons-intersect

Weekly Downloads

112

Version

1.0.3

License

MIT

Unpacked Size

3.12 kB

Total Files

5

Last publish

Collaborators

  • types