![]() |
OpendTect 8.0
|
Geographical coordinates in Decimal Degrees but with conv to deg, min, sec. More...
#include <latlong.h>
Public Member Functions | |
| LatLong () | |
| LatLong (const Coord &c) | |
| LatLong (const LatLong &) | |
| LatLong (double la, double lo) | |
| ~LatLong () | |
| Coord | asCoord () const |
| bool | fromString (const char *) |
| void | getDMS (bool lat, int &, int &, float &) const |
| bool | isDefined () const |
| bool | isNull () const |
| bool | isUdf () const |
| double | latitude () const |
| double | longitude () const |
| bool | operator!= (const LatLong &) const |
| LatLong & | operator= (const LatLong &) |
| bool | operator== (const LatLong &) const |
| void | set (double lat, double lng) |
| void | setDMS (bool lat, int, int, float) |
| void | setFromCoord (const Coord &) |
| bool | setFromString (const char *, bool lat) |
| void | setLatitude (double lat) |
| void | setLongitude (double lng) |
| void | setUdf () |
| const char * | toString () const |
Static Public Member Functions | |
| static LatLong | fromCoord (const Coord &) |
| static bool | isDMSString (const BufferString &) |
| static Coord | toCoord (const LatLong &) |
| 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.
<>
| LatLong::LatLong | ( | ) |
| LatLong::LatLong | ( | double | la, |
| double | lo ) |
| LatLong::LatLong | ( | const LatLong & | ) |
| LatLong::~LatLong | ( | ) |
|
inlineexplicit |
| Coord LatLong::asCoord | ( | ) | const |
Returned Coord has x=Latitude, y=Longitude as stipulated by the ISO 6709 standard.
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 |
|
inline |
|
inline |
| bool LatLong::operator!= | ( | const LatLong & | ) | const |
| bool LatLong::operator== | ( | const LatLong & | ) | const |
|
protected |
|
inline |
| void LatLong::setDMS | ( | bool | lat, |
| int | , | ||
| int | , | ||
| float | ) |
| void LatLong::setFromCoord | ( | const Coord & | ) |
Coord should have x=Latitude, y=Longitude as stipulated by the ISO 6709 standard.
| bool LatLong::setFromString | ( | const char * | , |
| bool | lat ) |
|
inline |
|
inline |
|
inline |
Returned Coord has x=Latitude, y=Longitude as stipulated by the ISO 6709 standard.
| 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-2025