Isis Developer Reference
WorldMapper.h
Go to the documentation of this file.
1#ifndef WorldMapper_h
2#define WorldMapper_h
8/* SPDX-License-Identifier: CC0-1.0 */
9namespace Isis {
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
Create a mapping between a projection and other coordinate system.
Definition WorldMapper.h:38
virtual ~WorldMapper()
Destroys the WorldMapper object.
Definition WorldMapper.h:44
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.
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.
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.
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
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.
WorldMapper()
Constructs an empty WorldMapper object.
Definition WorldMapper.h:41
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16