RE: [Flashcoders] Simplify point collection

2007-07-13 Thread Smeets, Ben
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: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Simplify point collection Not sure if this is what you want

RE: [Flashcoders] Simplify point collection

2007-07-12 Thread Jim Armstrong
July 11, 2007 4:13 PM To: flashcoders@chattyfig.figleaf.com 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 cod

RE: [Flashcoders] Simplify point collection

2007-07-11 Thread Smeets, Ben
. Van: [EMAIL PROTECTED] namens Smeets, Ben Verzonden: wo 11-7-2007 17:26 Aan: flashcoders@chattyfig.figleaf.com Onderwerp: RE: [Flashcoders] Simplify point collection Jim (and Ben also!) Thank you very much. The link below is as far as I can tell by using the demo *exactly* what I was looking for

RE: [Flashcoders] Simplify point collection

2007-07-11 Thread Jim Armstrong
Is this what you're after? http://motiondraw.com/md/as_samples/t/LineGeneralization/demo.html regards, - jim armstrong www.algorithmist.net http://algorithmist.wordpress.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smeets, Ben Sent: Wednesday,

RE: [Flashcoders] Simplify point collection

2007-07-11 Thread Smeets, Ben
Sent: woensdag 11 juli 2007 16:37 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Simplify point collection Is this what you're after? http://motiondraw.com/md/as_samples/t/LineGeneralization/demo.html regards, - jim armstrong www.algorithmist.net

RE: [Flashcoders] Simplify point collection

2007-07-11 Thread Jim Armstrong
] Simplify point collection Jim (and Ben also!) Thank you very much. The link below is as far as I can tell by using the demo *exactly* what I was looking for. You guys helped me get some sleep tonight ;) Cheers, Ben ___ Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Simplify point collection

2007-07-11 Thread ben gomez farrell
I haven't tried this myself, but I think one of the major ways to smooth lines is to do so by checking angles. So look at point 1 and point 3. These points create the hypotenuse of a triangle, and points 1, 2 and 2, 3 create the legs of the triangle. If you use some basic trig you can find t