Area of Irregular Polygon

Roger Guay irog at mac.com
Sat Nov 7 20:30:24 EST 2015


This is great . . . Thanks, guys!!!


> On Nov 7, 2015, at 4:56 PM, Geoff Canyon <gcanyon at 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




More information about the use-livecode mailing list