Cool Jim, tnx. Diving into it. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Armstrong Sent: donderdag 12 juli 2007 15:40 To: [email protected] Subject: RE: [Flashcoders] Simplify point collection
Not sure if this is what you want, but check out the JTS Topology Suite. Here is the user's guide - The Polygonizer class may be in the ballpark of what you desire http://www.vividsolutions.com/jts/bin/JTS%20Developer%20Guide.pdf This is not a Flash library (it's Java), but it is available for download. Might be possible to convert to AS. Yes, it's much easier said than done :) good luck! - jim www.algorithmist.net http://algorithmist.wordpress.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smeets, Ben Sent: Wednesday, July 11, 2007 4:13 PM To: [email protected] Subject: RE: [Flashcoders] Simplify point collection I might be pushing my luck here, but is there some similar magic piece of code which can transform a collection of lines to a single polygon line? (So i can use the linegeneralization code below) I have a large collection of random lines which have a lot of overlappig start/end points. The only dinkytoy way I can think of to combine these into polygons is to take point 1, look through the whole collection for matching points, take point 2..etc. The way too global searchterms i can think of to use for googling brings up everything but related stuff. ________________________________ _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

