Parameters defining the size, power-law scaling, and embedding traits of rocks.
More...
#include <rock_distribution.hpp>
|
| uint32_t | class_id = 0 |
| | Rock material / mesh class identifier.
|
| std::string | name = "" |
| | Optional descriptive name (e.g., "Granite Boulder").
|
| float | radius_min = 1e-3f |
| | Minimum rock radius.
|
| float | radius_max = 5e-2f |
| | Maximum rock radius.
|
| float | power_law_alpha = 2.0f |
| | Power-law / Pareto size exponent (typically in [1.5, 3.0]).
|
| float | embed_ratio = 0.2f |
| | Ratio of rock embedded into the ground [0, 1].
|
Parameters defining the size, power-law scaling, and embedding traits of rocks.
◆ RockDistribution() [1/2]
| hmap::RockDistribution::RockDistribution |
( |
| ) |
|
|
default |
◆ RockDistribution() [2/2]
| hmap::RockDistribution::RockDistribution |
( |
uint32_t | class_id, |
|
|
float | radius_min = 1e-3f, |
|
|
float | radius_max = 5e-2f, |
|
|
float | power_law_alpha = 2.0f, |
|
|
float | embed_ratio = 0.2f, |
|
|
const std::string & | name = "" ) |
|
inline |
◆ class_id
| uint32_t hmap::RockDistribution::class_id = 0 |
Rock material / mesh class identifier.
◆ name
| std::string hmap::RockDistribution::name = "" |
Optional descriptive name (e.g., "Granite Boulder").
◆ radius_min
| float hmap::RockDistribution::radius_min = 1e-3f |
◆ radius_max
| float hmap::RockDistribution::radius_max = 5e-2f |
◆ power_law_alpha
| float hmap::RockDistribution::power_law_alpha = 2.0f |
Power-law / Pareto size exponent (typically in [1.5, 3.0]).
◆ embed_ratio
| float hmap::RockDistribution::embed_ratio = 0.2f |
Ratio of rock embedded into the ground [0, 1].
The documentation for this struct was generated from the following file: