UNPKG

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.

17 lines (16 loc) 387 B
/** * Interface for Geometry Classes * * @author clemdesign <contact@clemdesign.fr> * @license https://opensource.org/licenses/MIT * @link */ import { Coordinate } from "./Coordinate"; export interface GeometryInterface { /** * Returns an array containing all assigned points. * * @return array */ getPoints(): Array<Coordinate>; }