FlightGear next
PositionedOctree.cxx File Reference
#include "config.h"
#include "PositionedOctree.hxx"
#include "positioned.hxx"
#include <cassert>
#include <algorithm>
#include <cstring>
#include <iostream>
#include <simgear/debug/logstream.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/timing/timestamp.hxx>
#include "PolyLine.hxx"

Go to the source code of this file.

Namespaces

namespace  flightgear
 FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
 
namespace  flightgear::Octree
 

Functions

Nodeflightgear::Octree::globalTransientOctree ()
 
Nodeflightgear::Octree::globalPersistentOctree ()
 
static bool flightgear::Octree::boxContainsBox (const SGBoxd &a, const SGBoxd &b)
 
bool flightgear::Octree::findNearestN (const SGVec3d &aPos, unsigned int aN, double aCutoffM, FGPositioned::Filter *aFilter, FGPositionedList &aResults, int aCutoffMsec)
 
bool flightgear::Octree::findAllWithinRange (const SGVec3d &aPos, double aRangeM, FGPositioned::Filter *aFilter, FGPositionedList &aResults, int aCutoffMsec)
 

Variables

static std::unique_ptr< Nodeflightgear::Octree::global_spatialOctree
 
static std::unique_ptr< Nodeflightgear::Octree::global_transientOctree
 
double flightgear::Octree::RADIUS_EARTH_M = 7000 * 1000.0