Information regarding an Environment, such as grids to read and location.
More...
#include <EnvironmentInfo.h>
|
data::GridBase | fuel_ |
| Information about fuel raster.
|
|
data::GridBase | elevation_ |
| Information about elevation raster.
|
|
string | in_fuel_ |
| Fuel raster path.
|
|
string | in_elevation_ |
| Elevation raster path.
|
|
Information regarding an Environment, such as grids to read and location.
◆ EnvironmentInfo() [1/3]
fs::topo::EnvironmentInfo::EnvironmentInfo |
( |
const string & | in_fuel, |
|
|
const string & | in_elevation ) |
Construct from given rasters.
- Parameters
-
in_fuel | Fuel raster |
in_elevation | Elevation raster |
◆ EnvironmentInfo() [2/3]
Move constructor.
- Parameters
-
◆ EnvironmentInfo() [3/3]
Constructor.
- Parameters
-
in_fuel | Fuel raster path |
in_elevation | Elevation raster path |
fuel | Information about fuel raster |
elevation | Information about elevation raster |
◆ calculateColumns()
FullIdx fs::topo::EnvironmentInfo::calculateColumns |
( |
| ) |
const |
|
inlinenodiscardconstexpr |
Number of columns in grid.
- Returns
- Number of columns in grid
◆ calculateRows()
FullIdx fs::topo::EnvironmentInfo::calculateRows |
( |
| ) |
const |
|
inlinenodiscardconstexpr |
Number of rows in grid.
- Returns
- Number of rows in grid
◆ findCoordinates()
unique_ptr< Coordinates > fs::topo::EnvironmentInfo::findCoordinates |
( |
const Point & | point, |
|
|
bool | flipped ) const |
|
nodiscard |
Determine Coordinates in the grid for the Point.
- Parameters
-
point | Point to find Coordinates for |
flipped | Whether the grid data is flipped across the horizontal axis |
- Returns
- Coordinates that would be at Point within this EnvironmentInfo, or nullptr if it is not
◆ findFullCoordinates()
unique_ptr< FullCoordinates > fs::topo::EnvironmentInfo::findFullCoordinates |
( |
const Point & | point, |
|
|
bool | flipped ) const |
|
nodiscard |
Determine FullCoordinates in the grid for the Point.
- Parameters
-
point | Point to find FullCoordinates for |
flipped | Whether the grid data is flipped across the horizontal axis |
- Returns
- Coordinates that would be at Point within this EnvironmentInfo, or nullptr if it is not
◆ load()
Environment fs::topo::EnvironmentInfo::load |
( |
const string | dir_out, |
|
|
const Point & | point ) const |
|
nodiscard |
Load the full Environment using the given FuelLookup to determine fuels.
- Parameters
-
dir_out | Folder to save outputs to |
point | Origin Point |
- Returns
◆ loadInfo()
unique_ptr< EnvironmentInfo > fs::topo::EnvironmentInfo::loadInfo |
( |
const string & | in_fuel, |
|
|
const string & | in_elevation ) |
|
staticnodiscard |
◆ operator=()
Move assignment.
- Parameters
-
- Returns
- This, after assignment
◆ proj4()
const string & fs::topo::EnvironmentInfo::proj4 |
( |
| ) |
const |
|
inlinenodiscardconstexpr |
UTM projection that this uses.
- Returns
- UTM projection that this uses
The documentation for this class was generated from the following files: