Click or drag to resize

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

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(
	string reachid,
	double chainage,
	bool downstream
)

Parameters

reachid
Type: SystemString
Id of reach
chainage
Type: SystemDouble
Chainage within reach
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