FloodMapExtensionsGetResistance Method

Calculates the local resistance for the coordinate. If resistance does not vary over the cross section, 1 is returned.

In case more than one cross section line segment contains x, the first 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 double GetResistance(
	this IFloodMapCrossSection cs,
	double x
)

Parameters

cs  IFloodMapCrossSection
Cross section
x  Double
Coordinate along cross section. Need not start at zero.

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.FloodMap.FloodMapExtensions.GetResistance(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 IFloodMapCrossSection. 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