ReachSearcherT Class

Class for searching reaches, generic such that several reach types can be entered.

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 class ReachSearcher<T>
where T : class
Inheritance
Object    ReachSearcherT

Type Parameters

T

Constructors

ReachSearcherT Constructor.

Using case insensitive string ID comparison.

ReachSearcherT(Boolean) Constructor

Properties

ReachIds Id of all reaches in the searcher
Values Values corrently in the searcher

Methods

Add Add reach to searcher. Returns false if span is already added.
AddRange Add a range of reaches
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FindReach(ILocation) Find reach at the provided location.

In case two reaches cover the same location (when one reach has been split into two at exactly that location), the first one (smallest start-chainage) is returned

FindReach(ILocation, Boolean) Find reach at the provided location.

In case two reaches cover the same location (when one reach has been split into two at exactly that location), you must select whether you want the upstream or the downstream reach.

FindReach(String, Double) Find reach at the provided location.

In case two reaches cover the same location (when one reach has been split into two at exactly that location), the first one (smallest start-chainage) is returned

FindReach(String, Double, Boolean) Find reach at the provided location.

In case two reaches cover the same location (when one reach has been split into two at exactly that location), you must select whether you want the upstream or the downstream reach.

FindReaches Find all reaches with the provided id, sorted by chainage
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also