OpendTect  6.3
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LatLong Class Reference

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

Public Member Functions

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

Static Public Member Functions

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

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

bool LatLong::fromString ( const char *  )
void LatLong::getDMS ( bool  lat,
int &  ,
int &  ,
float &   
) const
bool LatLong::isDefined ( ) const
inline
LatLong::operator Coord ( ) const
inline
void LatLong::setDMS ( bool  lat,
int  ,
int  ,
float   
)
const char* LatLong::toString ( ) const
static Coord LatLong::transform ( const LatLong )
static

Uses SI()

static LatLong LatLong::transform ( const Coord )
static

Uses SI()

static LatLong LatLong::udf ( )
inlinestatic

Member Data Documentation

double LatLong::lat_
double LatLong::lng_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017