RE: [Flashcoders] Algorithm to find "center" of an irregular shape

2006-09-21 Thread Danny Kodicek
> In this particular application, the shapes are the areas between the > lines created when graphing several time series on a chart (e.g., the > price of several stocks, graphed over time) It sounds to me like what you need is actually some kind of line of best fit rather than a centre. The usual

RE: [Flashcoders] Algorithm to find "center" of an irregular shape

2006-09-21 Thread Mike Keesey
ECTED] On Behalf Of matt stuehler > Sent: Thursday, September 21, 2006 9:58 AM > To: Flashcoders mailing list > Subject: [Flashcoders] Algorithm to find "center" of an irregular shape > > All, > > I'm not too handy with geometry, so I'm not even sure this is >

[Flashcoders] Algorithm to find "center" of an irregular shape

2006-09-21 Thread matt stuehler
All, I'm not too handy with geometry, so I'm not even sure this is possible, but I'm looking for an algorithm that will determine the "center" of an irregular shape. I'm not even sure there is a meaningful definition of a "center", but I'd like to at least find a point that is within the area of