Skip to content

File water.hpp

FileList > methods > water > water.hpp

Go to the source code of this file

  • #include <cstddef>
  • #include <vector>
  • #include "grid/forward_grid.hpp"
  • #include "utilities/coordinate.hpp"

Classes

Type Name
struct Stream

Public Functions

Type Name
GeoGrid< double > fill_depressions (const GeoGrid< double > & grid, const std::vector< Coordinate2D< size_t > > & sinks={})
std::vector< Coordinate2D< size_t > > identify_sinks (const GeoGrid< double > & grid, double depth=10, double min_area=5000)
std::vector< Stream > stream_paths (const GeoGrid< double > & grid, const WaterConfigs & config, ProgressTracker progress_tracker, bool already_filled=false)

Public Functions Documentation

function fill_depressions

GeoGrid < double > fill_depressions (
    const  GeoGrid < double > & grid,
    const std::vector< Coordinate2D < size_t > > & sinks={}
) 

function identify_sinks

std::vector< Coordinate2D < size_t > > identify_sinks (
    const  GeoGrid < double > & grid,
    double depth=10,
    double min_area=5000
) 

function stream_paths

std::vector< Stream > stream_paths (
    const  GeoGrid < double > & grid,
    const  WaterConfigs & config,
    ProgressTracker progress_tracker,
    bool already_filled=false
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/methods/water/water.hpp