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





Windows & Linux

Description

Sets a stop of the interval using specified epoch component.

Syntax

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

Parameters

StopEpoch
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.