ResultDataExtensions Class

Extension class with various extension methods

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static class ResultDataExtensions
Inheritance
Object    ResultDataExtensions

Methods

Expand Expand timeData from timestepIndex and assure room for length new time steps. If those time steps are already available, this does nothing.

The timestepIndex must be within or just after the end of the current set of time steps in timeData

FilterLoadsAllTimes Check if filter will load all time steps. Header must have been loaded, such that resultData knows the extent in time of the data.
GetValue Interplate a value in interval, with fraction, for the specified elementIndex
HasVolume Returns true if node has volume
InitializeTimeData Initialize all data items with default time-data objects. This can be used when storing data for many time steps in a result data object, typically when reading.
Quantities Extract all quantities of a result data object.
QuantityDataItems Extract all quantities and dataitems of a result data object, grouped by their quantity
RemoveTimestep Extract all quantities of a result data object.
SaveHD Returns true if result is HD type
SaveRR Returns true if result is rainfall-runoff type
UpdateGridPointIndices Update PointIndex.
WhatAddUnique Adds the quantity to the What, if it is not already there

See Also