#include <boost/foreach.hpp>
#include <simgear/debug/logstream.hxx>
+#include <simgear/structure/exception.hxx>
namespace flightgear
{
for (; it != end; ++it) {
FGPositioned* p = cache->loadById(it->second);
- assert(intersects(_box, p->cart()));
double d = dist(aPos, p->cart());
if (d > aCutoff) {
continue;