isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
StateVector.h
1 #pragma once
2 
3 #include "forward.h"
4 
5 #include "DateTime.h"
6 #include "Vector.h"
7 
8 namespace isce3 { namespace core {
9 
10 struct StateVector {
11  DateTime datetime;
12  Vec3 position;
13  Vec3 velocity;
14 };
15 
16 inline
17 bool operator==(const StateVector & lhs, const StateVector & rhs)
18 {
19  return lhs.datetime == rhs.datetime &&
20  lhs.position == rhs.position &&
21  lhs.velocity == rhs.velocity;
22 }
23 
24 inline
25 bool operator!=(const StateVector & lhs, const StateVector & rhs)
26 {
27  return !(lhs == rhs);
28 }
29 
30 }}
Definition: StateVector.h:10
Data structure to store date time to nano-sec precision.
Definition: DateTime.h:18

Generated for ISCE3.0 by doxygen 1.8.5.