QcRiverField::Land Class
class QcRiverField::LandThe terrain's maps that the river pieces (QcRiverPieces) and deltas (QcDeltaSites) read (QcTerrainGenerator). More...
Public Functions
| virtual | ~Land() |
| virtual QcTerrainClimate::Point | climateAt(int x, int z) const = 0 |
| virtual double | continentAt(int x, int z) const = 0 |
| virtual std::optional<QcTerrainClimate::Point> | dryClimateAt(int x, int z) const = 0 |
Detailed Description
Member Function Documentation
[virtual constexpr noexcept default] Land::~Land()
Destroys the instance of Land. This destructor is virtual.
[pure virtual] QcTerrainClimate::Point Land::climateAt(int x, int z) const
Returns the climate point of the column x, z.
[pure virtual] double Land::continentAt(int x, int z) const
Returns the continent value at the column x, z (below about -0.15 the sea).
[pure virtual] std::optional<QcTerrainClimate::Point> Land::dryClimateAt(int x, int z) const
Returns the climate at the column x, z if its ground (before rivers cut it) lies above the sea level or at most a block under it; std::nullopt in the sea, lakes and other ground deeper under it.