# @types/polygon-selfintersect

> TypeScript definitions for polygon-selfintersect

Latest version **1.0.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/polygon-selfintersect
pnpm add @types/polygon-selfintersect
yarn add @types/polygon-selfintersect
bun add @types/polygon-selfintersect
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-11-07 |
| First published | 2021-02-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/polygon-selfintersect
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/polygon-selfintersect
- npm.io page: https://npm.io/package/@types/polygon-selfintersect

## Recent versions

- 1.0.2 (latest) — 2023-11-07
- 1.0.0 (ts3.4) — 2021-02-18
- 1.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/polygon-selfintersect`

# Summary
This package contains type definitions for polygon-selfintersect (https://github.com/kmcs/polygon-selfintersect).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/polygon-selfintersect.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/polygon-selfintersect/index.d.ts)
````ts
/**
 * Find self-intersections of the polygon.
 *
 * @param points Array of the [x, y] points making up the polygon.
 * @param findAllLines Find all the intersection lines.
 * @return Returns `true` if a self-intersection has been found.
 */
export function findSelfIntersections(points: readonly number[][], findAllLines?: boolean): boolean;

/**
 * Get the self-intersection lines.
 */
export function getSelfIntersectLines(): number[][];

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Russ McKay](https://github.com/mcruss).

---
_Source: https://npm.io/package/@types/polygon-selfintersect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
