iwfm.elem_poly_coords¶ iwfm.elem_poly_coords(elem_nodes, node_coords)[source]¶ Return a list of element coordinates in the form: [[x0,y0],[x1,y1],[x2,y2]<,…>]. Parameters: elem_nodes (list) – list of elements and associated nodes node_coords (list or dictionary) – if list: [[node_id, x, y], …] if dictionary: key = node_id, values = associated X and Y coordinates Returns: polygons – list of polygon coordinates Return type: list