FloodMapGrid Class

Class that handles a grid with flood map information

Definition

Namespace: DHI.Mike1D.FloodMap
Assembly: DHI.Mike1D.FloodMap (in DHI.Mike1D.FloodMap.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class FloodMapGrid
Inheritance
Object    FloodMapGrid

Remarks

It stores a list of active grid cells which are those being updated whenever new data is available. All other grid cells will have delete-values written.

Constructors

FloodMapGrid Create new flood map file

Properties

ApplyDemDataOutsideRiverXS Boolean indicating whether Dem data outside of river cross section are applied.

When false, the DEM file will have deletevalues outside the river cross sections.

ApplyDemDataRiverXS Boolean indicating whether Dem data between river cross section are applied.

When false, Dem values are calculated from cross sections. Default is false.

BottomLevels Bottom levels matching the grid. Calculated when CreateBottomLevelArray is set.
CreateBottomLevelArray Create array of bottom levels, BottomLevels , matching the grid. This is where the DEM output is stored.
GridSpecification Specification of grid
Id Id of grid
Mapper Mapper used by grid
MapProjection Map Projection for grid. Can be different from the projection of the river system.
PointPrecedence Precedence, if several map boxes are overlapping for a point Default is ClosestToCenter
SkipProjInterpolation Flag indicating to skip projection interpolation

Projection interpolation does projection calculation based on bi-linear interpolation on a pre-calculated grid of projection values. This is for performance reasons.

StoreCells Store array of active cells for later user.

If this is only used for calculating bottom levels, BottomLevels, there is no need to store the cells, and it can be set to false

Default is true.

Methods

CreateEmptyGridArray Create a grid array matching the size of the grid
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initialize flood map file, utilizing mapping box search tree.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

DeleteValue Delete value stored in the grid cells where the flood mapping does not cover the grid

See Also