Click or drag to resize

TsTimeGetInterval Method (Double, Double, Int32)

Same as GetInterval(Double, Double), apart from that the lastInterval is searched first. This is an optimized version when successive calls returns interval that are nearby.

Namespace:  DHI.Mike1D.Generic.TimeSeries
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public int GetInterval(
	double relativeTime,
	out double fraction,
	int lastInterval
)

Parameters

relativeTime
Type: SystemDouble
Time to look up
fraction
Type: SystemDouble
number with wich to scale the highest
lastInterval
Type: SystemInt32
Interval to look in first.

Return Value

Type: Int32

Implements

ITsTimeGetInterval(Double, Double, Int32)
See Also