EngineNetFindReach(ILocation, Double) Method

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.

Definition

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

Parameters

location  ILocation
Location to look for
tolerance  Double
Tolerance accepted by the chainage when searching

Return Value

EngineReach
An EngineReach with the given location or null if not found

See Also