Encapsulates biological and geometric traits of a tree species.
More...
#include <species.hpp>
|
| uint32_t | id = 0 |
| | Species identifier.
|
| std::string | name = "" |
| | Optional human-readable name.
|
| float | radius = HMAP_DEFAULT_TREE_RADIUS |
| | Nominal canopy / collision radius.
|
| float | weight = 1.0f |
| | Relative abundance weight for seeding.
|
| float | radius_min = 0.5f * HMAP_DEFAULT_TREE_RADIUS |
| | Minimum viable crown radius.
|
| float | radius_max = 1.5f * HMAP_DEFAULT_TREE_RADIUS |
| | Maximum crown radius.
|
| float | competition_factor = 0.4f |
| | Default intra/inter-species alpha.
|
Encapsulates biological and geometric traits of a tree species.
◆ Species() [1/2]
| hmap::Species::Species |
( |
| ) |
|
|
default |
◆ Species() [2/2]
| hmap::Species::Species |
( |
uint32_t | id, |
|
|
float | radius = HMAP_DEFAULT_TREE_RADIUS, |
|
|
float | weight = 1.0f, |
|
|
float | radius_min = -1.0f, |
|
|
float | radius_max = -1.0f, |
|
|
float | competition_factor = 0.4f, |
|
|
const std::string & | name = "" ) |
|
inline |
◆ id
| uint32_t hmap::Species::id = 0 |
◆ name
| std::string hmap::Species::name = "" |
Optional human-readable name.
◆ radius
| float hmap::Species::radius = HMAP_DEFAULT_TREE_RADIUS |
Nominal canopy / collision radius.
◆ weight
| float hmap::Species::weight = 1.0f |
Relative abundance weight for seeding.
◆ radius_min
| float hmap::Species::radius_min = 0.5f * HMAP_DEFAULT_TREE_RADIUS |
Minimum viable crown radius.
◆ radius_max
| float hmap::Species::radius_max = 1.5f * HMAP_DEFAULT_TREE_RADIUS |
◆ competition_factor
| float hmap::Species::competition_factor = 0.4f |
Default intra/inter-species alpha.
The documentation for this struct was generated from the following file: