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; }
public static BlhPoint Wgs84ToWgs72(BlhPoint pWgs84) { BlhPoint delta = GetDeltas(pWgs84.ɸ); BlhPoint res = new BlhPoint(); res.Assign(pWgs84); res.Id = pWgs84.Id; res.B = pWgs84.B - delta.B; res.L = pWgs84.L - delta.L; res.H = pWgs84.H - delta.H; return res; }
public override PointBase FromWgs84(BlhPoint p) { var res = new BlhPoint(); res.Assign(p); return res; }
public static BlhPoint Wgs72ToWgs84(BlhPoint pWgs72) { BlhPoint delta = GetDeltas(pWgs72.ɸ); BlhPoint res = new BlhPoint(); res.Assign(pWgs72); res.Id = pWgs72.Id; res.B = pWgs72.B + delta.B; res.L = pWgs72.L + delta.L; res.H = pWgs72.H + delta.H; return res; }
public override BlhPoint ToWgs84(PointBase p) { var res = new BlhPoint(); res.Assign(p); return res; }