OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
LatLong2Coord Class Reference

Estimates to/from LatLong coordinates. More...

Public Member Functions

 LatLong2Coord ()
 
 LatLong2Coord (const Coord &, const LatLong &)
 
bool fromString (const char *)
 
bool isOK () const
 
bool operator!= (const LatLong2Coord &) const
 
bool operator== (const LatLong2Coord &) const
 
Coord refCoord () const
 
LatLong refLatLong () const
 
void set (const LatLong &, const Coord &)
 
const char * toString () const
 
LatLong transform (const Coord &) const
 
Coord transform (const LatLong &) const
 

Protected Attributes

double latdist_
 
double lngdist_
 
Coord refcoord_
 
LatLong reflatlng_
 
double scalefac_
 

Detailed Description

Estimates to/from LatLong coordinates.

Needs both survey coordinates and lat/long for an anchor point in the survey.

<>

Constructor & Destructor Documentation

◆ LatLong2Coord() [1/2]

LatLong2Coord::LatLong2Coord ( )

◆ LatLong2Coord() [2/2]

LatLong2Coord::LatLong2Coord ( const Coord ,
const LatLong  
)

Member Function Documentation

◆ fromString()

bool LatLong2Coord::fromString ( const char *  )

◆ isOK()

bool LatLong2Coord::isOK ( ) const
inline

◆ operator!=()

bool LatLong2Coord::operator!= ( const LatLong2Coord ) const

◆ operator==()

bool LatLong2Coord::operator== ( const LatLong2Coord ) const

◆ refCoord()

Coord LatLong2Coord::refCoord ( ) const
inline

◆ refLatLong()

LatLong LatLong2Coord::refLatLong ( ) const
inline

◆ set()

void LatLong2Coord::set ( const LatLong ,
const Coord  
)

◆ toString()

const char* LatLong2Coord::toString ( ) const

◆ transform() [1/2]

LatLong LatLong2Coord::transform ( const Coord ) const

◆ transform() [2/2]

Coord LatLong2Coord::transform ( const LatLong ) const

Member Data Documentation

◆ latdist_

double LatLong2Coord::latdist_
protected

◆ lngdist_

double LatLong2Coord::lngdist_
protected

◆ refcoord_

Coord LatLong2Coord::refcoord_
protected

◆ reflatlng_

LatLong LatLong2Coord::reflatlng_
protected

◆ scalefac_

double LatLong2Coord::scalefac_
protected

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