import Coordinate from '../Coordinate'; import { type CommonProjectionType } from './Projection'; import { type IdentityMeasurerType } from '../measurer'; declare const IdentityProjection: { /** * "IDENTITY", Code of the projection * @constant */ code: string; project: (p: Coordinate, out?: Coordinate) => Coordinate; unproject: (p: Coordinate, out?: Coordinate) => Coordinate; }; export type IdentityProjectionType = CommonProjectionType & typeof IdentityProjection & IdentityMeasurerType; /** * 基于笛卡尔坐标系的投影。
* 该投影直接映射 x、y,常用于平面地图(例如室内地图、游戏地图)。 * * @english * A projection based on Cartesian coordinate system.
* This projection maps x, y directly, it is useful for maps of flat surfaces (e.g. indoor maps, game maps). * * @category geo * @protected * @group projection * @name IDENTITY * {@inheritDoc projection.Common} * {@inheritDoc measurer.Identity} */ declare const _default: { code: string; is(code: string): boolean; project(p: Coordinate): Coordinate; unproject(p: Coordinate): Coordinate; projectCoords(coordinates: Coordinate[] | Coordinate[][] | Coordinate[][][], antiMeridian?: boolean): Coordinate[] | Coordinate[][] | Coordinate[][][]; unprojectCoords(projCoords: Coordinate[] | Coordinate[][] | Coordinate[][][]): Coordinate[] | Coordinate[][] | Coordinate[][][]; isSphere(): boolean; isOutSphere(pcoord: Coordinate): boolean; wrapCoord(pcoord: Coordinate): Coordinate; getCircum(): Record; getSphereExtent(): import("..").Extent; } & { /** * "IDENTITY", Code of the projection * @constant */ code: string; project: (p: Coordinate, out?: Coordinate) => Coordinate; unproject: (p: Coordinate, out?: Coordinate) => Coordinate; } & { measure: string; measureLenBetween: (c1: import("../Coordinate").CoordinateJson | Coordinate, c2: import("../Coordinate").CoordinateJson | Coordinate, ignoreAltitude?: boolean) => number; measureArea: (coordinates: (import("../Coordinate").CoordinateJson | Coordinate)[]) => number; locate: (c: import("../Coordinate").CoordinateJson | Coordinate, xDist: number, yDist: number, out?: Coordinate) => any; _locate: (c: Coordinate, xDist: number, yDist: number) => Coordinate; rotate: (c: import("../Coordinate").CoordinateJson | Coordinate, pivot: Coordinate, angle: number) => any; _rotate: (c: Coordinate, pivot: Coordinate, angle: number) => Coordinate; } & { measureLength: (c1: Coordinate, c2: Coordinate) => number; }; export default _default; //# sourceMappingURL=Projection.IDENTITY.d.ts.map