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

Namespaces

namespace  hmap
 

Functions

Path hmap::dijkstra (const Path &path, const Array &array, glm::vec4 bbox, float elevation_ratio=0.f, float distance_exponent=0.5f, float upward_penalization=1.f, Array *p_mask_nogo=nullptr)
 Divide the path by adding points based on the lowest elevation difference between each pair of edge endpoints.