Click or drag to resize

NetworkReachDataSetT Class

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericNetworkReachDataSetT

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class NetworkReachDataSet<T> : IReachDataInterpolator<T>, 
	INetworkReachData<T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:DHI.Mike1D.Generic.NetworkReachDataSet`1"]

The NetworkReachDataSetT type exposes the following members.

Properties
  NameDescription
Public propertyChainageSortedValues
Values on reach, sorted by chainage
Public propertyGlobalValue
Get/Set the value covering the entire reach
Public propertyReachId
Id of reach
Public propertyValues
The set of chainages and values defined, in case IsGlobal is false.
Top
Methods
  NameDescription
Public methodAdd(Double, T)
Add a value to the set on the current chainage location. This will fail if set is global.
Public methodAdd(Double, Double, T)
Add a value defined within the given span. This corresponds to adding the value at the start and end location of the span.
Public methodAdd(Double, T, Boolean)
Add a value to the set on the current chainage location. This will fail if set is global.
Public methodContainsValue(Double, Direction)
Check if a value already exists at the specified chainage, or if the specified chainage is included in a value span.

The direction can specify if any value or if only a negative or positive direction value is searched for.

For a reach with a global value, true is returned.

Chainage value must be exact, i.e. there is no tolerance in the search.

Public methodContainsValue(Double, Double)
Check if one ore more values are defined inside the chainage span.

Values at start of span with negative direction and end of span with positive direction is not inside span, while values at start of span with positive direction and end of span with negative direction is considered inside span.

Values inside other spans can share start/end chainage without being inside.

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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(Double, T)
Get value at the given location.
Public methodGetValue(Double, T, Boolean)
Get value at the given location.
Public methodIsGlobal
Returns true if this set holds only one value covering entire reach
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Implementation details: Each value is sorted by its chainage, for fast searching. For spans, the start chainage is used for sorting.

when inserting a new value, it is checked that a new span does not overlap any existing locations/spans, or a new location is not contained by any existing spans.

See Also