/// <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); }
/// <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(); }