remove is_set() and reset() functions from coordinate

This commit is contained in:
Dennis Luxen
2015-01-22 16:55:34 +01:00
parent 2e5cc1e6ae
commit 90f17c2140
2 changed files with 0 additions and 11 deletions
-9
View File
@@ -63,15 +63,6 @@ FixedPointCoordinate::FixedPointCoordinate(int lat, int lon) : lat(lat), lon(lon
#endif
}
void FixedPointCoordinate::reset()
{
lat = std::numeric_limits<int>::min();
lon = std::numeric_limits<int>::min();
}
bool FixedPointCoordinate::is_set() const
{
return (std::numeric_limits<int>::min() != lat) && (std::numeric_limits<int>::min() != lon);
}
bool FixedPointCoordinate::is_valid() const
{
if (lat > 90 * COORDINATE_PRECISION || lat < -90 * COORDINATE_PRECISION ||