DfsExtensionsGetRelativeSeconds Method |
Return an array of doubles which are the the number of seconds since the start time
for each timestep.
For non-equidistant axis, only the first and the last time
are populated correctly. The rest are populated with -1
For time type axis, first time is StartTimeOffsetInSeconds(IDfsTemporalAxis)
Namespace: DHI.Generic.MikeZero.DFSAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static double[] GetRelativeSeconds(
this IDfsTemporalAxis temporalAxis
)
<ExtensionAttribute>
Public Shared Function GetRelativeSeconds (
temporalAxis As IDfsTemporalAxis
) As Double()
public:
[ExtensionAttribute]
static array<double>^ GetRelativeSeconds(
IDfsTemporalAxis^ temporalAxis
)
[<ExtensionAttribute>]
static member GetRelativeSeconds :
temporalAxis : IDfsTemporalAxis -> float[]
Parameters
- temporalAxis
- Type: DHI.Generic.MikeZero.DFSIDfsTemporalAxis
Return Value
Type:
DoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDfsTemporalAxis. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also