|
| TestEnvironment (const string dir_out, topo::CellGrid *cells) noexcept |
| Environment with the same data in every cell.
|
|
unique_ptr< Coordinates > | findCoordinates (const Point &point, bool flipped) const |
| Determine Coordinates in the grid for the Point.
|
|
| Environment (Environment &&rhs) noexcept=default |
| Move constructor.
|
|
| Environment (const Environment &rhs) noexcept=default |
| Copy constructor.
|
|
Environment & | operator= (Environment &&rhs) noexcept=default |
| Move assignment.
|
|
Environment & | operator= (const Environment &rhs) noexcept=default |
| Copy assignment.
|
|
constexpr const string & | proj4 () const |
| UTM projection that this uses.
|
|
constexpr Idx | rows () const |
| Number of rows in grid.
|
|
constexpr Idx | columns () const |
| Number of columns in grid.
|
|
constexpr MathSize | cellSize () const |
| Cell width and height (m)
|
|
constexpr ElevationSize | elevation () const |
| Elevation of the origin Point.
|
|
Cell | cell (const Idx row, const Idx column) const |
| Cell at given row and column.
|
|
template<class P > |
constexpr Cell | cell (const Position< P > &position) const |
| Cell at given Location.
|
|
Cell | offset (const sim::Event &event, const Idx row, const Idx column) const |
| Cell at Location with given hash.
|
|
sim::ProbabilityMap * | makeProbabilityMap (DurationSize time, DurationSize start_time, int min_value, int low_max, int med_max, int max_value) const |
| Make a ProbabilityMap that covers this Environment.
|
|
template<class Other > |
unique_ptr< data::GridMap< Other > > | makeMap (const Other nodata) const |
| Create a GridMap<Other> covering this Environment.
|
|
unique_ptr< sim::BurnedData > | makeBurnedData () const |
| Create BurnedData and set burned bits based on Perimeter.
|
|
void | resetBurnedData (sim::BurnedData *data) const noexcept |
| Reset with known non-fuel cells.
|
|
|
static Environment | loadEnvironment (const string dir_out, const string &path, const Point &point, const string &perimeter, int year) |
| Load from rasters in folder that have same projection as Perimeter.
|
|
static Environment | load (const string dir_out, const Point &point, const string &in_fuel, const string &in_elevation) |
| Load from rasters.
|
|
shared_ptr< sim::BurnedData > | initializeNotBurnable (const CellGrid &cells) const |
| Creates a map of areas that are not burnable either because of fuel or the initial perimeter.
|
|
| Environment (const string dir_out, CellGrid *cells, const ElevationSize elevation) noexcept |
| Construct from cells and elevation.
|
|
| Environment (const string dir_out, const FuelGrid &fuel, const ElevationGrid &elevation, const Point &point) |
| Load from rasters.
|
|
static CellGrid * | makeCells (const FuelGrid &fuel, const ElevationGrid &elevation) |
| Combine rasters into ConstantGrid<Cell, Topo>
|
|
An Environment with no elevation and the same value in every Cell.