s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
59 lines • 1.61 kB
TypeScript
import { ProjectionBase } from '.';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # Mollweide
*
* **Classification**: Pseudocylindrical
*
* **Available forms**: Forward and inverse, spherical projection
*
* **Defined area**: Global
*
* **Alias**: moll
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=moll
* ```
*
* ## Required Parameters
* - None
*
* ## Optional Parameters
* - `+lon_0`: Longitude of projection center. Defaults to `0`.
* - `+R`: Radius of the sphere.
* - `+x_0`: False easting. Defaults to `0`.
* - `+y_0`: False northing. Defaults to `0`.
*
* ## Further reading
* - [Wikipedia on Mollweide Projection](https://en.wikipedia.org/wiki/Mollweide_projection)
*
* 
*/
export declare class Mollweide extends ProjectionBase implements ProjectionTransform {
name: string;
static names: string[];
/**
* Preps an Mollweide projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* Mollweide forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* Mollweide inverse equations--mapping x-y to lon-lat
* @param p - Mollweide point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=moll.d.ts.map