/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; declare type float64 = number; import { Coordinate } from "../../geom/Coordinate"; import { CRS } from "../CRS"; import { Ellipsoid } from "../Ellipsoid"; import { Operation } from "../Operation"; import { OperationMethod } from "../OperationMethod"; import { ParameterValueList } from "../ParameterValueList"; /** * Class LambertConical2SP defines a Lambert Conical Conformal map projection with 2 standard parallels. * * The 'source' CRS is the geographic CRS. * The 'target' CRS is the projected CRS. * * Based on the following document: * * Coordinate Conversions and Transformations including Formulas * Guidance Note Number 7, part 2 * Revised May 2005 * Available at: http://www.epsg.org/ * * Formulas: see 1.4.1.1 -> 1.4.1.4 * * @version 1.0 July 2005 */ /** @internal */ export declare class LambertConical2SP extends OperationMethod { /** The code of this method */ static readonly METHOD_CODE: int32; /** The value of PI */ private static readonly PI; /** The half value of PI */ private static readonly hPI; /** Latitude of false origin */ private _latF; /** Longitude of false origin (the central meridian) */ private _lonF; /** Latitude of first standard parallel */ private _lat1; /** Latitude of second standard parallel */ private _lat2; /** Easting at false origin */ private _eF; /** Northing at false origin */ private _nF; private _e; private _a; private _m1; private _m2; private _t1; private _t2; private _tF; private _n; private _F; private _rF; /** * Create a new projection. * @param parameters the values of the parameters. */ constructor(parameters: ParameterValueList); /** * Get the sign of a number. */ private static sign; /** * Get the square of a number. */ private static square; /** * Calculate M. */ private static calcM; /** * Calculate T. */ private static calcT; /** * Calculate R. */ private static calcR; /** * Initialize the projection. * @param ellipsoid the ellipsoid to use. * @return this projection (for convenience). */ initializeProjection(ellipsoid: Ellipsoid): LambertConical2SP; /** * Do the projection. * @param lon the longitude (radians). * @param lat the latitude (radians). * @param projected the target projected coordinate (X and Y will be set). */ toProjection(lon: float64, lat: float64, projected: Coordinate): void; /** * Do the inverse projection. * @param x the easting. * @param y the northing. * @param geographic the target geographic coordinate (X/Lon and Y/Lat will be set) (radians). */ toGeoGraphic(x: float64, y: float64, geographic: Coordinate): void; /** * OperationMethod method. * @see OperationMethod#initialize */ initialize(operation: Operation): void; /** * OperationMethod interface method. * @see OperationMethod#forward */ forward(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void; /** * OperationMethod interface method. * @see OperationMethod#reverse */ reverse(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void; } export {}; //# sourceMappingURL=LambertConical2SP.d.ts.map