import Coordinate, { CoordinateJson } from '../Coordinate'; import type { WithNull } from '../../types/typings'; declare const extended: { /** * the code of the measurer */ measure: string; /** * 计算两个坐标之间的距离 * * @english * Measure the length between 2 coordinates. * @param c1 * @param c2 */ measureLenBetween: (c1: Coordinate | CoordinateJson, c2: Coordinate | CoordinateJson, ignoreAltitude?: boolean) => number; /** * 测量给定闭合坐标的面积 * * @english * Measure the area closed by the given coordinates. * @param coordinates */ measureArea: (coordinates: (Coordinate | CoordinateJson)[]) => number; /** * 使用 x 轴距离和 y 轴距离从给定源坐标定位坐标 * @english * Locate a coordinate from the given source coordinate with a x-axis distance and a y-axis distance. * @param c * @param xDist * @param yDist * @param out */ locate: (c: Coordinate | CoordinateJson, xDist: number, yDist: number, out?: Coordinate) => any; /** * 使用 x 轴距离和 y 轴距离从给定源坐标定位坐标(这是一个私有方法) * @english * Locate a coordinate from the given source coordinate with a x-axis distance and a y-axis distance. * @param c - source coordinate * @param xDist - x-axis distance * @param yDist - y-axis distance * @private */ _locate: (c: Coordinate, xDist: number, yDist: number) => WithNull; /** * 绕枢轴旋转给定角度的坐标 * * @english * Rotate a coordinate of given angle around pivot * @param c - source coordinate * @param pivot - pivot * @param angle - angle in degree */ rotate: (c: Coordinate | CoordinateJson, pivot: Coordinate, angle: number) => any; /** * 绕枢轴旋转给定角度的坐标 * * @english * Rotate a coordinate of given angle around pivot * @param c - source coordinate * @param pivot - pivot * @param angle - angle in degree * @private */ _rotate: (c: Coordinate, pivot: Coordinate, angle: number) => Coordinate; } & { measureLength: (c1: Coordinate, c2: Coordinate) => number; }; export type IdentityMeasurerType = typeof extended; /** * Identity 的measurer,适用于笛卡尔坐标系 * @english * Identity measurer, a measurer for Cartesian coordinate system. * * @category geo * @protected * @group measurer * @module Identity * {@inheritDoc measurer.Common} */ export default extended; //# sourceMappingURL=Identity.d.ts.map