mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
14 lines
623 B
TypeScript
14 lines
623 B
TypeScript
import { Coordinate } from './coordinate';
|
|
import Geometry from './geom/Geometry';
|
|
import { ProjectionLike } from './proj';
|
|
|
|
export interface SphereMetricOptions {
|
|
projection?: ProjectionLike;
|
|
radius?: number;
|
|
}
|
|
export const DEFAULT_RADIUS: number;
|
|
export function getArea(geometry: Geometry, opt_options?: SphereMetricOptions): number;
|
|
export function getDistance(c1: any[], c2: any[], opt_radius?: number): number;
|
|
export function getLength(geometry: Geometry, opt_options?: SphereMetricOptions): number;
|
|
export function offset(c1: Coordinate, distance: number, bearing: number, opt_radius?: number): Coordinate;
|