Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
LatLng Class Reference

#include <latlng.h>

Public Member Functions

float lat ()
 
 LatLng ()
 
 LatLng (float lat, float lng)
 
float lng ()
 
void setLat (float lat)
 
void setLng (float lng)
 

Private Attributes

float _lat
 
float _lng
 

Detailed Description

Definition at line 12 of file latlng.h.

Constructor & Destructor Documentation

LatLng::LatLng ( )

Definition at line 11 of file latlng.cpp.

LatLng::LatLng ( float  lat,
float  lng 
)

Definition at line 15 of file latlng.cpp.

Member Function Documentation

float LatLng::lat ( )

Definition at line 21 of file latlng.cpp.

Referenced by LatLng(), and setLat().

float LatLng::lng ( )

Definition at line 25 of file latlng.cpp.

Referenced by LatLng(), and setLng().

void LatLng::setLat ( float  lat)

Definition at line 29 of file latlng.cpp.

void LatLng::setLng ( float  lng)

Definition at line 33 of file latlng.cpp.

Member Data Documentation

float LatLng::_lat
private

Definition at line 24 of file latlng.h.

Referenced by lat(), LatLng(), and setLat().

float LatLng::_lng
private

Definition at line 25 of file latlng.h.

Referenced by LatLng(), lng(), and setLng().


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