pyorc.CrossSection.get_wetted_surface_sz#

CrossSection.get_wetted_surface_sz(h: float, perimeter: bool = False) Union[MultiPolygon, MultiLineString][source]#

Retrieve a wetted surface or perimeter perpendicular to flow direction (SZ) for a water level.

This returns a geometry.MultiPolygon when a surface is requested (perimeter=False), and geometry.MultiLineString when a perimeter is requested (perimeter=True).

This is a useful method for instance to estimate m2 wetted surface or m wetted perimeter length for a given water level in the cross section.

Parameters:
  • h (float) – water level [m]

  • perimeter (bool, optional) – If set to True, return a linestring with the wetted perimeter instead.

Returns:

Wetted surface as a polygon, in Y-Z projection.

Return type:

geometry.Polygon