On Thursday 12 April 2012 16:11:14 [email protected] wrote: > <html><body><span style="font-family:Verdana; color:#000000; > font-size:10pt;"><div>Wow, this works better, is simpler code, and is much > faster! Plus it will be easy to allow the user to pass configurations such > as range and airport type as mentioned, to suit GA planes or > heavies.<br></div><div><br></div><div> AirportInfoFilter > filter;</div><div> double maxRange = > 300.0;<br></div><div> FGPositioned::List results = > FGPositioned::findWithinRange(globals->get_aircraft_position(), range, > &filter);<br> FGPositioned::sortByRange(results, > globals->get_aircraft_position());<br> string > dest[results.size()];<br> for (unsigned int i=0; i < > results.size(); i++) {<br> > dest[i] = results[i]->ident();<br> > }<br></div><div><br></div><div>gapalp</div><div><a > href="mailto:[email protected]">[email protected]</a></div><div><br><br></d >iv> <blockquote id="replyBlockquote" webmail="1" style="border-left: 2px > solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; > color:black; font-family:verdana;"> <div id="wmQuoteWrapper">
Please send your mails to this list in plain text not HTML. Thank you, Ron ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

