OSDN Git Service

LLH座標系に加えECEF座標系を追加
[yubeshi/yubeshi.git] / Yubeshi / EcefVelocity.cs
1 using System;\r
2 using System.Collections.Generic;\r
3 using System.Text;\r
4 \r
5 namespace Yubeshi\r
6 {\r
7     public class EcefVelocity\r
8     {\r
9         #region constructors\r
10         /// <summary>\r
11         ///     \r
12         /// </summary>\r
13         /// <param name="x">ECEF X velocity in cm/s</param>\r
14         /// <param name="y">ECEF Y velocity in cm/s</param>\r
15         /// <param name="z">ECEF Z velocity in cm/s</param>\r
16         /// <param name="accuracy">Speed Accuracy Estimate in cm/s</param>\r
17         public EcefVelocity(int x, int y, int z, uint accuracy)\r
18         {\r
19             X = x * 0.01;\r
20             Y = y * 0.01;\r
21             Z = z * 0.01;\r
22             Accuracy = accuracy * 0.01;\r
23         }\r
24         #endregion\r
25 \r
26         #region properties\r
27         public double X\r
28         {\r
29             get;\r
30             set;\r
31         }\r
32 \r
33         public double Y\r
34         {\r
35             get;\r
36             set;\r
37         }\r
38 \r
39         public double Z\r
40         {\r
41             get;\r
42             set;\r
43         }\r
44 \r
45         public double Accuracy\r
46         {\r
47             get;\r
48             set;\r
49         }\r
50         #endregion\r
51     }\r
52 }\r