imod.visualize.line_3d#
- imod.visualize.line_3d(polygon, z=0.0)[source]#
Returns the exterior line of a shapely polygon.
- Parameters:
polygon (shapely.geometry.Polygon)
z (float or xr.DataArray) – z-coordinate to assign to line. If DataArray, assigns z-coordinate based on xy locations in DataArray.
- Return type:
pyvista.PolyData