Res1DCatchment Class

Data desription and time step data for a catchment.

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 class Res1DCatchment : Res1DAbstractDataSet, 
	IRes1DCatchment, IRes1DDataSet, INetworkCatchment
Inheritance
Object    Res1DAbstractDataSet    Res1DCatchment
Implements
INetworkCatchment, IRes1DCatchment, IRes1DDataSet

Constructors

Res1DCatchmentInitializes a new instance of the Res1DCatchment class

Properties

Area Area of catchment. Unit: [m2]
CatchmentName Catchment name

The name is not unique, there may be several catchment models for one catchment, however all catchments with the same name should/must share the same catchment geometry.

CenterPoint Center of the catchment
DataItems List of data items used for accessing the data.
(Inherited from Res1DAbstractDataSet)
Id Identification string
(Inherited from Res1DAbstractDataSet)
Shape Shape of catchment. The IElementSetDefinition will have only one element with a Polygon type element. This Shape IElementSetDefinition will be referenced from all the catchment data items.
Type The type of catchment: NAM, UHM etc

Methods

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)
GetDataItem Return data item of specified type if present, otherwise null
(Inherited from Res1DAbstractDataSet)
GetDataItemsExcludingSurfaces Gets all data items excluding the ones belonging to catchment surfaces.
GetDataItemsForSurface Gets all data items for given surface ID.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

_dataItems List of data items
(Inherited from Res1DAbstractDataSet)
_id Identification string
(Inherited from Res1DAbstractDataSet)

Extension Methods

GetDataItem Return data item of specified type if present, otherwise null
(Defined by Res1DExtensions)

See Also