.NET wrapper for GeographicLib::MagneticCircle. More...
#include <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) | 
| Public Attributes | |
| Inspector functions | |
| property bool | Init { bool get() | 
| property double | MajorRadius { double get() | 
| property double | Flattening { double get() | 
| property double | Latitude { double get() | 
| property double | Height { double get() | 
| property double | Time { double get() | 
| Private Member Functions | |
| !MagneticCircle (void) | |
| Private Attributes | |
| const GeographicLib::MagneticCircle * | m_pMagneticCircle | 
.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, MajorRadius, Flattening, Latitude, Height, and Time.
Definition at line 41 of file MagneticCircle.h.
| 
 | private | 
Definition at line 19 of file dotnet/NETGeographicLib/MagneticCircle.cpp.
| 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.
Definition at line 29 of file dotnet/NETGeographicLib/MagneticCircle.cpp.
| 
 | inline | 
brief The destructor calls the finalizer.
Definition at line 63 of file MagneticCircle.h.
| void 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). | 
Definition at line 42 of file dotnet/NETGeographicLib/MagneticCircle.cpp.
| void 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). | 
Definition at line 55 of file dotnet/NETGeographicLib/MagneticCircle.cpp.
| property double NETGeographicLib::MagneticCircle::Flattening { double get() | 
Definition at line 126 of file MagneticCircle.h.
| property double NETGeographicLib::MagneticCircle::Height { double get() | 
Definition at line 138 of file MagneticCircle.h.
| property bool NETGeographicLib::MagneticCircle::Init { bool get() | 
Definition at line 112 of file MagneticCircle.h.
| property double NETGeographicLib::MagneticCircle::Latitude { double get() | 
Definition at line 132 of file MagneticCircle.h.
| 
 | private | 
Definition at line 45 of file MagneticCircle.h.
| property double NETGeographicLib::MagneticCircle::MajorRadius { double get() | 
Definition at line 119 of file MagneticCircle.h.
| property double NETGeographicLib::MagneticCircle::Time { double get() | 
Definition at line 144 of file MagneticCircle.h.