Public Member Functions | Static Public Member Functions | Public Attributes

LatLong Class Reference

geographical coordinates, decimal but with conv to deg, min, sec. More...

List of all members.

Public Member Functions

 LatLong (double la=0, double lo=0)
 LatLong (const Coord &c)
 operator Coord () const
void fill (char *) const
bool use (const char *)
void getDMS (bool lat, int &, int &, float &) const
void setDMS (bool lat, int, int, float)

Static Public Member Functions

static Coord transform (const LatLong &)
 Uses SI().
static LatLong transform (const Coord &)
 Uses SI().

Public Attributes

double lat_
double lng_

Detailed Description

geographical coordinates, decimal but with conv to deg, min, sec.


Constructor & Destructor Documentation

LatLong::LatLong ( double  la = 0,
double  lo = 0 
) [inline]
LatLong::LatLong ( const Coord c  )  [inline]

Member Function Documentation

void LatLong::fill ( char *   )  const
void LatLong::getDMS ( bool  lat,
int &  ,
int &  ,
float &   
) const
LatLong::operator Coord (  )  const [inline]
void LatLong::setDMS ( bool  lat,
int  ,
int  ,
float   
)
static Coord LatLong::transform ( const LatLong  )  [static]

Uses SI().

static LatLong LatLong::transform ( const Coord  )  [static]

Uses SI().

bool LatLong::use ( const char *   ) 

Member Data Documentation

double LatLong::lat_
double LatLong::lng_