/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { Coordinate } from "../geom/Coordinate"; import { CRS } from "./CRS"; /** * Class Transform transforms coordinates between coordinate reference systems. * * @version 1.0 September 2005 */ /** @internal */ export declare class Transform { /** The name of this module */ private static readonly MODULE; /** Define the different paths a CRS transformation can take */ private static readonly _SAME_CRS; private static readonly _FORWARD_PROJECTION; private static readonly _INVERSE_PROJECTION; private static readonly _TWO_PROJECTIONS; private static readonly _TO_WGS; private static readonly _FROM_WGS; private static readonly _FULL_TRANSFORM; private static readonly _VERTICAL; /** * Prevent instantiation. */ private constructor(); /** * Is a conversion between two coordinate systems possible/needed? * @param sourceCRS the name/code of the source reference system. * @param targetCRS the name/code of the target reference system. * @return true if a conversion is possible/needed. */ static canTransform(sourceCRS: string, targetCRS: string): boolean; /** * Do a vertical transform. * @param horizontalCRS the horizontal CRS. * @param fromVerticalCRS the vertical CRS to convert from. * @param from the coordinate to convert from. * @param toVerticalCRS the vertical CRS to convert to. * @param to the coordinate to convert to. */ static transformVertical(horizontalCRS: CRS, fromVerticalCRS: CRS, from: Coordinate, toVerticalCRS: CRS, to: Coordinate): void; /** * Get the transformation path from one CRS to another CRS. * @param sourceCRS the source reference system. * @param targetCRS the target reference system. * @return the transformation path. */ static getTransformPath(sourceCRS: CRS, targetCRS: CRS): int32; /** * Convert between two coordinate reference systems. * @param sourceCRS the source reference system. * @param from the coordinate to convert from. * @param targetCRS the target reference system. * @param to the coordinate to convert to. */ static transformWithPath(path: int32, sourceCRS: CRS, from: Coordinate, targetCRS: CRS, to: Coordinate): void; /** * Convert between two coordinate reference systems. * @param sourceCRS the source reference system. * @param from the coordinate to convert from. * @param targetCRS the target reference system. * @param to the coordinate to convert to. */ static transformCRS(sourceCRS: CRS, from: Coordinate, targetCRS: CRS, to: Coordinate): void; /** * Convert between two coordinate reference systems. * @param sourceCRS the name/code of the source reference system. * @param from the coordinate to convert from. * @param targetCRS the name/code of the target reference system. * @param to the coordinate to convert to. */ static transform(sourceCRS: string, from: Coordinate, targetCRS: string, to: Coordinate): void; } export {}; //# sourceMappingURL=Transform.d.ts.map