示例#1
0
文件: Mercator.cs 项目: kasznare/DIP1
        /// <summary>
        /// Project the given x y to lat long using the input lat long class to get the result.
        /// </summary>
        public override void InverseProject(CGeoLatLong rLatLong, double dX, double dY)
        {
            double dLat = Math.Atan(Math.Sinh(dX));

            double dLong = dY + m_dStandardLongitude;

            rLatLong.SetLat(dLat);

            rLatLong.SetLong(dLong);
        }
        /// <summary>
        /// Project the given x y to lat long using the input lat long class to get the result.
        /// </summary>
        public override void InverseProject(CGeoLatLong rLatLong, double dX, double dY)
        {
            double dLat = Math.Atan(Math.Sinh(dX));

            double dLong = dY + m_dStandardLongitude;

            rLatLong.SetLat(dLat);

            rLatLong.SetLong(dLong);
        }
        /// <summary>
        /// Project the given x y to lat long using the input lat long class to get the result.
        /// </summary>
        public override void InverseProject(CGeoLatLong rLatLong,  double dX,  double dY)
        {
            double dLatY = dY;

            double dLongX = dX;

            InverseProject(dLatY, dLongX);

            rLatLong.SetLat(dLatY);

            rLatLong.SetLong(dLongX);
        }
示例#4
0
文件: EckertVI.cs 项目: kasznare/DIP1
        /// <summary>
        /// Project the given x y to lat long using the input lat long class to get the result.
        /// </summary>
        public override void InverseProject(CGeoLatLong rLatLong, double dX, double dY)
        {
            double dLatY = dY;

            double dLongX = dX;

            InverseProject(dLatY, dLongX);

            rLatLong.SetLat(dLatY);

            rLatLong.SetLong(dLongX);
        }
示例#5
0
        /// <summary>
        /// Project the given x y to lat long using the input lat long class to get the result.
        /// </summary>
        public override void InverseProject(CGeoLatLong rLatLong, double dX, double dY)
        {
            double dD = dY + m_dStandardLongitude;

            double dLat = Math.Asin( Math.Sin(dD) * Math.Cos( dX) );

            double dLong = m_dStandardLongitude + Math.Atan2( Math.Tan(dX) , Math.Cos(dD));

            rLatLong.SetLat(dLat);

            rLatLong.SetLong(dLong);
        }
示例#6
0
文件: Cassini.cs 项目: kasznare/DIP1
        /// <summary>
        /// Project the given x y to lat long using the input lat long class to get the result.
        /// </summary>
        public override void InverseProject(CGeoLatLong rLatLong, double dX, double dY)
        {
            double dD = dY + m_dStandardLongitude;

            double dLat = Math.Asin(Math.Sin(dD) * Math.Cos(dX));

            double dLong = m_dStandardLongitude + Math.Atan2(Math.Tan(dX), Math.Cos(dD));

            rLatLong.SetLat(dLat);

            rLatLong.SetLong(dLong);
        }