Click or drag to resize

ReachSearcherTFindReach Method (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.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public T FindReach(
	ILocation location,
	bool downstream
)

Parameters

location
Type: DHI.Mike1D.GenericILocation
Location
downstream
Type: SystemBoolean
Bool indicating whether you want the upstream (false) or the downstream (true) one

Return Value

Type: T
Reach at location, null if not found.
See Also