Пример #1
0
Angle
DigitEntry::GetLongitude() const
{
  assert(columns[0].type == Column::Type::EAST_WEST);
  assert(columns[1].type == Column::Type::DIGIT19);

  return GetGeoAngle();
}
Пример #2
0
Angle
DigitEntry::GetLongitude(CoordinateFormat format) const
{
    /// \todo support UTM format

    assert(columns[0].type == Column::Type::EAST_WEST);
    assert(columns[1].type == Column::Type::DIGIT19);

    return GetGeoAngle(format);
}
Пример #3
0
Angle
DigitEntry::GetLatitude(CoordinateFormat format) const
{
    /// \todo support UTM format

    assert(columns[0].type == Column::Type::NORTH_SOUTH);
    assert(columns[1].type == Column::Type::DIGIT);

    return GetGeoAngle(format);
}
Пример #4
0
Angle
DigitEntry::GetLatitude() const
{
  // TODO: support all CoordinateFormats

  assert(columns[0].type == Column::Type::NORTH_SOUTH);
  assert(columns[1].type == Column::Type::DIGIT);

  return GetGeoAngle();
}