public override BlhPoint ToWgs84(PointBase p)
        {
            double b, l;
            GetBL(p.Coord1.Value, p.Coord2.Value, out b, out l);

            var res = new BlhPoint();
            res.Assign(p);
            res.B = b;
            res.L = l;
            return res;
        }
示例#2
0
        public virtual void Assign(PointBase pnt)
        {
            this.Id = pnt.Id;

            AssignCoord(pnt.Coord1, this.Coord1);
            AssignCoord(pnt.Coord2, this.Coord2);
            AssignCoord(pnt.Coord3, this.Coord3);

            this.Code = pnt.Code;

            this.Tags.Clear();
            foreach (var k in pnt.Tags.Keys)
            {
                this.Tags[k] = pnt.Tags[k];
            }
        }
示例#3
0
 public override BlhPoint ToWgs84(PointBase p)
 {
     var res = new BlhPoint();
     res.Assign(p);
     return res;
 }
示例#4
0
 public override BlhPoint ToWgs84(PointBase p)
 {
     var w72 = (BlhPoint)p;
     return Wgs72ToWgs84(w72);
 }
 public abstract BlhPoint ToWgs84(PointBase p);