tsgeo
Version:
TsGeo provides abstractions to geographical coordinates (including support for different ellipsoids) and allows you to calculate geographical distances between coordinates with high precision.
19 lines (18 loc) • 548 B
TypeScript
/**
* Implementation of distance calculation with Vincenty Method
*
* @author clemdesign <contact@clemdesign.fr>
* @license https://opensource.org/licenses/MIT
* @link
*/
import { DistanceInterface } from "./DistanceInterface";
import { Coordinate } from "../Coordinate";
export declare class Vincenty implements DistanceInterface {
/**
* @param {Coordinate} point1
* @param {Coordinate} point2
*
* @return number|null
*/
getDistance(point1: Coordinate, point2: Coordinate): number;
}