Click or drag to resize

ITsTimeGetInterval 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#
int GetInterval(
	double time,
	out double fraction,
	int lastInterval
)

Parameters

time
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
See Also