Isis 3 Programmer Reference
PointPerspective.h
1#ifndef PointPerspective_h
2#define PointPerspective_h
8/* SPDX-License-Identifier: CC0-1.0 */
9#include "TProjection.h"
10
11namespace Isis {
12 class Pvl;
13 class PvlGroup;
51 public:
52 PointPerspective(Pvl &label, bool allowDefaults = false);
54 bool operator== (const Projection &proj);
55
56 QString Name() const;
57 QString Version() const;
58 double TrueScaleLatitude() const;
59
60 bool SetGround(const double lat, const double lon);
61 bool SetCoordinate(const double x, const double y);
62 bool XYRange(double &minX, double &maxX, double &minY, double &maxY);
63
67
68 private:
71 double m_distance;
72 double m_sinph0;
73 double m_cosph0;
74 double m_P;
75
76 };
77};
78#endif
PointPerspective Map Projection.
double m_centerLongitude
The center longitude for the map projection.
bool SetCoordinate(const double x, const double y)
This method is used to set the projection x/y.
QString Name() const
Returns the name of the map projection, "PointPerspective".
double TrueScaleLatitude() const
Returns the latitude of true scale, in degrees.
PvlGroup Mapping()
This function returns the keywords that this projection uses.
double m_sinph0
Sine of the center latitude.
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...
double m_P
Perspective Point.
PointPerspective(Pvl &label, bool allowDefaults=false)
Constructs an PointPerspective object.
bool operator==(const Projection &proj)
Compares two Projection objects to see if they are equal.
double m_centerLatitude
The center latitude for the map projection.
double m_distance
Distance fromp perspective point to planet center.
double m_cosph0
Cosine of the center latitude.
PvlGroup MappingLatitudes()
This function returns the latitude keywords that this projection uses.
bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
~PointPerspective()
Destroys the PointPerspective object.
QString Version() const
Returns the version of the map projection.
PvlGroup MappingLongitudes()
This function returns the longitude keywords that this projection uses.
Base class for Map Projections.
Definition Projection.h:155
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Container for cube-like labels.
Definition Pvl.h:119
Base class for Map TProjections.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16