Skip to content

Instantly share code, notes, and snippets.

View paulresdat's full-sized avatar

Paul Carlton paulresdat

  • Resource Data Inc
  • Anchorage
View GitHub Profile
@jhmt
jhmt / Vincenty.cs
Created June 14, 2020 06:42
C# implementation of Vincenty's formula direct problem
using System;
namespace Vincenty
{
public class Vincenty
{
private double RadiusLong = 6378137.0;
private double Flatts = 1 / 298.257222101;
private double RadiusShort => RadiusLong * (1 - Flatts);