INetworkDataT Interface

Network data. Data can be stored - On nodes - On entire links/reaches as link id - On locations using link/reachId + chainage

This interface provides the storing functionality, hence is used for building up a network data object and for iterating through its values. To interpolate in values of a network data quantity, see INetworkDataInterpolatorT. A network data class need not implement the Interpolator interface.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public interface INetworkData<T>

Type Parameters

T
Any type

Properties

CanInterpolate Flag specifying whether it makes sense to interpolate in values on a reach.
GlobalValue The global value
HasGlobalValue Flag specifying whether this data has a global value defined
HasValues Flag specifying whether this data has values defined at all
NodeIdValuePairs The set of node id's and values defined.
Quantity Quantity stored in network data
ReachData Retrieves reaches which has data

Methods

AddGlobalReachValue Add a value which is global for the reach, i.e. valid for the entire reach.
AddValue(ILocation, T) Add value at the given location
AddValue(ILocationSpan, T) Add value in a location span.

this corresponds to calling AddValue(ILocation, T) for the start and end location of the span.

AddValue(String, T) Add value at the given node
GetReachData Get a INetworkReachDataT for the specified link/reachId. Returns null if no valueset exist for the link/reachId.
GetValue Get value for node

See Also