transverse_mercator.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:blender-terrain 作者: vvoovv 项目源码 文件源码
def toGeographic(self, x, y):
        x = x/(self.k * self.radius)
        y = y/(self.k * self.radius)
        D = y + self.latInRadians
        lon = math.atan(math.sinh(x)/math.cos(D))
        lat = math.asin(math.sin(D)/math.cosh(x))

        lon = self.lon + math.degrees(lon)
        lat = math.degrees(lat)
        return (lat, lon)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号