@allmaps/triangulate
Version:
Allmaps Triangulation Library
6 lines (5 loc) • 389 B
TypeScript
import type { Bbox, Ring, Polygon, Point } from '@allmaps/types';
export declare function interpolateRing(ring: Ring, dist: number): Ring;
export declare function interpolatePolygon(polygon: Polygon, dist: number): Polygon;
export declare function getGridPointsInBbox(bbox: Bbox, gridSize: number): Point[];
export declare function pointInPolygon(point: Point, polygon: Polygon): boolean;