Example #1
0
void UTMCoord::createXYCoordStrings (std::string& xString, std::string& yString)
  const
  // Purpose:
  //  This function generates two strings: a string containing the easting
  //  coordinate (stored in the parameter xString), and a string containing the
  //  northing coordinate (stored in the parameter yString.)
{
  double easting;
  double northing;
  int utmXZone;
  char utmYZone;
  getUTMCoord (utmXZone, utmYZone, easting, northing);
#if 0
  xString.Format ("%06d", (int)easting);
  yString.Format ("%07d", (int)northing);
#endif
}