UNPKG

ag-charts-enterprise

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

6 lines (5 loc) 515 B
import type { _ModuleSupport } from 'ag-charts-community'; export declare function polygonBbox(polygon: _ModuleSupport.Position[], into: _ModuleSupport.LonLatBBox | undefined): _ModuleSupport.LonLatBBox | undefined; export declare function polygonCentroid(polygon: _ModuleSupport.Position[]): _ModuleSupport.Position | undefined; /** Distance from a point to a polygon. Negative if inside the polygon. */ export declare function polygonDistance(polygons: _ModuleSupport.Position[][], x: number, y: number): number;