You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
406 B
C++
21 lines
406 B
C++
#ifndef CPOSITION_H
|
|
#define CPOSITION_H
|
|
|
|
|
|
class cPosition
|
|
{
|
|
public:
|
|
cPosition(const cPosition& rhs);
|
|
cPosition(double dLatitude = 0, double dLongitude = 0, double dElevation = 0);
|
|
double getLatitude();
|
|
double getLongitude();
|
|
double getElevation();
|
|
cPosition& operator=(const cPosition& rhs);
|
|
protected:
|
|
double m_dLatitude;
|
|
double m_dLongitude;
|
|
double m_dElevation;
|
|
};
|
|
|
|
#endif // CPOSITION_H
|