s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
63 lines • 1.63 kB
TypeScript
import { ProjectionBase } from '.';
import type { VectorPoint } from '../../geometry';
import type { ProjectionParams, ProjectionTransform } from '.';
/**
* # Polyconic (American)
*
* **Classification**: Pseudoconical
*
* **Available forms**: Forward and inverse, spherical and ellipsoidal
*
* **Defined area**: Global
*
* **Alias**: poly
*
* **Domain**: 2D
*
* **Input type**: Geodetic coordinates
*
* **Output type**: Projected coordinates
*
* ## Projection String
* ```
* +proj=poly
* ```
*
* ## Required Parameters
* - None
*
* ## Optional Parameters
* - `+lon_0=<value>`: Central meridian.
* - `+ellps=<value>`: Ellipsoid used.
* - `+R=<value>`: Radius of the projection sphere.
* - `+x_0=<value>`: False easting.
* - `+y_0=<value>`: False northing.
*
* 
*/
export declare class Polyconic extends ProjectionBase implements ProjectionTransform {
name: string;
static names: string[];
temp: number;
e0: number;
e1: number;
e2: number;
e3: number;
ml0: number;
/**
* Preps an Polyconic projection
* @param params - projection specific parameters
*/
constructor(params?: ProjectionParams);
/**
* Polyconic forward equations--mapping lon-lat to x-y
* @param p - lon-lat WGS84 point
*/
forward(p: VectorPoint): void;
/**
* Polyconic inverse equations--mapping x-y to lon-lat
* @param p - Polyconic point
*/
inverse(p: VectorPoint): void;
}
//# sourceMappingURL=poly.d.ts.map