SimulatedLocation.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace swarmio::simulator
4 {
10  class SimulatedLocation final
11  {
12  private:
13 
18  double _longitude;
19 
24  double _latitude;
25 
30  double _altitude;
31 
32  public:
33 
41  SimulatedLocation(double longitude, double latitude, double altitude)
42  : _longitude(longitude), _latitude(latitude), _altitude(altitude) { }
43 
49  double GetLongitude()
50  {
51  return _longitude;
52  }
53 
59  double GetLatitude()
60  {
61  return _latitude;
62  }
63 
69  double GetAltitude()
70  {
71  return _altitude;
72  }
73  };
74 }
SimulatedLocation(double longitude, double latitude, double altitude)
Construct a new Simulated Location object.
A location described by a latitude, a longitude and an altitude.


swarmros
Author(s):
autogenerated on Fri Apr 3 2020 03:42:48