iwfm.gis.elem2boundingpoly

iwfm.gis.elem2boundingpoly(elem_nodes, node_coords, verbose=False)[source]

Create a shapely Polygon of the boundary of an IWFM model.

Parameters:
  • elem_nodes (list) – list of elements and associated nodes

  • node_coords (list) – list of nodes and associated X and Y coordinates

  • verbose (bool, default=False) – True = command-line output on

Returns:

bounding_polygon – Model boundary polygon

Return type:

shapely Polygon