pyorc.CrossSection.get_cs_waterlevel#

CrossSection.get_cs_waterlevel(h: float, sz=False, extend_by=None) LineString[source]#

Retrieve LineString of water surface at cross-section at a given water level.

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

  • sz (bool, optional) – If set, return water level line in y-z projection, by default False.

  • extend_by (float, optional) – If set, the line will be extended left and right using the defined float in meters

Returns:

horizontal line at water level (2d if `sz`=True, 3d if `yz`=False)

Return type:

geometry.LineString