Go to the documentation of this file.
45 : scale(
std::numeric_limits<double>::quiet_NaN()),
46 description(
"Undefined")
55 double irx,
double iry,
double irz,
56 double itx,
double ity,
double itz,
57 double sc,
const std::string& desc,
65 InvalidRequest e(
"Invalid Helmert transformation with Unknown frame");
79 if ((::fabs(rx) > 1.e-3) || (::fabs(ry) > 1.e-3) || (::fabs(rz) > 1.e-3))
81 InvalidRequest e(
"Invalid Helmert transformation : "
82 "small angle approximation.");
114 if ((fromPos.getReferenceFrame() == fromFrame) &&
115 (toPos.getReferenceFrame() == toFrame))
124 res =
rotation*vec + scale*vec + translation;
128 toPos.setReferenceFrame(toFrame);
131 else if ((fromPos.getReferenceFrame() == toFrame) &&
132 (toPos.getReferenceFrame() == fromFrame))
145 toPos.setReferenceFrame(fromFrame);
157 pos.setReferenceFrame(fromPos.frame);
179 pos.setReferenceFrame(srcFrame);
180 if (srcFrame == fromFrame)
184 else if (srcFrame == toFrame)
211 pos.setReferenceFrame(srcFrame);
212 if (srcFrame == fromFrame)
216 else if (srcFrame == toFrame)
238 double& tx,
double& ty,
double& tz)
242 pos.setReferenceFrame(srcFrame);
243 if (srcFrame == fromFrame)
247 else if (srcFrame == toFrame)
RefFrameRlz getRealization() const noexcept
Return the reference frame realization represented by this object.
@ Cartesian
cartesian (Earth-centered, Earth-fixed)
void setReferenceFrame(const RefFrame &frame) noexcept
Matrix< T > rotation(T angle, int axis)
double Y() const noexcept
return Y coordinate (meters)
double Z() const noexcept
return Z coordinate (meters)
const RefFrame & getReferenceFrame() const noexcept
return coordinate RefFrame
SparseMatrix< T > transform(const SparseMatrix< T > &M, const SparseMatrix< T > &C)
SparseMatrix< T > transpose(const SparseMatrix< T > &M)
transpose
@ Unknown
Unknown system or uninitialized value.
double X() const noexcept
return X coordinate (meters)
#define GNSSTK_THROW(exc)
static const double DEG_TO_RAD
Conversion Factor from degrees to radians (units: degrees^-1)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39