IReachDataInterpolatorTGetValue(Double, T, Boolean) Method

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.

Definition

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

Parameters

chainage  Double

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

val  T

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

directionPositive  Boolean

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

Return Value

Boolean

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

See Also