Click or drag to resize

EngineReachMap Class

Helper class for fast searcing of enginereaches

If storing a large amount of data in each span, consider instead one of the NetworkDataT classes. This class is a light-weight version of the NetworkDataT implementation.

It does fast lookup in a dictionary of span-id's, containing a list of spans for each id, and it does linear searching in the chainages.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.EngineEngineReachMap

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

The EngineReachMap type exposes the following members.

Constructors
  NameDescription
Public methodEngineReachMap
Initializes a new instance of the EngineReachMap class
Top
Methods
  NameDescription
Public methodAdd(String, EngineReach)
Add to map
Public methodAdd(ILocationSpan, EngineReach)
Add to map
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 methodFind(String)
Find data based on the provided reach id. If more than span exist with the same reachId, the first found is returned.
Public methodFind(ILocation)
Find data based on the provided location.

It will first search without chainage tolerance, and if none found, search using tolerance of LOCATION_EQUAL_TOLERANCE.

Public methodFind(ILocation, Double)
Find data based on the provided location.
Public methodFindAll
Find data based on the provided location.
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 methodSort
Sort reaches with the same name on start chainage
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also