|
| void | hmap::find_path_multiscale (const Array &z, glm::ivec2 ij_start, glm::ivec2 ij_end, std::vector< int > &i_path, std::vector< int > &j_path, int n_levels=3, int corridor_radius=4, float corridor_decay=1.f, float elevation_ratio=0.1f, float distance_exponent=2.f, float upward_penalization=0.1f, const Array *p_mask_nogo=nullptr, bool use_astar=false, bool smooth_path=false) |
| | Finds a shortest path on a 2D grid using a fast coarse-to-fine multiscale approach.
|
| std::vector< glm::ivec2 > | hmap::find_path_multiscale (const Array &z, glm::ivec2 ij_start, glm::ivec2 ij_end, int n_levels=3, int corridor_radius=4, float corridor_decay=1.f, float elevation_ratio=0.1f, float distance_exponent=2.f, float upward_penalization=0.1f, const Array *p_mask_nogo=nullptr, bool use_astar=false, bool smooth_path=false) |
| | Overload of find_path_multiscale returning a vector of grid indices.
|
| Path | hmap::find_path_multiscale (const Array &z, glm::ivec2 ij_start, glm::ivec2 ij_end, const UvRect &uv_rect, int n_levels=3, int corridor_radius=4, float corridor_decay=1.f, float elevation_ratio=0.1f, float distance_exponent=2.f, float upward_penalization=0.1f, const Array *p_mask_nogo=nullptr, bool use_astar=false, bool smooth_path=false) |
| | Overload of find_path_multiscale returning a Path object mapped to a bounding box, with point values containing the elevation sampled from the heightmap.
|