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
)
Public Function FindReach (
location As ILocation,
tolerance As Double
) As EngineReach
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:
EngineReachAn EngineReach with the given location or null if not found
See Also