29 for (
int i = 0; i < 3; i++)
31 os <<
"pos[" << i <<
"]:" << data.
_pos[i] << std::endl;
34 for (
int i = 0; i < 3; i++)
36 os <<
"vel[" << i <<
"]:" << data.
_vel[i] << std::endl;
46 for (
int i = 0; i < 3; i++)
49 data.
_pos[i] = atof(buf);
52 for (
int i = 0; i < 3; i++)
55 data.
_vel[i] = atof(buf);
62 for (
int i = 0; i < 3; i++)
67 for (
int i = 0; i < 3; i++)
75 for (
int i = 0; i < 3; i++)
80 for (
int i = 0; i < 3; i++)
double _vel[3]
Data point velocity (mm/s)
double _pos[3]
Data point position (m)
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
This class is able to read a position vector record.
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
AlosPalsarPositionVectorRecord()
Constructor.
std::basic_istream< char > istream
Base class for char input streams.
AlosPalsarPositionVectorRecord & operator=(const AlosPalsarPositionVectorRecord &rhs)
Copy operator.
~AlosPalsarPositionVectorRecord()
Destructor.
std::basic_ostream< char > ostream
Base class for char output streams.