CatchmentGriddedWeights Class |
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.
Namespace: DHI.Mike1D.BoundaryModule
The CatchmentGriddedWeights type exposes the following members.
Name | Description | |
---|---|---|
![]() | CatchmentGriddedWeights | Initializes a new instance of the CatchmentGriddedWeights class |
Name | Description | |
---|---|---|
![]() | CatchmentId |
Id of catchment
|
![]() | Weights |
Cell weights
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Flatten |
Flatten the weights; removes duplicate (I,J) entries and sums their weights.
The weights will also be sorted.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Rescale |
Rescale all weights to sum to 1
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | HasWeights |
Returns true if weights are defined for this catchment.
(Defined by BoundaryExtensions.) |