refactor: detect feature vertex

This commit is contained in:
max 2022-07-16 02:14:59 +03:00
parent 3410c48c58
commit 1888b04d54
4 changed files with 116 additions and 43 deletions

View file

@ -1,4 +1,4 @@
declare module "lineclip" {
export function polygon(points: number[][], bbox: number[]): number[][];
export function lineclip(points: number[][], bbox: number[], result: number[][]): number[][];
export function polygon(points: TPoints, bbox: [number, number, number, number]): TPoints;
export function lineclip(points: TPoints, bbox: [number, number, number, number], result: TPoints): TPoints;
}