/** @packageDocumentation * @module OrbitGT */ import { Bounds } from "../geom/Bounds"; import { Coordinate } from "../geom/Coordinate"; /** * Abstract class CRSEngine provides a model for CRS transformation engines to implement. */ /** @internal */ export declare class CRSEngine { /** * Create a new engine. */ 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). */ 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. */ transformPoint(point: Coordinate, sourceCRS: string, targetCRS: string): Coordinate; /** * Check if a CRS is geocentric. * @param crs the CRS to check. * @return true if geocentric. */ isGeocentricCRS(crs: string): boolean; /** * Check if a CRS is geographic. * @param crs the CRS to check. * @return true if geocentric. */ isGeographicCRS(crs: string): boolean; /** * Check if a CRS is projected. * @param crs the CRS to check. * @return true if geocentric. */ isProjectedCRS(crs: string): boolean; /** * 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. */ transformBounds(bounds: Bounds, sourceCRS: string, targetCRS: string): Bounds; } //# sourceMappingURL=CRSEngine.d.ts.map