#include <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 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 () |
virtual MetNoFimex::Projection::~Projection | ( | ) | [inline, virtual] |
MetNoFimex::Projection::Projection | ( | ) | [inline, protected] |
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
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