@math.gl/polygon
Version:
Polygon/polyline processing utilities
17 lines • 826 B
TypeScript
import type { Polygon } from "./cut-by-grid.js";
import type { NumericArray } from '@math.gl/core';
/** https://user-images.githubusercontent.com/2059298/78465769-938b7a00-76ae-11ea-9b95-1f4c26425ab9.png */
export declare function cutPolylineByMercatorBounds(positions: Readonly<NumericArray>, options?: {
size?: number;
startIndex?: number;
endIndex?: number;
normalize?: boolean;
}): number[][];
/** https://user-images.githubusercontent.com/2059298/78465770-94241080-76ae-11ea-809a-6a8534dac1d9.png */
export declare function cutPolygonByMercatorBounds(positions: Readonly<NumericArray>, holeIndices?: Readonly<NumericArray> | null, options?: {
size?: number;
normalize?: boolean;
maxLatitude?: number;
edgeTypes?: boolean;
}): Polygon[];
//# sourceMappingURL=cut-by-mercator-bounds.d.ts.map