s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
57 lines • 1.5 kB
TypeScript
import { ProjectionBase } from '.';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # van der Grinten (I)
*
* **Classification**: Miscellaneous
*
* **Available forms**: Forward and inverse, spherical projection
*
* **Defined area**: Global
*
* **Alias**: vandg
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=vandg
* ```
*
* ## Parameters
*
* All parameters are optional.
*
* - `+lon_0=<value>`: Central meridian.
* - `+R=<value>`: Radius of the sphere.
* - `+x_0=<value>`: False easting.
* - `+y_0=<value>`: False northing.
*
* 
*/
export declare class VanDerGrinten extends ProjectionBase implements ProjectionTransform {
name: string;
static names: string[];
R: number;
/**
* Preps an VanDerGrinten projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* VanDerGrinten forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* VanDerGrinten inverse equations--mapping x-y to lon-lat
* @param p - VanDerGrinten point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=vandg.d.ts.map