UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

15 lines (14 loc) 516 B
declare module "polygon-clipping" { export type Pair = [number, number] export type Ring = Pair[] export type Polygon = Ring[] export type MultiPolygon = Polygon[] type Geom = Polygon | MultiPolygon export function intersection(geom: Geom, ...geoms: Geom[]): MultiPolygon export function xor(geom: Geom, ...geoms: Geom[]): MultiPolygon export function union(geom: Geom, ...geoms: Geom[]): MultiPolygon export function difference( subjectGeom: Geom, ...clipGeoms: Geom[] ): MultiPolygon }