Click or drag to resize

EngineNetFindReach Method (ILocation, Double)

Finds the reach that contains the specified location. If none of the reaches contains the location null is returned. If location is exactly on a node, the location can exist on more than one reaches, the first in the list is returned.

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public EngineReach FindReach(
	ILocation location,
	double tolerance
)

Parameters

location
Type: DHI.Mike1D.GenericILocation
Location to look for
tolerance
Type: SystemDouble
Tolerance accepted by the chainage when searching

Return Value

Type: EngineReach
An EngineReach with the given location or null if not found
See Also