315
326
// We need to take care of the normal case ...
316
327
if ( ( ( lon < d->m_west || lon > d->m_east ) && ( d->m_west < d->m_east ) ) ||
317
328
// ... and the case where the bounding box crosses the date line:
318
329
( ( lon < d->m_west && lon > d->m_east ) && ( d->m_west > d->m_east ) ) )
321
332
if ( lat < d->m_south || lat > d->m_north )
327
347
bool GeoDataLatLonBox::contains( const GeoDataLatLonBox &other ) const
329
349
// check the contain criterion for the latitude first as this is trivial: