FlightGear next
NearbyAIObjectCache Class Reference

Helper to cache all AIObject positions near the airport when searching for available parkings. More...

Public Member Functions

 NearbyAIObjectCache (FGAirportRef apt)
 
bool isAnythingNear (const SGVec3d &cart, double radiusM)
 

Detailed Description

Helper to cache all AIObject positions near the airport when searching for available parkings.

This allows us to reject parkings which we might not have marked as occupied, but which an object is neverthless close to; such as the primary user or MP aircraft. FIXME should be replaced by AirportGroundRadar

Definition at line 149 of file dynamics.cxx.

Constructor & Destructor Documentation

◆ NearbyAIObjectCache()

NearbyAIObjectCache::NearbyAIObjectCache ( FGAirportRef apt)
inlineexplicit

Definition at line 152 of file dynamics.cxx.

Member Function Documentation

◆ isAnythingNear()

bool NearbyAIObjectCache::isAnythingNear ( const SGVec3d & cart,
double radiusM )
inline

Definition at line 156 of file dynamics.cxx.


The documentation for this class was generated from the following file: