HighMap library (C++)
Loading...
Searching...
No Matches
roads.hpp File Reference

Header file for road network generation functions. More...

Go to the source code of this file.

Namespaces

namespace  hmap
 

Functions

Graph hmap::generate_network_alpha_model (const std::vector< float > &xc, const std::vector< float > &yc, const std::vector< float > &size, Vec4< float > bbox, const Array &z, uint seed, float alpha=0.7f, int n_dummy_nodes=2500, float dz_weight=1.f, const Array *p_weight=nullptr)
 Generate a large scale road network between "nodes" (or cities) using the alpha model.
 

Detailed Description

Header file for road network generation functions.

Author
Otto Link (otto..nosp@m.link.nosp@m..bv@g.nosp@m.mail.nosp@m..com)
Version
0.1
Date
2023-06-26
Author
Otto Link (otto..nosp@m.link.nosp@m..bv@g.nosp@m.mail.nosp@m..com)