Hi Peter, Flightgear-commitlogs wrote:
> It doesn't crash, but sometimes, polygons lose their material. I > think fixing that > should be easier than the endless massaging of data to keep good > looking data. According to my/our (Ralf's and mine) experience loosing the material type was usually caused by the point-in-polygon droppping the centroid into the wrong polygon. The "terragear-cs" history contains a 'robust' point-in-polygon routine by Ralf Gerlich which might me worth investigating. But there's a price to pay because the mentioned method might drop the centroid into areas of the polygon which later are getting eliminated without topologically correct handling of the centroid. To put it into different words: If polygon massaging occurs in a topologically safe manner, there's a robust point-in-polygon available. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel