MI - Fimex
|
#include <fimex/coordSys/Projection.h>
Public Member Functions | |
virtual | ~Projection () |
virtual std::vector< CDMAttribute > | getParameters () const =0 |
virtual void | addParameter (CDMAttribute attribute)=0 |
virtual void | addParameters (std::vector< CDMAttribute > attributes)=0 |
virtual void | removeParameter (std::string paramName)=0 |
virtual const std::string & | getName () const =0 |
virtual bool | isDegree () const =0 |
virtual std::string | getProj4String () const =0 |
virtual std::string | getProj4EarthString () const =0 |
virtual void | convertToLonLat (std::vector< double > &xVals, std::vector< double > &yVals) const throw (CDMException) |
virtual void | convertFromLonLat (std::vector< double > &xVals, std::vector< double > &yVals) const throw (CDMException) |
virtual std::string | toString () const =0 |
virtual bool | operator== (const Projection &b) const |
![]() | |
virtual | ~CDMNamedEntity ()=0 |
Static Public Member Functions | |
static boost::shared_ptr< Projection > | create (std::vector< CDMAttribute >) |
static boost::shared_ptr< Projection > | createByProj4 (const std::string &projStr) |
Protected Member Functions | |
Projection () | |
A projection describes a projection of the earth surface from one system to another. If not mentioned otherwise, all parameters should follow CF-1.x
|
inlinevirtual |
|
inlineprotected |
References MetNoFimex::operator<<(), and MetNoFimex::replaceProj4Earthfigure().
|
pure virtual |
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
pure virtual |
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
virtual |
convert two vectors of values in the projection to latitude and longitude in degree. The earth ellipsoid will be the same as the input.
xVals | longitude input in degree, output of the projection axis in meter or degree |
yVals | latitude input in degree, output of the projection axis in meter or degree |
Referenced by ~Projection().
|
virtual |
convert two vectors of values in the projection to latitude and longitude in degree. The earth ellipsoid will be the same as the input.
xVals | input of the projection axis in meter or degree, output is longitude |
yVals | input of the projection axis in meter or degree, output is latitude |
Referenced by ~Projection().
|
static |
create a projection from some CDMAttributes
Referenced by ~Projection().
|
static |
create a projection from a proj4 string
Referenced by ~Projection().
|
pure virtual |
get the projection name
Implements MetNoFimex::CDMNamedEntity.
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
pure virtual |
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
pure virtual |
get the parts of the proj4 string defining the earth.
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
pure virtual |
|
pure virtual |
check if the coordinates belonging to this projection are in degree (otherwise metrical)
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
virtual |
Comparison of two projections, implemented using the toString() function. This function does not guarantee that two projections are physically equal.
Referenced by ~Projection().
|
pure virtual |
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().
|
pure virtual |
get a string representation
Implemented in MetNoFimex::ProjectionImpl.
Referenced by ~Projection().