18 bool aOnRunway,
int aHoldType,
34 const SGGeod& pos =
geod();
35 if (pos.getElevationFt() == 0.0) {
38 center2.setElevationM(SG_MAX_ELEVATION_M);
40 double elevationEnd = -100;
43 newPos.setElevationM(elevationEnd);
48 SG_LOG(SG_TERRAIN, SG_ALERT,
"Terrain not inited");
52 return pos.getElevationFt();
FGPositioned(PositionedID aGuid, Type ty, const std::string &aIdent, const SGGeod &aPos)
friend class flightgear::NavDataCache
void modifyPosition(const SGGeod &newPos)
virtual const SGGeod & geod() const
const std::string & ident() const
bool get_elevation_m(const SGGeod &geod, double &alt, const simgear::BVHMaterial **material, const osg::Node *butNotFrom=0)
Compute the elevation of the scenery at geodetic latitude lat, geodetic longitude lon and not higher ...
FGTaxiNode(FGPositioned::Type ty, int index, const SGGeod &pos, bool aOnRunway, int aHoldType, const std::string &ident={})
void setElevation(double val)
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information ...