pyorc.Transect.get_wetted_perspective#

Transect.get_wetted_perspective(h, sample_size=1000)[source]#

Get wetted polygon in camera perspective.

Parameters:
  • h (float) – The water level value to calculate the surface perspective.

  • sample_size (int, optional) – The number of points to densify the transect with, by default 1000

Returns:

A numpy array containing the points forming the wetted polygon perspective.

Return type:

ndarray