55 0, 0, 0, 0.0, 0.0, 0.0, 0,
56 "WGS84 to ITRF identity transform, a default value\n"
57 " (\"...since 1997, the WGS84 GPS broadcast ...\n"
58 " is consistent with the ITRS at better than 5-cm"
60 " Boucher & Altamimi 2001)",
70 "PZ90 to WGS84, determined by IGEX-98, reference\n"
71 " \"ITRS, PZ-90 and WGS 84: current realizations\n"
72 " and the related transformation parameters,\"\n"
73 " Journal Geodesy (2001), 75:613, by Boucher and"
75 " Use before 20 Sept 2007 17:00 UTC (ICD-2008 v5.1"
107 "PZ90 to ITRF(WGS84), determined by IGEX-98, reference\n"
108 " \"ITRS, PZ-90 and WGS 84: current realizations\n"
109 " and the related transformation parameters,\"\n"
110 " Journal Geodesy (2001), 75:613, by Boucher and"
112 " Use before 20 Sept 2007 17:00 UTC (ICD-2008 v5.1"
137 RefFramePair keyFwd(ptr->getFromFrame(), ptr->getToFrame());
138 RefFramePair keyBwd(ptr->getToFrame(), ptr->getFromFrame());
155 const auto& t = p->second.upper_bound(when);
156 const auto& pt = std::prev(t);
157 if (pt == p->second.end())
173 if (!getTransform(fromPos.getReferenceFrame(), toPos.getReferenceFrame(),
178 return xform->transform(fromPos, toPos);
187 if (!getTransform(fromPos.frame, toPos.frame, xform, when))
191 return xform->transform(fromPos, toPos);
204 if (!getTransform(srcFrame, tgtFrame, xform, when))
208 return xform->transform(fromPos, srcFrame, toPos);
221 if (!getTransform(srcFrame, tgtFrame, xform, when))
225 return xform->transform(fromPos, srcFrame, toPos);
232 double& tx,
double& ty,
double& tz,
238 if (!getTransform(srcFrame, tgtFrame, xform, when))
242 return xform->transform(fx, fy, fz, srcFrame, tx, ty, tz);