Something to put into a TransformLibrary without any overhead.
Definition at line 58 of file TransformLibrary_T.cpp.
|
| FakeTransformer (gnsstk::RefFrameRlz fromRlz, gnsstk::RefFrameRlz toRlz) |
|
| FakeTransformer (gnsstk::RefFrameRlz fromRlz, gnsstk::RefFrameRlz toRlz, const gnsstk::CommonTime &start) |
|
bool | transform (const gnsstk::Position &fromPos, gnsstk::Position &toPos) const noexcept override |
|
bool | transform (const gnsstk::Triple &fromPos, const gnsstk::RefFrame &srcFrame, gnsstk::Triple &toPos) const noexcept override |
|
bool | transform (const gnsstk::Vector< double > &fromPos, const gnsstk::RefFrame &srcFrame, gnsstk::Vector< double > &toPos) const noexcept override |
|
bool | transform (const gnsstk::Xvt &fromPos, gnsstk::Xvt &toPos) const noexcept override |
|
bool | transform (double fx, double fy, double fz, const gnsstk::RefFrame &srcFrame, double &tx, double &ty, double &tz) const noexcept override |
|
const CommonTime & | getEpoch () const noexcept |
|
const RefFrame & | getFromFrame () const noexcept |
| Return the RefFrame this Transformer will convert from. More...
|
|
const RefFrame & | getToFrame () const noexcept |
| Return the RefFrame this Transformer will convert to. More...
|
|
| Transformer () |
|
◆ FakeTransformer() [1/2]
◆ FakeTransformer() [2/2]
◆ transform() [1/5]
|
inlineoverridevirtualnoexcept |
Convert a position from the reference frame in fromPos to that in toPos.
- Precondition
- RefFrame must be set in both fromPos and toPos.
-
Coordinates must be set in fromPos.
- Postcondition
- Coordinates in toPos reference frame realization are set in toPos.
- Parameters
-
[in] | fromPos | The Position to be converted. |
[in,out] | toPos | The Position to store the converted position. |
- Returns
- true on success, false on failure (typically if the Position RefFrame objects don't match the ones in this Transformer).
Implements gnsstk::Transformer.
Definition at line 73 of file TransformLibrary_T.cpp.
◆ transform() [2/5]
|
inlineoverridevirtualnoexcept |
Convert a position in fromPos from the reference frame in srcFrame to that in tgtFrame.
- Precondition
- Coordinates must be set in fromPos.
- Postcondition
- Coordinates in toFrame reference frame realization are set in toPos. Velocity and clock offset are unaffected.
- Parameters
-
[in] | fromPos | The Vector whose position is to be converted. |
[in] | srcFrame | The RefFrame of the coordinates in fromPos. |
[out] | toPos | The Vector to store the converted position. |
- Returns
- true on success, false on failure (typically if srcFrame doesn't match fromFrame).
Implements gnsstk::Transformer.
Definition at line 84 of file TransformLibrary_T.cpp.
◆ transform() [3/5]
|
inlineoverridevirtualnoexcept |
Convert a position from the reference frame in fromPos to that in toPos.
- Precondition
- Coordinates must be set in fromPos.
- Postcondition
- Coordinates in toFrame reference frame realization are set in toPos. Velocity and clock offset are unaffected.
- Parameters
-
[in] | fromPos | The Vector whose position is to be converted. |
[in] | srcFrame | The RefFrame of the coordinates in fromPos. |
[out] | toPos | The Vector to store the converted position. |
- Returns
- true on success, false on failure (typically if srcFrame doesn't match fromFrame).
Implements gnsstk::Transformer.
Definition at line 79 of file TransformLibrary_T.cpp.
◆ transform() [4/5]
|
inlineoverridevirtualnoexcept |
Convert a position from the reference frame in fromPos to that in toPos.
- Precondition
- RefFrame must be set in both fromPos and toPos.
-
Coordinates must be set in fromPos.
- Postcondition
- Coordinates in toPos reference frame realization are set in toPos. Velocity and clock offset are unaffected.
- Parameters
-
[in] | fromPos | The Xvt whose position is to be converted. |
[in,out] | toPos | The Xvt to store the converted position. |
- Returns
- true on success, false on failure (typically if the Xvt RefFrame objects don't match the ones in this Transformer).
Implements gnsstk::Transformer.
Definition at line 76 of file TransformLibrary_T.cpp.
◆ transform() [5/5]
bool FakeTransformer::transform |
( |
double |
fx, |
|
|
double |
fy, |
|
|
double |
fz, |
|
|
const gnsstk::RefFrame & |
srcFrame, |
|
|
double & |
tx, |
|
|
double & |
ty, |
|
|
double & |
tz |
|
) |
| const |
|
inlineoverridevirtualnoexcept |
Convert 3 doubles from the reference frame in srcFrame to that in tgtFrame.
- Precondition
- Coordinates must be set in fromPos.
- Postcondition
- Coordinates in toFrame reference frame realization are set in toPos. Velocity and clock offset are unaffected.
- Parameters
-
[in] | fx | ECEF x coordinate in meters in srcFrame. |
[in] | fy | ECEF y coordinate in meters in srcFrame. |
[in] | fz | ECEF z coordinate in meters in srcFrame. |
[in] | srcFrame | The RefFrame of the coordinates in fromPos. |
[out] | tx | ECEF x coordinate in meters in srcFrame. |
[out] | ty | ECEF y coordinate in meters in srcFrame. |
[out] | tz | ECEF z coordinate in meters in srcFrame. |
- Returns
- true on success, false on failure (typically if srcFrame doesn't match fromFrame).
Implements gnsstk::Transformer.
Definition at line 89 of file TransformLibrary_T.cpp.
The documentation for this class was generated from the following file: