Public Member Functions | Private Attributes | List of all members
swarmio::simulator::SimulatedLocation Class Referencefinal

A location described by a latitude, a longitude and an altitude. More...

#include <SimulatedLocation.h>

Public Member Functions

double GetAltitude ()
 Get altitude. More...
 
double GetLatitude ()
 Get latitude. More...
 
double GetLongitude ()
 Get longitude. More...
 
 SimulatedLocation (double longitude, double latitude, double altitude)
 Construct a new Simulated Location object. More...
 

Private Attributes

double _altitude
 Altitude. More...
 
double _latitude
 Latitude. More...
 
double _longitude
 Longitude. More...
 

Detailed Description

A location described by a latitude, a longitude and an altitude.

Definition at line 10 of file SimulatedLocation.h.

Constructor & Destructor Documentation

swarmio::simulator::SimulatedLocation::SimulatedLocation ( double  longitude,
double  latitude,
double  altitude 
)
inline

Construct a new Simulated Location object.

Parameters
longitude
latitude
altitude

Definition at line 41 of file SimulatedLocation.h.

Member Function Documentation

double swarmio::simulator::SimulatedLocation::GetAltitude ( )
inline

Get altitude.

Returns
double

Definition at line 69 of file SimulatedLocation.h.

double swarmio::simulator::SimulatedLocation::GetLatitude ( )
inline

Get latitude.

Returns
double

Definition at line 59 of file SimulatedLocation.h.

double swarmio::simulator::SimulatedLocation::GetLongitude ( )
inline

Get longitude.

Returns
double

Definition at line 49 of file SimulatedLocation.h.

Member Data Documentation

double swarmio::simulator::SimulatedLocation::_altitude
private

Altitude.

Definition at line 30 of file SimulatedLocation.h.

double swarmio::simulator::SimulatedLocation::_latitude
private

Latitude.

Definition at line 24 of file SimulatedLocation.h.

double swarmio::simulator::SimulatedLocation::_longitude
private

Longitude.

Definition at line 18 of file SimulatedLocation.h.


The documentation for this class was generated from the following file:


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