Isis Developer Reference
WorldMapper.h
Go to the documentation of this file.
1 #ifndef WorldMapper_h
2 #define WorldMapper_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 namespace Isis {
38  class WorldMapper {
39  public:
42 
44  virtual ~WorldMapper() {};
45 
56  virtual double ProjectionX(const double worldX) const = 0;
57 
68  virtual double ProjectionY(const double worldY) const = 0;
69 
79  virtual double WorldX(const double projectionX) const = 0;
80 
90  virtual double WorldY(const double projectionY) const = 0;
91 
100  virtual double Resolution() const {
101  return 1.0;
102  };
103  };
104 };
105 
106 #endif
Isis::WorldMapper::WorldX
virtual double WorldX(const double projectionX) const =0
This pure virtual method will return a world X coordinate given a projection Y coordinate in meters.
Isis::WorldMapper::~WorldMapper
virtual ~WorldMapper()
Destroys the WorldMapper object.
Definition: WorldMapper.h:44
Isis::WorldMapper::WorldMapper
WorldMapper()
Constructs an empty WorldMapper object.
Definition: WorldMapper.h:41
Isis::WorldMapper::ProjectionX
virtual double ProjectionX(const double worldX) const =0
This pure virtual method will return a projection X coordinate in meters given a world X coordinate.
Isis::WorldMapper::Resolution
virtual double Resolution() const
This virtual method will the resolution of the world system relative to one unit in the projection sy...
Definition: WorldMapper.h:100
Isis::WorldMapper::WorldY
virtual double WorldY(const double projectionY) const =0
This pure virtual method will return a world Y coordinate given a projection Y coordinate in meters.
Isis::WorldMapper::ProjectionY
virtual double ProjectionY(const double worldY) const =0
This pure virtual method will return a projection Y coordinate in meters given a world Y coordinate.
Isis::WorldMapper
Create a mapping between a projection and other coordinate system.
Definition: WorldMapper.h:38
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16