Click or drag to resize

IReachDataInterpolatorTGetValue Method (Double, T, Boolean)

Get value at the specified chainage of the link/reach. Returns false if no value is defined around the chainage.

If two values are present at the same chainage, depending on the directionPositive, if false, it will take the first (upstream value) and if true it will take the last (downstream) value.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
bool GetValue(
	double chainage,
	out T val,
	bool directionPositive
)

Parameters

chainage
Type: SystemDouble

[Missing <param name="chainage"/> documentation for "M:DHI.Mike1D.Generic.IReachDataInterpolator`1.GetValue(System.Double,`0@,System.Boolean)"]

val
Type: T

[Missing <param name="val"/> documentation for "M:DHI.Mike1D.Generic.IReachDataInterpolator`1.GetValue(System.Double,`0@,System.Boolean)"]

directionPositive
Type: SystemBoolean

[Missing <param name="directionPositive"/> documentation for "M:DHI.Mike1D.Generic.IReachDataInterpolator`1.GetValue(System.Double,`0@,System.Boolean)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.IReachDataInterpolator`1.GetValue(System.Double,`0@,System.Boolean)"]

See Also