Пример #1
0
 public LgoAscBaseLine()
 {
     Baseline         = new  EstimatedBaseline();
     ErrorEllipse     = new LgoAscElementsOfAbsoluteErrorEllipse();
     AntennaBiasOfRov = new HeightOffset();
     AntennaBiasOfRef = new HeightOffset();
 }
Пример #2
0
        /// <summary>
        /// Elements of absolute error ellipse
        /// </summary>
        /// <param name="content"></param>
        /// <returns></returns>
        public static LgoAscElementsOfAbsoluteErrorEllipse ParseErrorEllipse(string content)
        {
            var items  = Geo.Utils.StringUtil.ParseDoubles(content, new char[] { ' ' });
            var result = new LgoAscElementsOfAbsoluteErrorEllipse()
            {
                SemiMajor            = items[0],
                SemiMinor            = items[1],
                OrientationInRadians = items[2],
                Height = items[3],
            };

            return(result);
        }
Пример #3
0
        public static string ToString(LgoAscElementsOfAbsoluteErrorEllipse elipse)
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(" ");
            sb.Append(ToString(elipse.SemiMajor, 12, 8));
            sb.Append(" ");
            sb.Append(ToString(elipse.SemiMinor, 12, 8));
            sb.Append(" ");
            sb.Append(ToString(elipse.OrientationInRadians, 12, 8));
            sb.Append(" ");
            sb.Append(ToString(elipse.Height, 12, 8));
            return(sb.ToString());
        }