26 #ifndef __TERRALIB_SRS_INTERNAL_CONVERTER_H    27 #define __TERRALIB_SRS_INTERNAL_CONVERTER_H    65       Converter(
int sourceSRID, 
int targetSRID);
    75       void setSourceSRID(
int sourceSRID);
    82       void setSourcePJ4txt(
const std::string& pj4txt);
    85       int getSourceSRID() 
const;
    92       void setTargetSRID(
int targetSRID);
    99       void setTargetPJ4txt(
const std::string& pj4txt);
   102       int getTargetSRID() 
const;
   120       bool convert(
double *xIn, 
double *yIn, 
double *xOut, 
double* yOut, 
long numCoord, 
int coordOffset=1) 
const;
   130       bool convert(
double *x, 
double* y, 
long numCoord, 
int coordOffset=1) 
const;
   140       bool convert(
const double xIn, 
const double yIn, 
double &xOut, 
double &yOut) 
const;
   148       bool convert(
double &x, 
double &y) 
const;
   164       bool invert(
double *xIn, 
double *yIn, 
double *xOut, 
double* yOut, 
long numCoord, 
int coordOffset=1) 
const;
   174       bool invert(
double *x, 
double* y, 
long numCoord, 
int coordOffset=1) 
const;
   184       bool invert(
const double xIn, 
const double yIn, 
double &xOut, 
double &yOut) 
const;
   192       bool invert(
double &x, 
double &y) 
const;
   201       bool convertToGeographic(
double& x, 
double& y, 
int SRID) 
const;
   210       bool convertToProjected(
double &lon, 
double &lat, 
int SRID) 
const;
   222     typedef std::auto_ptr<Converter> ConverterPtr;  
   226 #endif // __TERRALIB_SRS_INTERNAL_CONVERTER_H 
void * m_sourcePj4Handler
 
A Converter is responsible for the conversion of coordinates between different Coordinate Systems (CS...
 
void * m_targetPj4Handler
 
std::string TECOMMONEXPORT convert(const path &v)
URI path to string. 
 
#define TESRSEXPORT
You can use this macro in order to export/import classes and functions from this module.