UNCLASSIFIED

GeographicTranslator
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MSP::Egm2008GeoidGrid Class Referenceabstract

#include <egm2008_geoid_grid.h>

Inheritance diagram for MSP::Egm2008GeoidGrid:
MSP::Egm2008AoiGrid MSP::Egm2008FullGrid

Public Member Functions

 Egm2008GeoidGrid (void)
 
 Egm2008GeoidGrid (const std::string &gridFname)
 
 Egm2008GeoidGrid (const Egm2008GeoidGrid &oldGrid)
 
virtual ~Egm2008GeoidGrid (void)
 
Egm2008GeoidGridoperator= (const Egm2008GeoidGrid &oldGrid)
 
virtual int geoidHeight (int wSize, double latitude, double longitude, double &gHeight)=0
 

Protected Member Functions

virtual int geoidHeight (double latitude, double longitude, double &gHeight)=0
 
int loadGridCoords (int i, int j, double &latitude, double &longitude)
 
int initSpline (int n, const double posts[], double moments[])
 
double spline (int n, double x, const double posts[], const double moments[])
 
void swapBytes (void *buffer, size_t size, size_t count)
 
int swGridIndices (double latitude, double longitude, int &i, int &j)
 

Protected Attributes

int MAX_WSIZE
 
std::string _gridFname
 
int _nGridPad
 
int _nGridRows
 
int _nGridCols
 
int _nOrigRows
 
int _nOrigCols
 
double _baseLatitude
 
double _baseLongitude
 
double _dLat
 
double _dLon
 
MSP::CCSThreadMutex _mutex
 

Detailed Description

Definition at line 58 of file egm2008_geoid_grid.h.

Constructor & Destructor Documentation

Egm2008GeoidGrid::Egm2008GeoidGrid ( void  )

Definition at line 101 of file egm2008_geoid_grid.cpp.

Egm2008GeoidGrid::Egm2008GeoidGrid ( const std::string &  gridFname)

Definition at line 208 of file egm2008_geoid_grid.cpp.

Egm2008GeoidGrid::Egm2008GeoidGrid ( const Egm2008GeoidGrid oldGrid)

Definition at line 273 of file egm2008_geoid_grid.cpp.

Egm2008GeoidGrid::~Egm2008GeoidGrid ( void  )
virtual

Definition at line 318 of file egm2008_geoid_grid.cpp.

Member Function Documentation

virtual int MSP::Egm2008GeoidGrid::geoidHeight ( int  wSize,
double  latitude,
double  longitude,
double &  gHeight 
)
pure virtual
virtual int MSP::Egm2008GeoidGrid::geoidHeight ( double  latitude,
double  longitude,
double &  gHeight 
)
protectedpure virtual
int Egm2008GeoidGrid::initSpline ( int  n,
const double  posts[],
double  moments[] 
)
protected

Definition at line 486 of file egm2008_geoid_grid.cpp.

int Egm2008GeoidGrid::loadGridCoords ( int  i,
int  j,
double &  latitude,
double &  longitude 
)
protected

Definition at line 390 of file egm2008_geoid_grid.cpp.

Egm2008GeoidGrid & Egm2008GeoidGrid::operator= ( const Egm2008GeoidGrid oldGrid)

Definition at line 335 of file egm2008_geoid_grid.cpp.

double Egm2008GeoidGrid::spline ( int  n,
double  x,
const double  posts[],
const double  moments[] 
)
protected

Definition at line 642 of file egm2008_geoid_grid.cpp.

void Egm2008GeoidGrid::swapBytes ( void *  buffer,
size_t  size,
size_t  count 
)
protected

Definition at line 773 of file egm2008_geoid_grid.cpp.

int Egm2008GeoidGrid::swGridIndices ( double  latitude,
double  longitude,
int &  i,
int &  j 
)
protected

Definition at line 816 of file egm2008_geoid_grid.cpp.

Member Data Documentation

double MSP::Egm2008GeoidGrid::_baseLatitude
protected

Definition at line 108 of file egm2008_geoid_grid.h.

double MSP::Egm2008GeoidGrid::_baseLongitude
protected

Definition at line 114 of file egm2008_geoid_grid.h.

double MSP::Egm2008GeoidGrid::_dLat
protected

Definition at line 118 of file egm2008_geoid_grid.h.

double MSP::Egm2008GeoidGrid::_dLon
protected

Definition at line 122 of file egm2008_geoid_grid.h.

std::string MSP::Egm2008GeoidGrid::_gridFname
protected

Definition at line 71 of file egm2008_geoid_grid.h.

MSP::CCSThreadMutex MSP::Egm2008GeoidGrid::_mutex
protected

Definition at line 126 of file egm2008_geoid_grid.h.

int MSP::Egm2008GeoidGrid::_nGridCols
protected

Definition at line 92 of file egm2008_geoid_grid.h.

int MSP::Egm2008GeoidGrid::_nGridPad
protected

Definition at line 82 of file egm2008_geoid_grid.h.

int MSP::Egm2008GeoidGrid::_nGridRows
protected

Definition at line 87 of file egm2008_geoid_grid.h.

int MSP::Egm2008GeoidGrid::_nOrigCols
protected

Definition at line 102 of file egm2008_geoid_grid.h.

int MSP::Egm2008GeoidGrid::_nOrigRows
protected

Definition at line 97 of file egm2008_geoid_grid.h.

int MSP::Egm2008GeoidGrid::MAX_WSIZE
protected

Definition at line 65 of file egm2008_geoid_grid.h.