Click or drag to resize

NetworkExtensions Class

Extension methods related to NetworkData classes
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.NetworkDataAccessNetworkExtensions

Namespace:  DHI.Mike1D.NetworkDataAccess
Assembly:  DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static class NetworkExtensions

The NetworkExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBinarySearch(IListIReach, ILocation)
Find the reach that includes the given location. Assuming the reaches are sorted.

Location comparisons are case insensitive.

Public methodStatic memberBinarySearch(IListIReach, ILocation, Double)
Find the reach that includes the given location. Assuming the reaches are sorted.

Location comparisons are case insensitive, and chainage comparisons uses the tolerance, i.e., the location can be tolerance outside the span and still be accepted. tolerance may be negative (it location has to be somewhat inside span).

Public methodStatic memberBuildReachSearcher
Public methodStatic memberHasCatchmentDischarge
Retruns true if the flowType includes runoff
Public methodStatic memberHasRunoff
Retruns true if the flowType includes runoff
Public methodStatic memberIsPointConnection
Retruns true if the connection is a point connection
Public methodStatic memberIsStructureReach
Returns true when reach is an IStructureReach
Public methodStatic memberSort
Sorts a list of reaches, first based on their ID, secondly on their start chainage value
Top
See Also