Important to note that this method of calculating the area of a polygon will fail if the polygon crosses itself. As long as the polygon is simple, it works.
On Sat, Nov 7, 2015 at 8:30 PM, Roger Guay <i...@mac.com> wrote: > This is great . . . Thanks, guys!!! > > > > On Nov 7, 2015, at 4:56 PM, Geoff Canyon <gcan...@gmail.com> wrote: > > > > put line 1 of pPts into oldL > > repeat for each line L in line 2 to -1 of pPts > > add (item 1 of L - item 1 of oldL) * ( item 2 of oldL + item 2 of > > L) / 2 to tArea > > put L into oldL > > end repeat > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode