NETGeographicLib
1.50.1
|
.NET wrapper for GeographicLib::MagneticCircle. More...
#include <NETGeographicLib/MagneticCircle.h>
Public Member Functions | |
MagneticCircle (const GeographicLib::MagneticCircle &c) | |
~MagneticCircle () | |
Compute the magnetic field | |
void | Field (double lon, [System::Runtime::InteropServices::Out] double% Bx, [System::Runtime::InteropServices::Out] double% By, [System::Runtime::InteropServices::Out] double% Bz) |
void | Field (double lon, [System::Runtime::InteropServices::Out] double% Bx, [System::Runtime::InteropServices::Out] double% By, [System::Runtime::InteropServices::Out] double% Bz, [System::Runtime::InteropServices::Out] double% Bxt, [System::Runtime::InteropServices::Out] double% Byt, [System::Runtime::InteropServices::Out] double% Bzt) |
Properties | |
Inspector functions | |
bool | Init [get] |
double | EquatorialRadius [get] |
double | Flattening [get] |
double | Latitude [get] |
double | Height [get] |
double | Time [get] |
.NET wrapper for GeographicLib::MagneticCircle.
This class allows .NET applications to access GeographicLib::MagneticCircle.
Evaluate the earth's magnetic field on a circle of constant height and latitude. This uses a CircularEngine to pre-evaluate the inner sum of the spherical harmonic sum, allowing the values of the field at several different longitudes to be evaluated rapidly.
Use MagneticModel::Circle to create a MagneticCircle object. (The constructor for this class is for internal use only.)
C# Example:
Managed C++ Example:
Visual Basic Example:
INTERFACE DIFFERENCES:
The () operator has been replaced with Field.
The following functions are implemented as properties: Init, EquatorialRadius, Flattening, Latitude, Height, and Time.
Definition at line 41 of file MagneticCircle.h.
NETGeographicLib::MagneticCircle::MagneticCircle | ( | const GeographicLib::MagneticCircle & | c | ) |
brief A constructor that is initialized from an unmanaged GeographicLib::MagneticCircle. This is for internal use only.
Developers should use MagneticModel::Circle to create a MagneticCircle.
Referenced by ~MagneticCircle().
|
inline |
brief The destructor calls the finalizer.
Definition at line 63 of file MagneticCircle.h.
References MagneticCircle().
void NETGeographicLib::MagneticCircle::Field | ( | double | lon, |
[System::Runtime::InteropServices::Out] double% | Bx, | ||
[System::Runtime::InteropServices::Out] double% | By, | ||
[System::Runtime::InteropServices::Out] double% | Bz | ||
) |
brief Evaluate the components of the geomagnetic field at a particular longitude.
[in] | lon | longitude of the point (degrees). |
[out] | Bx | the easterly component of the magnetic field (nanotesla). |
[out] | By | the northerly component of the magnetic field (nanotesla). |
[out] | Bz | the vertical (up) component of the magnetic field (nanotesla). |
void NETGeographicLib::MagneticCircle::Field | ( | double | lon, |
[System::Runtime::InteropServices::Out] double% | Bx, | ||
[System::Runtime::InteropServices::Out] double% | By, | ||
[System::Runtime::InteropServices::Out] double% | Bz, | ||
[System::Runtime::InteropServices::Out] double% | Bxt, | ||
[System::Runtime::InteropServices::Out] double% | Byt, | ||
[System::Runtime::InteropServices::Out] double% | Bzt | ||
) |
Evaluate the components of the geomagnetic field and their time derivatives at a particular longitude.
[in] | lon | longitude of the point (degrees). |
[out] | Bx | the easterly component of the magnetic field (nanotesla). |
[out] | By | the northerly component of the magnetic field (nanotesla). |
[out] | Bz | the vertical (up) component of the magnetic field (nanotesla). |
[out] | Bxt | the rate of change of Bx (nT/yr). |
[out] | Byt | the rate of change of By (nT/yr). |
[out] | Bzt | the rate of change of Bz (nT/yr). |
|
get |
Definition at line 112 of file MagneticCircle.h.
|
get |
Definition at line 119 of file MagneticCircle.h.
|
get |
Definition at line 126 of file MagneticCircle.h.
|
get |
Definition at line 132 of file MagneticCircle.h.
|
get |
Definition at line 138 of file MagneticCircle.h.
|
get |
Definition at line 144 of file MagneticCircle.h.