MetNoFimex::Projection Class Reference

#include <Projection.h>

Inheritance diagram for MetNoFimex::Projection:

MetNoFimex::CDMNamedEntity MetNoFimex::ProjectionImpl MetNoFimex::LambertConformalConicProjection MetNoFimex::LatitudeLongitudeProjection MetNoFimex::MercatorProjection MetNoFimex::RotatedLatitudeLongitudeProjection MetNoFimex::StereographicProjection MetNoFimex::PolarStereographicProjection

List of all members.

Public Member Functions

virtual ~Projection ()
virtual std::vector< CDMAttributegetParameters () 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::stringgetName () const =0
virtual const bool isDegree () const =0
virtual std::string getProj4String () const =0
virtual std::string toString () const =0
virtual bool operator== (const Projection &b) const

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 ()


Detailed Description

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

Constructor & Destructor Documentation

virtual MetNoFimex::Projection::~Projection (  )  [inline, virtual]

MetNoFimex::Projection::Projection (  )  [inline, protected]


Member Function Documentation

virtual std::vector<CDMAttribute> MetNoFimex::Projection::getParameters (  )  const [pure virtual]

Implemented in MetNoFimex::ProjectionImpl.

virtual void MetNoFimex::Projection::addParameter ( CDMAttribute  attribute  )  [pure virtual]

Implemented in MetNoFimex::ProjectionImpl.

virtual void MetNoFimex::Projection::addParameters ( std::vector< CDMAttribute attributes  )  [pure virtual]

Implemented in MetNoFimex::ProjectionImpl.

virtual void MetNoFimex::Projection::removeParameter ( std::string  paramName  )  [pure virtual]

Implemented in MetNoFimex::ProjectionImpl.

virtual const std::string& MetNoFimex::Projection::getName (  )  const [pure virtual]

get the projection name

Implements MetNoFimex::CDMNamedEntity.

Implemented in MetNoFimex::ProjectionImpl.

virtual const bool MetNoFimex::Projection::isDegree (  )  const [pure virtual]

check if the coordinates belonging to this projection are in degree (otherwise metrical)

Implemented in MetNoFimex::ProjectionImpl.

virtual std::string MetNoFimex::Projection::getProj4String (  )  const [pure virtual]

get a proj4 string

Implemented in MetNoFimex::ProjectionImpl.

virtual std::string MetNoFimex::Projection::toString (  )  const [pure virtual]

get a string representation

Note:
this should be implemented as unique as possible, i.e.

Implemented in MetNoFimex::ProjectionImpl.

virtual bool MetNoFimex::Projection::operator== ( const Projection b  )  const [virtual]

Comparison of two projections, implemented using the toString() function. This function does not guarantee that two projections are physically equal.

static boost::shared_ptr<Projection> MetNoFimex::Projection::create ( std::vector< CDMAttribute  )  [static]

create a projection from some CDMAttributes

static boost::shared_ptr<Projection> MetNoFimex::Projection::createByProj4 ( const std::string projStr  )  [static]

create a projection from a proj4 string


The documentation for this class was generated from the following file:

Generated on Fri May 7 15:50:14 2010 for MI - Fimex by  doxygen 1.5.5