/// <summary>
        /// Inverse rotate.
        /// </summary>
        void Rotate(double dLatDegrees, double dLongDegrees)
        {
            CGeoLatLong rLatLong = new CGeoLatLong();
            rLatLong.SetLatDegrees(dLatDegrees);
            rLatLong.SetLongDegrees(dLongDegrees);

            Rotate(rLatLong);

            dLatDegrees = rLatLong.GetLatDegrees();
            dLongDegrees = rLatLong.GetLongDegrees();
        }
        /// <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 = dY;

            double dLong = dX;

            InverseProject(dLat, dLong);

            rLatLong.SetLatDegrees(dLat);

            rLatLong.SetLongDegrees(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 dLat = dY;

            double dLong = dX;

            InverseProject(dLat, dLong);

            rLatLong.SetLatDegrees(dLat);

            rLatLong.SetLongDegrees(dLong);
        }
Esempio n. 4
0
        /// <summary>
        /// Inverse rotate.
        /// </summary>
        void InverseRotate(double dLatDegrees, double dLongDegrees)
        {
            CGeoLatLong rLatLong = new CGeoLatLong();

            rLatLong.SetLatDegrees(dLatDegrees);
            rLatLong.SetLongDegrees(dLongDegrees);

            InverseRotate(rLatLong);

            dLatDegrees  = rLatLong.GetLatDegrees();
            dLongDegrees = rLatLong.GetLongDegrees();
        }