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

Namespaces

namespace  hmap
 

Functions

Array hmap::flow_accumulation_dinf (const Array &z, float talus_ref)
 Computes the flow accumulation for each cell using the Multiple Flow Direction (MFD) model.
 
Array hmap::flow_accumulation_dinf_perturbed (const Array &z, float talus_ref, int nsamples, glm::vec2 kw, uint seed, float amp, const Array *p_perturb_scaling=nullptr, glm::vec4 bbox={0.f, 1.f, 0.f, 1.f})
 Computes averaged D-infinity flow accumulation with terrain perturbations.
 
std::vector< Arrayhmap::flow_direction_dinf (const Array &z, float talus_ref)
 Computes the flow direction and weights for each direction using the Multiple Flow Direction (MFD) model.
 
std::vector< float > hmap::flow_direction_dinf_flat (const Array &z, float talus_ref)
 
Array hmap::flow_direction_dinf_angle (const Array &z, float talus_ref)
 Computes the flow direction using the Multiple Flow Direction (MFD) model.