/** @packageDocumentation * @module OrbitGT */ import { Bounds } from "../geom/Bounds"; import { Coordinate } from "../geom/Coordinate"; import { Transform } from "../geom/Transform"; import { CRSEngine } from "./CRSEngine"; /** * Class CRSManager defines the main access point to the CRS transformation engine. */ /** @internal */ export declare class CRSManager { /** The main instance of the CRS engine. This needs to be set by the application on startup. */ static ENGINE: CRSEngine; /** * Allow no instances, all methods are static. */ private constructor(); /** * Prepare a CRS for making transforms in a certain area. * @param crs the CRS to prepare. * @param area the area to prepare for (can be invalid to prepare only for the crs). */ static prepareForArea(crs: string, area: Bounds): Promise; /** * Transform a coordinate from one CRS to another. * @param point the point coordinate. * @param sourceCRS the source CRS. * @param targetCRS the target CRS. * @return the transformed coordinate. */ static transformPoint(point: Coordinate, sourceCRS: string, targetCRS: string): Coordinate; /** * Transform spatial bounds from one CRS to another. * @param point the point coordinate. * @param sourceCRS the source CRS. * @param targetCRS the target CRS. * @return the transformed bounds. */ static transformBounds(bounds: Bounds, sourceCRS: string, targetCRS: string): Bounds; /** * Create an approximate 3D transformation from a source to a target CRS. * @param sourceCRS the source CRS. * @param sourcePoint the origin point in the source CRS. * @param targetCRS the target CRS. * @return the transform. */ static createTransform(sourceCRS: string, sourcePoint: Coordinate, targetCRS: string): Transform; } //# sourceMappingURL=CRSManager.d.ts.map