Non-owning reference to Orbit. More...
#include <OrbitView.h>
Public Member Functions | |
OrbitView (const Orbit &) | |
Create a non-owning view of the specified orbit object. | |
CUDA_DEV isce3::core::OrbitInterpMethod | interpMethod () const |
Interpolation method. | |
CUDA_DEV double | startTime () const |
Time of first state vector relative to reference epoch (s) | |
CUDA_DEV double | midTime () const |
Time of center of orbit relative to reference epoch (s) | |
CUDA_DEV double | endTime () const |
Time of last state vector relative to reference epoch (s) | |
CUDA_DEV double | spacing () const |
Time interval between state vectors (s) | |
CUDA_DEV int | size () const |
Number of state vectors in orbit. | |
CUDA_DEV const isce3::core::Linspace< double > & | time () const |
Get state vector times relative to reference epoch (s) | |
CUDA_DEV const isce3::core::Vec3 * | position () const |
Get state vector positions in ECEF coordinates (m) | |
CUDA_DEV const isce3::core::Vec3 * | velocity () const |
Get state vector velocities in ECEF coordinates (m/s) | |
CUDA_DEV double | time (int idx) const |
Get the specified state vector time relative to reference epoch (s) | |
CUDA_DEV const isce3::core::Vec3 & | position (int idx) const |
Get the specified state vector position in ECEF coordinates (m) | |
CUDA_DEV const isce3::core::Vec3 & | velocity (int idx) const |
Get the specified state vector velocity in ECEF coordinates (m/s) | |
CUDA_DEV isce3::error::ErrorCode | interpolate (isce3::core::Vec3 *position, isce3::core::Vec3 *velocity, double t, isce3::core::OrbitInterpBorderMode border_mode=isce3::core::OrbitInterpBorderMode::Error) const |
Interpolate platform position and/or velocity. More... | |
Non-owning reference to Orbit.
This class exports a device code interface for operating on orbit data.
|
inline |
Interpolate platform position and/or velocity.
[out] | position | Interpolated position |
[out] | velocity | Interpolated velocity |
[in] | t | Interpolation time |
[in] | border_mode | Mode for handling interpolation outside orbit domain |