A simple script for calculating the surface area of an arbitrary two-dimensional polygon, where the polygon is specified by a sequence of vertices, stored as x-y co-ordinates in a CSV file.
Poly_area is a command-line tool. Run it with
$ python poly_area.py FILENAME
where FILENAME points to a csv file containing a sequence of x-y co-ordinates.
Alternatively, import poly_area
within a Python
module to access its functions.
Poly_area is free software: you can redistribute it und/or modify it under the terms of the GNU General Public License. See module header and GPL.txt for more detail.
Yoshua Wakeham
- email: [email protected]