STK AgAccessConstraintPluginSend comments on this topic.
RelativePosition Method (IAgAccessConstraintPluginObjectData)
See Also
Type
An apparent position indicator.
Frame
Requested frame to express the results.
X
The X-component of relative position in the requested frame.
Y
The Y-component of relative position in the requested frame.
Z
The Z-component of relative position in the requested frame.
Windows





Windows & Linux

Description

The apparent relative position of the other object with respect to this object, in the requested frame. Only eUtFrameInertial and eUtFrameFixed are supported.

Syntax

[Visual Basic .NET]
Public Sub RelativePosition( _
    ByVal Type As AgEAccessApparentPositionType, _
    ByVal Frame As AgEUtFrame, _
    ByRef X As Double, _
    ByRef Y As Double, _
    ByRef Z As Double _
)
[C#]
public void RelativePosition(
    AgEAccessApparentPositionType Type,
    AgEUtFrame Frame,
    ref double X,
    ref double Y,
    ref double Z
);
[Managed C++]
public: void RelativePosition(
    AgEAccessApparentPositionType Type,
    AgEUtFrame Frame,
    double ^ X,
    double ^ Y,
    double ^ Z
);
[Unmanaged C++]
public: HRESULT RelativePosition(
    AgEAccessApparentPositionType Type,
    AgEUtFrame Frame,
    double * X,
    double * Y,
    double * Z
);

Parameters

Type
An apparent position indicator.
Frame
Requested frame to express the results.
X
The X-component of relative position in the requested frame.
Y
The Y-component of relative position in the requested frame.
Z
The Z-component of relative position in the requested frame.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.