Esempio n. 1
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 dLat = Math.Atan(Math.Sinh(dX));

            double dLong = dY + m_dStandardLongitude;

            rLatLong.SetLat(dLat);

            rLatLong.SetLong(dLong);
        }
Esempio n. 2
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 dLat = Math.Atan(Math.Sinh(dX));

            double dLong = dY + m_dStandardLongitude;

            rLatLong.SetLat(dLat);

            rLatLong.SetLong(dLong);
        }
Esempio n. 3
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 dLatY = dY;

            double dLongX = dX;

            InverseProject(dLatY, dLongX);

            rLatLong.SetLat(dLatY);

            rLatLong.SetLong(dLongX);
        }
Esempio n. 4
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 dLatY = dY;

            double dLongX = dX;

            InverseProject(dLatY, dLongX);

            rLatLong.SetLat(dLatY);

            rLatLong.SetLong(dLongX);
        }
Esempio n. 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);
        }
Esempio n. 6
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);
        }