AGI GPS 6 Send comments on this topic.
PosVel Method (IAgAsGPSSatSelectPluginResultEval)
See Also 
Frame
Requested frame to express the results
X
X component of current position in requested frame
Y
Y component of current position in requested frame
Z
Z component of current position in requested frame
Vx
X component of current velocity in requested frame, as observed rotating with the frame
Vy
Y component of current velocity in requested frame, as observed rotating with the frame
Vz
Z component of current velocity in requested frame, as observed rotating with the frame
Windows








Description

Current receiver position and velocity in the requested frame. Only eUtFrameInertial and eUtFrameFixed frames are supported.

Syntax

[Visual Basic .NET]
Public Sub PosVel( _
   ByVal Frame As AgEUtFrame, _
   ByRef X As Double, _
   ByRef Y As Double, _
   ByRef Z As Double, _
   ByRef Vx As Double, _
   ByRef Vy As Double, _
   ByRef Vz As Double _
) 

[C#]
public void PosVel(
AgEUtFrame Frame,
ref double X,
ref double Y,
ref double Z,
ref double Vx,
ref double Vy,
ref double Vz
);

[Managed C++]
public: void PosVel(
AgEUtFrame Frame,
double ^ X,
double ^ Y,
double ^ Z,
double ^ Vx,
double ^ Vy,
double ^ Vz
);

[Unmanaged C++]
public: HRESULT PosVel(
AgEUtFrame Frame,
double * X,
double * Y,
double * Z,
double * Vx,
double * Vy,
double * Vz
);

[VBScript]
PosVel not supported by VBScript (VBScript does not support ByRef arguments in COM)

[Perl]
$objectReference->PosVel(
$Frame, # type AgEUtFrame (scalar integer)
$X, # type Variant (VT_R8 | VT_BYREF)
$Y, # type Variant (VT_R8 | VT_BYREF)
$Z, # type Variant (VT_R8 | VT_BYREF)
$Vx, # type Variant (VT_R8 | VT_BYREF)
$Vy, # type Variant (VT_R8 | VT_BYREF)
$Vz# type Variant (VT_R8 | VT_BYREF)
);

Parameters

Frame
Member Value Description
eUtFrameInertial 0  
eUtFrameFixed 1  
eUtFrameLVLH 2  
eUtFrameNTC 3  
eUtFrameICRF 4  
eUtFrameJ2000 5  
Requested frame to express the results
X
X component of current position in requested frame
Y
Y component of current position in requested frame
Z
Z component of current position in requested frame
Vx
X component of current velocity in requested frame, as observed rotating with the frame
Vy
Y component of current velocity in requested frame, as observed rotating with the frame
Vz
Z component of current velocity in requested frame, as observed rotating with the frame

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5