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

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

X
X component of the Point's location at the current time.
Y
Y component of the Point's location at the current time.
Z
Z component of the Point's location at the current time.
Windows





Windows & Linux

Description

Computes the Point (in internal units) at the interface's current time.

Syntax

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

Parameters

DispInterface

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

X
X component of the Point's location at the current time.
Y
Y component of the Point's location at the current time.
Z
Z component of the Point's location 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.