FloodMapExtensionsGetClosestDownstreamGridPoint Method

Find the gridpoint which is closest to the given location upstream.

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

Definition

Namespace: DHI.Mike1D.FloodMap
Assembly: DHI.Mike1D.FloodMap (in DHI.Mike1D.FloodMap.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static IFloodMapCrossSection GetClosestDownstreamGridPoint(
	this IList<IFloodMapCrossSection> reachCsPoints,
	double chainage
)

Parameters

reachCsPoints  IListIFloodMapCrossSection

[Missing <param name="reachCsPoints"/> documentation for "M:DHI.Mike1D.FloodMap.FloodMapExtensions.GetClosestDownstreamGridPoint(System.Collections.Generic.IList{DHI.Mike1D.FloodMap.IFloodMapCrossSection},System.Double)"]

chainage  Double

[Missing <param name="chainage"/> documentation for "M:DHI.Mike1D.FloodMap.FloodMapExtensions.GetClosestDownstreamGridPoint(System.Collections.Generic.IList{DHI.Mike1D.FloodMap.IFloodMapCrossSection},System.Double)"]

Return Value

IFloodMapCrossSection

[Missing <returns> documentation for "M:DHI.Mike1D.FloodMap.FloodMapExtensions.GetClosestDownstreamGridPoint(System.Collections.Generic.IList{DHI.Mike1D.FloodMap.IFloodMapCrossSection},System.Double)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListIFloodMapCrossSection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also