12 #ifndef GEOCOORDINATE_H
13 #define GEOCOORDINATE_H
28 size_t GetSize()
const {
29 return sizeof(latitude) +
sizeof(longitude) +
sizeof(altitude);
31 std::string GetDescription()
const {
return "lla"; }
60 double longitude,
double altitude,
int n = 1);
82 void SetCoordinates(
double latitude,
double longitude,
double altitude);
92 double *altitude)
const;
94 Type const &GetDataType()
const {
return dataType; }
105 void RawRead(
char *ptr)
const;
116 #endif // GEOCOORDINATE_H
Abstract class for data types.
Definition: io_data.h:94
Definition: GeoCoordinate.h:26
Base class for all Framework's classes.
Definition: Object.h:83
namespace of the flair Framework
Definition: Ahrs.h:19
void SetCoordinates(double latitude, double longitude, double altitude)
Set coordinates.
Abstract class for data types.
~GeoCoordinate()
Destructor.
void CopyFrom(const GeoCoordinate *point)
Copy.
Class defining a point by its lla coordinates.
Definition: GeoCoordinate.h:24
void GetCoordinates(double *latitude, double *longitude, double *altitude) const
Get coordinates.
GeoCoordinate(const Object *parent, std::string name, const GeoCoordinate *point, int n=1)
Constructor.