Thank you for your help. I find a simple way to calculate the altitude above
ground with the help of Mathias' e-mail.
For a null or a new FDM, to calculate the altitude above ground :
_update_ground_elev_at_pos(); // Runs the ground queries
get_Runway_altitude() // This function returns the height
above ground or terrain.
Of course we can use the function is_valid to distinguish the sea and
ground. Now I'll try is_valid.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel