14 #include <matrix/geodeticCoord.h>
15 #include <unordered_map>
24 namespace MAKVRinTerra
43 std::string
name()
const {
return runway1 +
"/" + runway2; }
70 std::vector< std::shared_ptr<RunwayData> >
runways;
74 virtual AerodromeData aerodrome(
const std::string& airportCode)
const;
75 virtual std::vector<AerodromeData> aerodromesWithinRange(
const DtVector& location,
double range)
const;
76 virtual void addRunwayData(
const RunwayData& runwayData);
77 virtual void addAerodrome(
const AerodromeData& aerodromeData);
80 virtual DtGeodeticCoord aerodromeLocation(
const std::string& airportCode)
const;
81 virtual bool hasAerodrome(
const std::string& airportCode)
const;
82 virtual double altitudeOfAerodrome(
const std::string& airportCode)
const;
86 return myAirportAndIcaoNames;
91 return (myAerodromes.size() != 0);
97 virtual std::vector<AerodromeData> aerodromesInArea(
const std::vector<DtVector>&)
const;
100 virtual std::vector<MAKVRinTerra::DtAerodromeLoader::AerodromeData> aerodromesAtLocation(
const DtVector& location)
const;
103 virtual std::vector<MAKVRinTerra::DtAerodromeLoader::RunwayData> runwayAtLocation(
const DtVector& location)
const;
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
double length(const dvec3 &theVec)
Definition: DtVecUtils.h:20
DtGeodeticCoord aerodromeLocation
Definition: aerodromeLoader.h:68
aerodromeBoundaryTreeType myaerodromeBoundaryTree
Definition: aerodromeLoader.h:121
Definition: aerodromeLoader.h:55
Definition: aerodromeLoader.h:63
std::string airportCode
Definition: aerodromeLoader.h:66
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
AerodromesType myAerodromes
Definition: aerodromeLoader.h:112
makVrf::RTree< std::shared_ptr< RunwayData >, double, 3 > runwayTreeType
spatial tree that contain all the world runways
Definition: aerodromeLoader.h:116
std::string airportCode
Definition: aerodromeLoader.h:44
std::string runway1
Definition: aerodromeLoader.h:45
Definition: aerodromeLoader.h:28
Handle< PointType > Point
Definition: featureGeometry.h:74
DtFeatureGeometry::Point aerodromePointOrigin
Definition: aerodromeLoader.h:71
File I/O helper class, look below for implementation and notes.
Definition: RTree.h:58
std::vector< DtPoint > runwayCorners
contain the four corner of the runway
Definition: aerodromeLoader.h:52
std::string name() const
Definition: aerodromeLoader.h:43
Definition: featureContext.h:50
std::vector< DtVector > runwayPoints
Definition: aerodromeLoader.h:50
std::string airportName
Definition: aerodromeLoader.h:67
Definition: aerodromeLoader.h:41
Contains the declaration of the DtExtent class.
std::shared_ptr< AerodromeDataBoundary > aerodromeDataBoundary
Definition: aerodromeLoader.h:69
std::vector< DtPoint > airportBoundary
Definition: aerodromeLoader.h:58
runwayTreeType myrunwayTree
Definition: aerodromeLoader.h:117
bool hasAerodromes() const
Definition: aerodromeLoader.h:89
std::vector< std::shared_ptr< RunwayData > > runways
Definition: aerodromeLoader.h:70
makVrf::RTree< std::shared_ptr< AerodromeDataBoundary >, double, 3 > aerodromeBoundaryTreeType
spatial tree that contain all the world airport boundary
Definition: aerodromeLoader.h:120
Represents a GIS feature. Features consist of a DtFeatureGeometry (2.5D geometric vector data) and a ...
Definition: feature.h:36
DtExtent airportBoundaryBoundingBox
Definition: aerodromeLoader.h:59
std::set< std::pair< std::string, std::string > > myAirportAndIcaoNames
Definition: aerodromeLoader.h:113
std::string airportCode
Definition: aerodromeLoader.h:57
std::unordered_map< std::string, AerodromeData > AerodromesType
Definition: aerodromeLoader.h:111
const std::set< std::pair< std::string, std::string > > & getAirportandIcaoNames() const
Definition: aerodromeLoader.h:84
std::string runway2
Definition: aerodromeLoader.h:46