-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Surgeon schrieb: > On Saturday 15 October 2005 23:44, Ralf Gerlich wrote: > >>Hi, >> >>I hope I don't say too much if I say that there is work planned on >>defining taxiways by means of polylines in TaxiDraw. > > > That's still very restrictive. It's a step in the right direction but is > still > far from what is needed. We need polygon editing and not just polylines. > Taxiways are unfortunately too full of non-parallel sides for polylines to > work properly everywhere. > > How would you draw these taxiways with polylines?
Polylines should be sufficient (as long as you don't need things like bridges, i.e. stay 2D). To find out if you are outside (e.g. on grass) you do a line walk. I.e. you start on the outside (e.g. from far far away) and walk on a line to the desired position. On that walk you cound how often you've crossed a polyline. Each time you cross it you change from outside to inside (or the other way round). To get the final triangulation you'll only need a contraint delauney triangulation where you'll delete the outside triangles (or, better, asign them the outside material...) Doesn't TaxiDraw already use CGAL? With CGAL you've got all that you need for that. CU, Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFDUljXlhWtxOxWNFcRAsHaAKCnLD1thK3IJYl5zP/H5yFFcPU1fwCgpXPk DPQApGan8ULq1O70gRGjy+U= =8g2S -----END PGP SIGNATURE----- _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d