Skip to content

dlang warper for Geodesic part of GeographicLib

Notifications You must be signed in to change notification settings

qbazd/geodesicd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeodesicD

dlang wraper for Geodesic part of GeographicLib 1.49. D Programming Language.

The simple wraper of inverse and direct functions.

Example

import geodesicd;
auto g1 = Geodesic(EllipsoidWGS84);
auto p1 = LatLon(54.5, 18.5);
auto p2 = LatLon(55.5, 17.5);
auto g_out1 = g1.inverse(p1, p2);

auto g_out2 = g1.direct(p1, AzDist(90.0, 50000.0));

Dependencies

  • dlang compiler
  • GCC - used for compilation of original geodesic C library as static library

TODO

  • rest of geodesic library
  • rewrite unittests from geodtest.c

About

dlang warper for Geodesic part of GeographicLib

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published