Click or drag to resize

ResultDataQueryTimeInterpolate Method

Interpolate a value in the dataItem from the specified elementIndex at the time time.

returns

float.MinValue
if time is outside time span of file

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public float TimeInterpolate(
	DateTime time,
	IDataItem dataItem,
	int elementIndex
)

Parameters

time
Type: SystemDateTime

[Missing <param name="time"/> documentation for "M:DHI.Mike1D.ResultDataAccess.ResultDataQuery.TimeInterpolate(System.DateTime,DHI.Mike1D.ResultDataAccess.IDataItem,System.Int32)"]

dataItem
Type: DHI.Mike1D.ResultDataAccessIDataItem

[Missing <param name="dataItem"/> documentation for "M:DHI.Mike1D.ResultDataAccess.ResultDataQuery.TimeInterpolate(System.DateTime,DHI.Mike1D.ResultDataAccess.IDataItem,System.Int32)"]

elementIndex
Type: SystemInt32

[Missing <param name="elementIndex"/> documentation for "M:DHI.Mike1D.ResultDataAccess.ResultDataQuery.TimeInterpolate(System.DateTime,DHI.Mike1D.ResultDataAccess.IDataItem,System.Int32)"]

Return Value

Type: Single

[Missing <returns> documentation for "M:DHI.Mike1D.ResultDataAccess.ResultDataQuery.TimeInterpolate(System.DateTime,DHI.Mike1D.ResultDataAccess.IDataItem,System.Int32)"]

See Also