Пример #1
0
        public override TPoint ToGeodetic <TPoint>(TPoint point)
        {
            //return MapProjects.TransverseMercatorToGeodetic(point, this._ellipsoid);

            double tempX = (point.X - _falseEasting) / _scaleFactor;

            double tempY = (point.Y - _falseNorthing) / _scaleFactor;

            Point result = MapProjects.TransverseMercatorToGeodetic(new Point(tempX, tempY), _ellipsoid);

            return(new TPoint()
            {
                X = result.X + _centralMeridian,
                Y = result.Y + _latitudeOfOrigin
            });
        }