OpendTect
7.0
|
Geographical coordinates in Decimal Degrees but with conv to deg, min, sec. More...
Public Member Functions | |
LatLong (const Coord &c) | |
LatLong (const LatLong &ll) | |
LatLong (double la=0, double lo=0) | |
bool | fromString (const char *) |
void | getDMS (bool lat, int &, int &, float &) const |
bool | isDefined () const |
bool | isNull () const |
bool | isUdf () const |
bool | operator!= (const LatLong &) const |
bool | operator== (const LatLong &) const |
void | setDMS (bool lat, int, int, float) |
void | setFromCoord (const Coord &) |
bool | setFromString (const char *, bool lat) |
const char * | toString () const |
Static Public Member Functions | |
static LatLong | fromCoord (const Coord &) |
static bool | isDMSString (const BufferString &) |
static LatLong | transform (const Coord &, bool towgs84=false, const Coords::CoordSystem *si=0) |
static Coord | transform (const LatLong &, bool towgs84=false, const Coords::CoordSystem *si=0) |
static LatLong | udf () |
Public Attributes | |
double | lat_ |
double | lng_ |
Protected Member Functions | |
bool | parseDMSString (const BufferString &, bool lat) |
Geographical coordinates in Decimal Degrees but with conv to deg, min, sec.
<>
|
inline |
|
inline |
|
inlineexplicit |
Coord should have x=Latitude, y=Longitude as stipulated by the ISO 6709 standard.
bool LatLong::fromString | ( | const char * | ) |
void LatLong::getDMS | ( | bool | lat, |
int & | , | ||
int & | , | ||
float & | |||
) | const |
|
inline |
|
static |
|
inline |
|
inline |
bool LatLong::operator!= | ( | const LatLong & | ) | const |
bool LatLong::operator== | ( | const LatLong & | ) | const |
|
protected |
void LatLong::setDMS | ( | bool | lat, |
int | , | ||
int | , | ||
float | |||
) |
void LatLong::setFromCoord | ( | const Coord & | ) |
bool LatLong::setFromString | ( | const char * | , |
bool | lat | ||
) |
const char* LatLong::toString | ( | ) | const |
|
static |
|
static |
|
inlinestatic |
double LatLong::lat_ |
double LatLong::lng_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024