Example #1
0
const AbstractAirspace*
AirspaceRoute::InsideOthers(const AGeoPoint& origin) const
{
  AirspaceInsideOtherVisitor visitor;
  m_airspaces.VisitWithinRange(origin, fixed(1), visitor);
  count_airspace++;
  return visitor.found();
}
Example #2
0
const AbstractAirspace*
AirspaceRoute::inside_others(const AGeoPoint& origin) const
{
  AirspaceInsideOtherVisitor visitor;
  m_airspaces.visit_within_range(origin, fixed_one, visitor);
  count_airspace++;
  return visitor.found();
}