5 #include <isce3/core/Common.h>
6 #include <isce3/core/Linspace.h>
7 #include <isce3/core/Orbit.h>
8 #include <isce3/core/Vector.h>
9 #include <isce3/error/ErrorCode.h>
11 namespace isce3 {
namespace cuda {
namespace core {
64 double time(
int idx)
const {
return _time[idx]; }
84 isce3::error::ErrorCode
99 #define ISCE_CUDA_CORE_ORBITVIEW_ICC
100 #include "OrbitView.icc"
101 #undef ISCE_CUDA_CORE_ORBITVIEW_ICC
CUDA_DEV double startTime() const
Time of first state vector relative to reference epoch (s)
Definition: OrbitView.h:32
Raise error if interpolation attempted outside orbit domain.
CUDA_HOSTDEV constexpr int size() const
Number of samples.
Definition: Linspace.h:86
CUDA_DEV double endTime() const
Time of last state vector relative to reference epoch (s)
Definition: OrbitView.h:40
CUDA_DEV const isce3::core::Vec3 * position() const
Get state vector positions in ECEF coordinates (m)
Definition: OrbitView.h:56
CUDA_DEV const isce3::core::Vec3 & velocity(int idx) const
Get the specified state vector velocity in ECEF coordinates (m/s)
Definition: OrbitView.h:72
CUDA_DEV isce3::core::OrbitInterpMethod interpMethod() const
Interpolation method.
Definition: OrbitView.h:28
OrbitInterpMethod
Orbit interpolation method.
Definition: Orbit.h:20
CUDA_DEV double time(int idx) const
Get the specified state vector time relative to reference epoch (s)
Definition: OrbitView.h:64
CUDA_DEV int size() const
Number of state vectors in orbit.
Definition: OrbitView.h:48
CUDA_HOSTDEV constexpr T spacing() const
Sample spacing.
Definition: Linspace.h:76
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.
Definition: OrbitView.icc:21
CUDA counterpart of isce3::core::Orbit.
Definition: Orbit.h:22
Non-owning reference to Orbit.
Definition: OrbitView.h:18
CUDA_DEV double spacing() const
Time interval between state vectors (s)
Definition: OrbitView.h:44
Third-order Hermite polynomial interpolation.
CUDA_DEV const isce3::core::Vec3 * velocity() const
Get state vector velocities in ECEF coordinates (m/s)
Definition: OrbitView.h:60
CUDA_DEV const isce3::core::Vec3 & position(int idx) const
Get the specified state vector position in ECEF coordinates (m)
Definition: OrbitView.h:68
OrbitInterpBorderMode
Mode determining how interpolation outside of orbit domain is handled.
Definition: Orbit.h:26
CUDA_DEV const isce3::core::Linspace< double > & time() const
Get state vector times relative to reference epoch (s)
Definition: OrbitView.h:52
CUDA_DEV double midTime() const
Time of center of orbit relative to reference epoch (s)
Definition: OrbitView.h:36