Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
IProj.h
Go to the documentation of this file.
1#ifndef IProj_h
2#define IProj_h
7
8/* SPDX-License-Identifier: CC0-1.0 */
9#include <proj.h>
10
11#include "TProjection.h"
12
13namespace Isis {
14 class Pvl;
15 class PvlGroup;
34
35 class IProj : public TProjection {
36 public:
37 IProj(Pvl &label, bool allowDefaults = false);
38 ~IProj();
39
40 QString Name() const;
41 QString Version() const;
42
43 PvlGroup Mapping();
44
45 bool SetGround(const double lat, const double lon);
46 bool SetCoordinate(const double x, const double y);
47
48 bool XYRange(double &minX, double &maxX,
49 double &minY, double &maxY);
50
51 private:
52 QString *m_userOutputProjStr;
53 PJ_CONTEXT *m_C;
54 PJ *m_llaProj;
55 PJ *m_outputProj;
56 PJ *m_llaProj2outputProj;
57 };
58};
59
60#endif
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
Definition IProj.cpp:121
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
Definition IProj.cpp:135
bool XYRange(double &minX, double &maxX, double &minY, double &maxY)
This method is used to determine the x/y range which completely covers the area of interest specified...
Definition IProj.cpp:175
QString Version() const
Returns the version of the map projection.
Definition IProj.cpp:117
PvlGroup Mapping()
This function returns the keywords that this projection uses.
Definition IProj.cpp:101
QString Name() const
Returns the name of the map projection, "Proj".
Definition IProj.cpp:90
~IProj()
Destroys the IProj object.
Definition IProj.cpp:77
IProj(Pvl &label, bool allowDefaults=false)
Definition IProj.cpp:20
TProjection(Pvl &label)
Constructs an empty TProjection object.
Definition TProjection.cpp:82
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16