.NET wrapper for GeographicLib::SphericalEngine::coeff. More...
#include <NETGeographicLib/SphericalCoefficients.h>
Public Member Functions | |
| SphericalCoefficients (const GeographicLib::SphericalEngine::coeff &c) | |
| Constructor. | |
| int | index (int n, int m) |
| double | Cv (int k) |
| double | Sv (int k) |
| double | Cv (int k, int n, int m, double f) |
| double | Sv (int k, int n, int m, double f) |
Static Public Member Functions | |
| static int | Csize (int N, int M) |
| static int | Ssize (int N, int M) |
Properties | |
| int | N [get] |
| int | nmx [get] |
| int | mmx [get] |
.NET wrapper for GeographicLib::SphericalEngine::coeff.
This class allows .NET applications to access GeographicLib::SphericalEngine::coeff.
The SphericalHarmonic classes provide accessor functions that allow you to examine the coefficients. These accessor functions export a GeographicLib::SphericalEngine::coeff object. The GeographicLib::SphericalEngine class is not implemented in NETGeographicLib. SphericalCoefficients is provided as a substitute for GeographicLib::SphericalEngine::coeff allowing you to examine the coefficients in .NET applications.
Use SphericalHarmonic::Coefficients, SphericalHarmonic1::Coefficient*, or SphericalHarmonic2::Coefficient* to obtain an instance of this class.
INTERFACE DIFFERENCES:
This class does not implement readcoeffs.
Definition at line 34 of file SphericalCoefficients.h.
| NETGeographicLib::SphericalCoefficients::SphericalCoefficients | ( | const GeographicLib::SphericalEngine::coeff & | c | ) |
Constructor.
| [in] | c | A reference to a GeographicLib::SphericalEngine::coeff object. This constructor is for internal use only. Developers should not create an instance of SphericalCoefficients. Use SphericalHarmonic::Coefficients, SphericalHarmonic1::Coefficient*, or SphericalHarmonic2::Coefficient* to obtain an instance of this class. |
| int NETGeographicLib::SphericalCoefficients::index | ( | int | n, | |
| int | m | |||
| ) | [inline] |
The one-dimensional index into C and S.
| [in] | n | the degree. |
| [in] | m | the order. |
Definition at line 76 of file SphericalCoefficients.h.
| double NETGeographicLib::SphericalCoefficients::Cv | ( | int | k | ) | [inline] |
An element of C.
| [in] | k | the one-dimensional index. |
Definition at line 84 of file SphericalCoefficients.h.
| double NETGeographicLib::SphericalCoefficients::Sv | ( | int | k | ) | [inline] |
An element of S.
| [in] | k | the one-dimensional index. |
Definition at line 91 of file SphericalCoefficients.h.
| double NETGeographicLib::SphericalCoefficients::Cv | ( | int | k, | |
| int | n, | |||
| int | m, | |||
| double | f | |||
| ) | [inline] |
An element of C with checking.
| [in] | k | the one-dimensional index. |
| [in] | n | the requested degree. |
| [in] | m | the requested order. |
| [in] | f | a multiplier. |
Definition at line 102 of file SphericalCoefficients.h.
| double NETGeographicLib::SphericalCoefficients::Sv | ( | int | k, | |
| int | n, | |||
| int | m, | |||
| double | f | |||
| ) | [inline] |
An element of S with checking.
| [in] | k | the one-dimensional index. |
| [in] | n | the requested degree. |
| [in] | m | the requested order. |
| [in] | f | a multiplier. |
Definition at line 114 of file SphericalCoefficients.h.
| static int NETGeographicLib::SphericalCoefficients::Csize | ( | int | N, | |
| int | M | |||
| ) | [inline, static] |
The size of the coefficient vector for the cosine terms.
| [in] | N | the maximum degree. |
| [in] | M | the maximum order. |
Definition at line 125 of file SphericalCoefficients.h.
Referenced by Ssize().
| static int NETGeographicLib::SphericalCoefficients::Ssize | ( | int | N, | |
| int | M | |||
| ) | [inline, static] |
The size of the coefficient vector for the sine terms.
| [in] | N | the maximum degree. |
| [in] | M | the maximum order. |
Definition at line 136 of file SphericalCoefficients.h.
References Csize().
int NETGeographicLib::SphericalCoefficients::N [get] |
Definition at line 60 of file SphericalCoefficients.h.
int NETGeographicLib::SphericalCoefficients::nmx [get] |
Definition at line 64 of file SphericalCoefficients.h.
int NETGeographicLib::SphericalCoefficients::mmx [get] |
Definition at line 68 of file SphericalCoefficients.h.
1.6.1