116 if(mapping[
"LatitudeType"][0] ==
"Planetographic") {
119 else if(mapping[
"LatitudeType"][0] ==
"Planetocentric") {
123 QString msg =
"Latitude type [" + mapping[
"LatitudeType"][0] +
124 "] is not recognized";
166 if(mapping[
"LatitudeType"][0] ==
"Planetographic") {
169 else if(mapping[
"LatitudeType"][0] ==
"Planetocentric") {
173 IString msg =
"Latitude type [" +
IString(mapping[
"LatitudeType"][0]) +
174 "] is not recognized";
213 IString msg =
"Enumeration value [" +
IString(latType) +
"] is not a "
214 "valid CoordinateType";
292 "be converted to Planetographic without the planetary radii, please "
293 "use the other Latitude constructor";
299 IString msg =
"Latitudes outside of the -90/90 range cannot be converted "
300 "between Planetographic and Planetocentric";
305 IString msg =
"Invalid planetographic latitudes are not currently "
310 double ographicLatitude = atan(tan(
radians()) *
329 "converted to Planetocentic without the planetary radii, please use "
330 "the other Latitude constructor";
334 Angle inputAngle(latitude, units);
338 IString msg =
"Latitudes outside of the -90/90 range cannot be converted "
339 "between Planetographic and Planetocentric";
344 IString msg =
"Invalid planetographic latitudes are not currently "
349 double ocentricLatitude = atan(tan(inputAngle.
radians()) *
354 if ((ocentricLatitude > 0) != (inputAngle.
radians() > 0)) {
355 ocentricLatitude *= -1;
377 "] degrees is greater than maximum latitude [" +
384 Latitude adjustedMin = min - epsilon;
385 Latitude adjustedMax = max + epsilon;
388 return *
this >= adjustedMin && *
this <= adjustedMax;
400 if(
this == &latitudeToCopy)
return *
this;
450 if(mapping[
"LatitudeType"][0] ==
"Planetocentric")
452 else if (mapping[
"LatitudeType"][0] ==
"Planetographic")
455 IString msg =
"Latitude type [" +
IString(mapping[
"LatitudeType"][0]) +
456 "] is not recognized";
460 return add(angleToAdd, equatorialRadius, polarRadius, latType);
502 Angle tmpAngle(angle, units);
505 IString msg =
"Latitudes past 90 degrees are not valid. The latitude "