58 PolarStereographic::PolarStereographic(
Pvl &label,
bool allowDefaults) :
66 if ((allowDefaults) && (!mapGroup.
hasKeyword(
"CenterLongitude"))) {
73 if ((allowDefaults) && (!mapGroup.
hasKeyword(
"CenterLatitude"))) {
93 QString msg =
"Invalid value for keyword [CenterLatitude] in map file.";
94 msg +=
" CenterLatitude cannot equal 0.0";
110 double sinphi = sin(phi);
111 double cosphi = cos(phi);
123 QString message =
"Invalid label group [Mapping]";
143 if (!Projection::operator==(proj))
return false;
159 return "PolarStereographic";
202 double lonRadians = lon *
PI / 180.0;
207 double latRadians = lat;
209 latRadians = latRadians *
PI / 180.0;
214 double sinphi = sin(phi);
258 double dist = sqrt(east * east + north * north);
274 QString msg =
"X,Y causes latitude to be outside [-90,90] "
275 "in PolarStereographic Class";
326 double &minY,
double &maxY) {
418 bool allowDefaults) {