だれかこれ↓をdelphi用の関数にしてほしい

平面直角座標と緯度経度の相互変換をするライブラリ。
https://gist.github.com/yubeneko/cbde0e3bae30eac4fab5457dc5b1f0a2