AGI STK Objects 11 Send comments on this topic.
ComputeBField Method (IAgSpEnvMagFieldGfx)
See Also 
Time
Lat
Lon
Alt
pBx
pBy
pBz





Description

Compute geomagnetic field in Earth Fixed components at the specified Earth location. Uses Date, Angle, Longitude, Distance, and MagneticField Dimensions.

Syntax

[Visual Basic .NET]
Public Sub ComputeBField( _
   ByVal Time As System.Object, _
   ByVal Lat As Double, _
   ByVal Lon As Double, _
   ByVal Alt As Double, _
   ByRef pBx As Double, _
   ByRef pBy As Double, _
   ByRef pBz As Double _
) 

[C#]
public void ComputeBField(
System.Object Time,
double Lat,
double Lon,
double Alt,
ref double pBx,
ref double pBy,
ref double pBz
);

[Managed C++]
public: void ComputeBField(
VARIANT Time,
double Lat,
double Lon,
double Alt,
double ^ pBx,
double ^ pBy,
double ^ pBz
);

[Java]
public  computeBField(
Variant Time,
double Lat,
double Lon,
double Alt,
double pBx,
double pBy,
double pBz
);

[Unmanaged C++]
public: HRESULT ComputeBField(
VARIANT Time,
double Lat,
double Lon,
double Alt,
double * pBx,
double * pBy,
double * pBz
);

Parameters

Time
Lat
Lon
Alt
pBx
pBy
pBz

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1