UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

26 lines 831 B
import { ProjectionBase } from '.'; import type { VectorPoint } from '../../geometry'; import type { ProjectionParams, ProjectionTransform } from '.'; /** * EquiRectangular Projection */ export declare class EquiRectangular extends ProjectionBase implements ProjectionTransform { name: string; static names: string[]; /** * Preps an EquiRectangular projection * @param params - projection specific parameters */ constructor(params?: ProjectionParams); /** * EquiRectangular forward equations--mapping lon-lat to x-y * @param p - lon-lat WGS84 point */ forward(p: VectorPoint): void; /** * EquiRectangular inverse equations--mapping x-y to lon-lat * @param p - EquiRectangular point */ inverse(p: VectorPoint): void; } //# sourceMappingURL=equi.d.ts.map