STK AgCrdnPluginSend comments on this topic.
CurrentValue Method (IAgCrdnConfiguredAngleWithRate)
See Also
DispInterface

An interface supporting IAgEpoch. This is the interface that is passed to the plugin component method call.

Angle
Angle at the current time.
AngleRate
Angle rate at the current time.
Windows





Windows & Linux

Description

Computes the Angle (rad) and its rate (rad/sec) at the interface's current time.

Syntax

[Visual Basic .NET]
Public Function CurrentValue( _
    ByVal DispInterface As Object, _
    ByRef Angle As Double, _
    ByRef AngleRate As Double _
) As Boolean
[C#]
public bool CurrentValue(
    Object DispInterface,
    ref double Angle,
    ref double AngleRate
);
[Managed C++]
public: bool CurrentValue(
    IUnknown ^ DispInterface,
    double ^ Angle,
    double ^ AngleRate
);
[Unmanaged C++]
public: HRESULT CurrentValue(
    IUnknown * DispInterface,
    double * Angle,
    double * AngleRate,
    VARIANT_BOOL * pResult
);

Parameters

DispInterface

An interface supporting IAgEpoch. This is the interface that is passed to the plugin component method call.

Angle
Angle at the current time.
AngleRate
Angle rate at the current time.

Return Type

Returns false if an error occurred, else returns true.

Remarks


Plugin components that know a current time use interface arguments supporting this interface. See IAgAsHpopPluginResult and IAgGatorPluginResultState for examples.


See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.