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

Namespaces

namespace  hmap
 

Functions

std::vector< size_t > hmap::find_border_minima (const std::vector< glm::vec3 > &xyz, float eps=1e-6f)
 
std::vector< size_t > hmap::sample_border_points (const std::vector< glm::vec3 > &xyz, size_t nb)
 
std::vector< glm::vec3 > hmap::heightmap_retopology (const Array &z, float max_error, int max_triangles=0, int max_points=0)
 
std::vector< std::vector< size_t > > hmap::invert_receiver_map (const std::vector< size_t > &receivers)