OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
LatLong Class Reference

Geographical coordinates in Decimal Degrees but with conv to deg, min, sec. More...

Public Member Functions

 LatLong (double la=0, double lo=0)
 
 LatLong (const LatLong &ll)
 
bool operator== (const LatLong &) const
 
 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)
 
bool setFromString (const char *, bool lat)
 

Static Public Member Functions

static LatLong udf ()
 
static Coord transform (const LatLong &, bool towgs84=false, const Coords::CoordSystem *si=0)
 
static LatLong transform (const Coord &, bool towgs84=false, const Coords::CoordSystem *si=0)
 

Public Attributes

double lat_
 
double lng_
 

Detailed Description

Geographical coordinates in Decimal Degrees but with conv to deg, min, sec.

Constructor & Destructor Documentation

LatLong::LatLong ( double  la = 0,
double  lo = 0 
)
inline
LatLong::LatLong ( const LatLong ll)
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
bool LatLong::operator== ( const LatLong ) const
void LatLong::setDMS ( bool  lat,
int  ,
int  ,
float   
)
bool LatLong::setFromString ( const char *  ,
bool  lat 
)
const char* LatLong::toString ( ) const
static Coord LatLong::transform ( const LatLong ,
bool  towgs84 = false,
const Coords::CoordSystem si = 0 
)
static
static LatLong LatLong::transform ( const Coord ,
bool  towgs84 = false,
const Coords::CoordSystem si = 0 
)
static
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. 2019