Click or drag to resize

CatchmentGriddedWeights Class

For a catchment, specifying which cells of a grid that is inside this catchment, and for each cell specifying the weight for calculating the average cell contribution.

If the Weights is null, the weights will be calculated automatically. To have a catchment use this grid, and have the weights calculated automatically, then only specify the CatchmentId.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.BoundaryModuleCatchmentGriddedWeights

Namespace:  DHI.Mike1D.BoundaryModule
Assembly:  DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class CatchmentGriddedWeights

The CatchmentGriddedWeights type exposes the following members.

Constructors
  NameDescription
Public methodCatchmentGriddedWeights
Initializes a new instance of the CatchmentGriddedWeights class
Top
Properties
  NameDescription
Public propertyCatchmentId
Id of catchment
Public propertyWeights
Cell weights
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlatten
Flatten the weights; removes duplicate (I,J) entries and sums their weights. The weights will also be sorted.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRescale
Rescale all weights to sum to 1
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasWeights
Returns true if weights are defined for this catchment.
(Defined by BoundaryExtensions.)
Top
See Also