NetworkDataTAddValue(ILocation, T, Boolean) Method
Add a value on the given location.
Namespace: DHI.Mike1D.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public bool AddValue(
ILocation location,
T value,
bool directionPositive
)
- location ILocation
- Location of the value.
- value T
- Value at location
- directionPositive Boolean
- When two values are defined at the same point, this
specifies if the value is valid from the positive side
or from the negative side. When ordered, values from
the negative side goes before values from the positive side.
BooleanTrue on success.
Adding like this is generally an O(n) operation. If adding
in chainage increasing order, it is fast.