HighMap library (C++)
Loading...
Searching...
No Matches
flooding.cpp File Reference

Namespaces

namespace  hmap
 

Functions

Array hmap::flooding_uniform_level (const Array &z, float zref)
 Compute water depth for a uniform flooding level.
 
Array hmap::flooding_from_boundaries (const Array &z, float zref, bool from_east=true, bool from_west=true, bool from_north=true, bool from_south=true)
 Compute flooding starting from the lowest boundary points.
 
Array hmap::flooding_from_point (const Array &z, int i, int j, float depth_min=std::numeric_limits< float >::max())
 Flood terrain starting from a single seed point.
 
Array hmap::flooding_from_point (const Array &z, const std::vector< int > &i, const std::vector< int > &j, float depth_min=std::numeric_limits< float >::max())
 Flood terrain starting from multiple seed points.
 
Array hmap::flooding_lake_system (const Array &z, float surface_threshold=0)
 Estimate lake water depths on a terrain by filling depressions.