STK ObjectsSend comments on this topic.
Exec Method (IAgDataPrvInterval)
See Also
StartTime
The start time of the interval.
StopTime
The stop time of the interval.
Windows





Windows & Linux

Description

Compute the data; interval data providers require an interval or list of intervals. StartTime/StopTime use DateFormat Dimension.

Syntax

[Visual Basic .NET]
Public Function Exec( _
    ByVal StartTime As System.Object, _
    ByVal StopTime As System.Object _
) As IAgDrResult
[C#]
public IAgDrResult Exec(
    System.Object StartTime,
    System.Object StopTime
);
[Managed C++]
public: IAgDrResult^ Exec(
    VARIANT StartTime,
    VARIANT StopTime
);
[Unmanaged C++]
public: HRESULT Exec(
    VARIANT StartTime,
    VARIANT StopTime,
    IAgDrResult ** ppIAgDrResult
);
[Java]
public IAgDrResult exec(
    AgVariant StartTime,
    AgVariant StopTime
);
[Python - STK API ]
def Exec(self, StartTime:typing.Any, StopTime:typing.Any) -> "IAgDrResult":

Parameters

StartTime
The start time of the interval.
StopTime
The stop time of the interval.

Return Type

IAgDrResult.

See Also

Example

Execute an interval data provider (for instance access times) and returning all elements
[C#]
IAgStkAccess Access = satellite.GetAccessToObject(areatarget) as IAgStkAccess;
Access.ComputeAccess();

IAgDataPrvInterval dpInfo = Access.DataProviders["Access Data"] as IAgDataPrvInterval;
IAgDrResult resInfo = dpInfo.Exec(
    "1 Jan 2012 12:00:00.000",
    "2 Jan 2012 12:00:00.000");
Execute an interval data provider (for instance access times) and returning all elements
[Visual Basic .NET]
Dim Access As IAgStkAccess = TryCast(satellite.GetAccessToObject(areatarget), IAgStkAccess)
Access.ComputeAccess()

Dim dpInfo As IAgDataPrvInterval = TryCast(Access.DataProviders("Access Data"), IAgDataPrvInterval)

Dim resInfo As IAgDrResult = dpInfo.Exec("1 Jan 2012 12:00:00.000", "2 Jan 2012 12:00:00.000")
© 2024 Analytical Graphics, Inc. All Rights Reserved.