OSDN Git Service

定数を楕円体モデルごとに整理,Hieghtクラスに対応
[yubeshi/yubeshi.git] / Yubeshi / Degree.cs
index 4977bdd..893ff08 100755 (executable)
@@ -8,6 +8,7 @@
 using System;\r
 using System.Collections.Generic;\r
 using System.Text;\r
+using Const = Yubeshi.Constants.Wgs84;\r
 \r
 namespace Yubeshi\r
 {\r
@@ -15,8 +16,8 @@ namespace Yubeshi
     {\r
         #region fields\r
         private double degree;\r
-        private static readonly double degToRad = Constants.Pi / 180.0;\r
-        private static readonly double radToDeg = 180.0 / Constants.Pi;\r
+        private static readonly double degToRad = Const.Pi / 180.0;\r
+        private static readonly double radToDeg = 180.0 / Const.Pi;\r
         #endregion\r
 \r
         #region constructors\r