EngineFindExtensions Class

Extension methods for searching in the engine classes

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 static class EngineFindExtensions
Inheritance
Object    EngineFindExtensions

Methods

GetClosestDownstreamGridpoint(EngineNet, ILocation, PredicateGridPoint, Boolean) Find the specified type of gridpoint which is closest to the given location downstream.

It is assumed that the EngineReach max and min chainages are containing the given chainage, otherwise null is returned.

GetClosestDownstreamGridpoint(IListEngineReach, Double, PredicateGridPoint, Boolean) Find the specified type of gridpoint which is closest to the given location downstream.

It is assumed that the EngineReach max and min chainages are containing the given chainage, otherwise null is returned.

GetClosestUpstreamGridpoint(EngineNet, ILocation, PredicateGridPoint, Boolean) Find the specified type of gridpoint which is closest to the given location upstream.

It is assumed that the EngineReach max and min chainages are containing the given chainage, otherwise null is returned.

GetClosestUpstreamGridpoint(IListEngineReach, Double, PredicateGridPoint, Boolean) Find the specified type of gridpoint which is closest to the given location upstream.

It is assumed that the EngineReach max and min chainages are containing the given chainage, otherwise null is returned.

GetComponentIndex Get component index and scope for componentId
GetHGridPointSpanningChainage Find the H grid point which grid-point-span includes the chainage.
GetNextHGridPoint Find the next H grid point. It will search in the list of reaches for the next H grid point
GridPointSpanChainageEnd End-chainage of the span of the grid point in the index.
GridPointSpanChainageStart Start-chainage of the span of the grid point in the index.

See Also