freegs.polygons.area

Contents

freegs.polygons.area#

freegs.polygons.area(polygon)[source]#

Calculate the area of a polygon. Can be positive (clockwise) or negative (anticlockwise)

Input

polygon [ (r1, z1), (r2, z2), … ]