Example #1
0
 public LgoAscBaseLine()
 {
     Baseline         = new  EstimatedBaseline();
     ErrorEllipse     = new LgoAscElementsOfAbsoluteErrorEllipse();
     AntennaBiasOfRov = new HeightOffset();
     AntennaBiasOfRef = new HeightOffset();
 }
Example #2
0
        private static List <NamedXyz> PareToNamedXyz(ObjectTableStorage tableA)
        {
            List <NamedXyz> list = new List <NamedXyz>();

            foreach (var row in tableA.BufferedValues)
            {
                EstimatedBaseline obj = EstimatedBaseline.Parse(row);
                list.Add(new NamedXyz(obj.Name, obj.EstimatedVector));
            }
            return(list);
        }
Example #3
0
        /// <summary>
        /// 基线估值
        /// </summary>
        public IEstimatedBaseline GetEstimatedBaseline()
        {
            Vector correctionOfVector = this.ResultMatrix.Estimated;
            //估值向量,天线之间的向量??
            var xyz    = XYZ.Parse(correctionOfVector);
            var rms    = XYZ.Parse(this.ResultMatrix.Estimated.GetRmsVector());
            var result = new EstimatedBaseline(this.MaterialObj.First.BaseEpochInfo, this.MaterialObj.First.OtherEpochInfo, new RmsedXYZ(xyz, rms), new Matrix(ResultMatrix.CovaOfEstimatedParam.SubMatrix(0, 3)), ResultMatrix.StdDev)
            {
                ResultType     = this.ResultMatrix.ResultType,
                GnssSolverType = this.NameBuilder.Option.GnssSolverType
            };

            return(result);
        }
        private LineString BuildLineString(int netIndex, EstimatedBaseline baseLine)
        {
            var name = netIndex + "-" + baseLine.BaseLineName.RovName;
            var ptA  = new AnyInfo.Geometries.Point(baseLine.EstimatedGeoCoordOfRov, null, name);

            name = netIndex + "-" + baseLine.BaseLineName.RefName;
            var geoCoord   = CoordTransformer.XyzToGeoCoord(baseLine.ApproxXyzOfRef);
            var ptB        = new AnyInfo.Geometries.Point(geoCoord, null, name);
            var lineString = new LineString(new List <AnyInfo.Geometries.Point>()
            {
                ptA, ptB
            }, netIndex + "-" + baseLine.Name);

            return(lineString);
        }
        /// <summary>
        /// 基线估值
        /// </summary>
        public IEstimatedBaseline GetEstimatedBaseline()
        {
            if (baseline != null)
            {
                return(baseline);
            }

            Vector correctionOfVector = this.ResultMatrix.Estimated;
            //估值向量,天线之间的向量??
            var xyz    = XYZ.Parse(correctionOfVector);
            var rms    = XYZ.Parse(this.ResultMatrix.Estimated.GetRmsVector());
            var result = new EstimatedBaseline(this.MaterialObj.BaseEpochInfo, this.MaterialObj.OtherEpochInfo, new RmsedXYZ(xyz, rms), new Matrix(this.ResultMatrix.Estimated.InverseWeight.SubMatrix(0, 3)), this.ResultMatrix.StdDev);

            result.ResultType     = this.ResultMatrix.ResultType;
            result.GnssSolverType = Option.GnssSolverType;
            baseline = result;//保存

            return(result);
        }