NetworkReachDataSetTGetValue(Double, T, Boolean) Method

Get value at the given location.

Definition

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

Parameters

chainage  Double
Location chainage to find value for
val  T
Value at chainage
directionPositive  Boolean
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.

Return Value

Boolean
True if value exists

Implements

IReachDataInterpolatorTGetValue(Double, T, Boolean)
INetworkReachDataTGetValue(Double, T, Boolean)

See Also