|
| Path | hmap::find_cut_path_dijkstra (const Array &z, DomainBoundary start, DomainBoundary end, float dijk_elevation_ratio=0.9f, float dijk_distance_exponent=2.f, float dijk_upward_penalization=100.f, std::uint32_t seed=0, bool favor_boundary_center=true, bool favor_lower_elevation=true, bool favor_sinks=true, bool favor_domain_center=false) |
| | Find a Dijkstra-based cut path between two domain boundaries.
|
| Path | hmap::find_cut_path_dijkstra (const Array &z, DomainBoundary start, DomainBoundary end, std::uint32_t seed, size_t control_points_count=2048, bool favor_boundary_center=true, bool favor_lower_elevation=true, bool favor_sinks=true, bool favor_domain_center=false, const UvTile ®ion=UvTile::unit(), ICommunicator &comm=SingleArrayComm::instance()) |
| | Generate a cut path across a heightmap using a random triangular mesh and Dijkstra shortest path search (tileable).
|
| Path | hmap::find_cut_path_midpoint (const Array &z, DomainBoundary start, DomainBoundary end, std::uint32_t seed, float offset_ratio=0.2f, int steps=16, bool favor_boundary_center=true, bool favor_lower_elevation=true, bool favor_sinks=true, const UvTile ®ion=UvTile::unit(), ICommunicator &comm=SingleArrayComm::instance()) |
| | Generate a stochastic cut path using midpoint displacement.
|
| Path | hmap::find_cut_path_multiscale (const Array &z, DomainBoundary start, DomainBoundary end, int n_levels=3, int corridor_radius=4, float corridor_decay=1.f, float dijk_elevation_ratio=0.9f, float dijk_distance_exponent=2.f, float dijk_upward_penalization=100.f, std::uint32_t seed=0, bool favor_boundary_center=true, bool favor_lower_elevation=true, bool favor_sinks=true, bool use_astar=false, bool smooth_path=false) |
| | Find a fast coarse-to-fine multiscale cut path between two domain boundaries.
|