wpt->on_ground = false;
waypoints.push_back(wpt);
- wpt = cloneWithPos(wpt, "3000 ft", rwy->reverseThreshold());
+ wpt = cloneWithPos(wpt, "3000 ft", rwy->end());
wpt->altitude = airportElev+3000;
waypoints.push_back(wpt);
waypoint *wpt;
double aptElev = apt->getElevation();
//Runway Threshold
- wpt = createOnGround("Threshold", rwy->displacedThreshold(), aptElev, 150);
+ wpt = createOnGround("Threshold", rwy->threshold(), aptElev, 150);
wpt->crossat = apt->getElevation();
waypoints.push_back(wpt);
return _length * aLengthWt + _width * aWidthWt + surface * aSurfaceWt + 1e-20;
}
-SGGeod FGRunway::threshold() const
+SGGeod FGRunway::begin() const
{
return pointOnCenterline(0.0);
}
-SGGeod FGRunway::reverseThreshold() const
+SGGeod FGRunway::end() const
{
return pointOnCenterline(lengthM());
}
-SGGeod FGRunway::displacedThreshold() const
+SGGeod FGRunway::threshold() const
{
return pointOnCenterline(_displ_thresh * SG_FEET_TO_METER);
}
{ return _reciprocal; }
/**
- * Get the runway threshold point - this is syntatic sugar, equivalent to
+ * Get the runway begining point - this is syntatic sugar, equivalent to
* calling pointOnCenterline(0.0);
*/
- SGGeod threshold() const;
+ SGGeod begin() const;
/**
* Get the (possibly displaced) threshold point.
*/
- SGGeod displacedThreshold() const;
+ SGGeod threshold() const;
/**
- * Get the opposite threshold - this is equivalent to calling
+ * Get the 'far' end - this is equivalent to calling
* pointOnCenterline(lengthFt());
*/
- SGGeod reverseThreshold() const;
+ SGGeod end() const;
double displacedThresholdM() const
{ return _displ_thresh * SG_FEET_TO_METER; }