STK Vector Geometry ToolSend comments on this topic.
SetImplicitTime Method (IAgCrdnEventSmartEpoch)
See Also
EventEpoch
Windows





Windows & Linux

Description

Sets the reference event and the smart epoch's state to Implicit.

Syntax

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

Parameters

EventEpoch

See Also

Example

Create and configure implicit smart epoch event.
[C#]
IAgCrdnEvent referencedEvent = provider.Events["AvailabilityStartTime"];
IAgCrdnEventSmartEpoch smartEpoch = provider.Events.Factory.CreateSmartEpochFromEvent(referencedEvent);

// Smart epochs can be set implicitly using the another epoch.
IAgCrdnEvent anotherEvent = provider.Events["AvailabilityStopTime"];
smartEpoch.SetImplicitTime(anotherEvent);

Console.WriteLine("Event occurred at: " + smartEpoch.TimeInstant);
Create and configure implicit smart epoch event.
[Visual Basic .NET]
Dim referencedEvent As IAgCrdnEvent = provider.Events("AvailabilityStartTime")
Dim smartEpoch As IAgCrdnEventSmartEpoch = provider.Events.Factory.CreateSmartEpochFromEvent(referencedEvent)

' Smart epochs can be set implicitly using the another epoch.
Dim anotherEvent As IAgCrdnEvent = provider.Events("AvailabilityStopTime")
smartEpoch.SetImplicitTime(anotherEvent)

Console.WriteLine("Event occurred at: " + smartEpoch.TimeInstant)
© 2024 Analytical Graphics, Inc. All Rights Reserved.