 |
OpendTect
6.6
|
Go to the documentation of this file.
18 namespace Coords {
class CoordSystem; }
30 : lat_(la), lng_(lo) {}
32 : lat_(ll.lat_), lng_(ll.lng_) {}
37 operator Coord()
const {
return transform(*
this); }
51 void getDMS(
bool lat,
int&,
int&,
float&)
const;
Coord refcoord_
Definition: latlong.h:92
static bool isDMSString(const BufferString &)
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:289
#define mExpClass(module)
Definition: commondefs.h:177
LatLong(const Coord &c)
Definition: latlong.h:36
bool setFromString(const char *, bool lat)
bool fromString(const char *)
const char * toString() const
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:81
LatLong(double la=0, double lo=0)
Definition: latlong.h:29
const char * toString() const
A cartesian coordinate in 2D space.
Definition: coord.h:25
LatLong refLatLong() const
Definition: latlong.h:88
static LatLong udf()
Definition: latlong.h:41
double scalefac_
Definition: latlong.h:97
void getDMS(bool lat, int &, int &, float &) const
double lng_
Definition: latlong.h:58
Definition: coordsystem.h:31
Definition: coordsystem.h:22
void setDMS(bool lat, int, int, float)
bool parseDMSString(const BufferString &, bool lat)
bool isDefined() const
Definition: latlong.h:40
double lngdist_
Definition: latlong.h:96
bool isOK() const
Definition: latlong.h:77
Estimates to/from LatLong coordinates.
Definition: latlong.h:72
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
LatLong reflatlng_
Definition: latlong.h:93
bool fromString(const char *)
void set(const LatLong &, const Coord &)
Geographical coordinates in Decimal Degrees but with conv to deg, min, sec.
Definition: latlong.h:27
LatLong2Coord(const Coord &, const LatLong &)
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:274
static Coord transform(const LatLong &, bool towgs84=false, const Coords::CoordSystem *si=0)
double lat_
Definition: latlong.h:57
double latdist_
Definition: latlong.h:95
LatLong transform(const Coord &) const
static LatLong transform(const Coord &, bool towgs84=false, const Coords::CoordSystem *si=0)
LatLong(const LatLong &ll)
Definition: latlong.h:31
Coord transform(const LatLong &) const
Coord refCoord() const
Definition: latlong.h:87
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021