HighMap library (C++)
Loading...
Searching...
No Matches
depression_filling.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  hmap

Functions

void hmap::depression_filling (Array &z, int iterations=1000, float epsilon=1e-4f, bool outflow_left=true, bool outflow_right=true, bool outflow_bottom=true, bool outflow_top=true, const UvTile &region=UvTile::dummy(), ICommunicator &comm=SingleArrayComm::instance())
 Fill the depressions of the heightmap using the Planchon-Darboux algorithm.
void hmap::depression_filling_priority_flood (Array &z, bool apply_post_filter=false, bool outflow_left=true, bool outflow_right=true, bool outflow_bottom=true, bool outflow_top=true, const UvTile &region=UvTile::dummy(), ICommunicator &comm=SingleArrayComm::instance())
 Fill depressions in a heightmap using the Priority-Flood algorithm.