STK Vector Geometry ToolSend comments on this topic.
SetStartEpoch Method (IAgCrdnEventIntervalSmartInterval)
See Also
StartEpoch
Epoch component.
Windows





Windows & Linux

Description

Sets a start of the interval using specified epoch component.

Syntax

[Visual Basic .NET]
Public Sub SetStartEpoch( _
    ByVal StartEpoch As IAgCrdnEventSmartEpoch _
)
[C#]
public void SetStartEpoch(
    IAgCrdnEventSmartEpoch StartEpoch
);
[Managed C++]
public: void SetStartEpoch(
    IAgCrdnEventSmartEpoch ^ StartEpoch
);
[Unmanaged C++]
public: HRESULT SetStartEpoch(
    IAgCrdnEventSmartEpoch * StartEpoch
);
[Java]
public void setStartEpoch(
    IAgCrdnEventSmartEpoch StartEpoch
);
[Python - STK API ]
def SetStartEpoch(self, StartEpoch:"IAgCrdnEventSmartEpoch") -> None:

Parameters

StartEpoch
Epoch component.

See Also

Example

Configure the start and stop epoch time with smart epochs.
[C#]
smartInterval.State = AgECrdnSmartIntervalState.eCrdnSmartIntervalStateStartStop;

IAgCrdnEventSmartEpoch accessStartEpoch = smartInterval.GetStartEpoch();
accessStartEpoch.SetImplicitTime(startEventEpoch);
smartInterval.SetStartEpoch(accessStartEpoch);

IAgCrdnEventSmartEpoch accessStopEpoch = smartInterval.GetStopEpoch();
accessStopEpoch.SetImplicitTime(stopEventEpoch);
smartInterval.SetStopEpoch(accessStopEpoch);
Configure the start and stop epoch time with smart epochs.
[Visual Basic .NET]
smartInterval.State = AgECrdnSmartIntervalState.eCrdnSmartIntervalStateStartStop

Dim accessStartEpoch As IAgCrdnEventSmartEpoch = smartInterval.GetStartEpoch()
accessStartEpoch.SetImplicitTime(startEventEpoch)
smartInterval.SetStartEpoch(accessStartEpoch)

Dim accessStopEpoch As IAgCrdnEventSmartEpoch = smartInterval.GetStopEpoch()
accessStopEpoch.SetImplicitTime(stopEventEpoch)
smartInterval.SetStopEpoch(accessStopEpoch)
© 2024 Analytical Graphics, Inc. All Rights Reserved.