MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / IsValid

Method IsValid

include/util/rectangle.hpp:162–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 bool IsValid() const
163 {
164 return min_lon != FixedLongitude{std::numeric_limits<std::int32_t>::max()} &&
165 max_lon != FixedLongitude{std::numeric_limits<std::int32_t>::min()} &&
166 min_lat != FixedLatitude{std::numeric_limits<std::int32_t>::max()} &&
167 max_lat != FixedLatitude{std::numeric_limits<std::int32_t>::min()};
168 }
169
170 static RectangleInt2D ExpandMeters(const Coordinate &coordinate, const double meters)
171 {

Callers 1

StaticRTreeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected