SphericalHarmonic2.h
Go to the documentation of this file.
1 #pragma once
2 
13 namespace NETGeographicLib
14 {
15  ref class CircularEngine;
16  ref class SphericalCoefficients;
40  public ref class SphericalHarmonic2
41  {
42  private:
43  // pointer to the unmanaged GeographicLib::SphericalHarmonic2
45  // the finalizer destroys the unmanaged memory when the object is destroyed.
46  !SphericalHarmonic2(void);
47  // the number of coefficient vectors.
48  static const int m_numCoeffVectors = 3;
49  // local containers for the cosine and sine coefficients. The
50  // GeographicLib::SphericalEngine::coeffs class uses a
51  // std::vector::iterator to access these vectors.
52  std::vector<double> **m_C, **m_S;
53  public:
57  enum class Normalization {
72  };
73 
106  array<double>^ S,
107  int N,
108  array<double>^ C1,
109  array<double>^ S1,
110  int N1,
111  array<double>^ C2,
112  array<double>^ S2,
113  int N2,
114  double a,
115  Normalization norm );
116 
156  array<double>^ S,
157  int N, int nmx, int mmx,
158  array<double>^ C1,
159  array<double>^ S1,
160  int N1, int nmx1, int mmx1,
161  array<double>^ C2,
162  array<double>^ S2,
163  int N2, int nmx2, int mmx2,
164  double a,
165  Normalization norm );
166 
171  { this->!SphericalHarmonic2(); }
172 
186  double HarmonicSum(double tau1, double tau2, double x, double y, double z);
187 
207  double HarmonicSum(double tau1, double tau2, double x, double y, double z,
208  [System::Runtime::InteropServices::Out] double% gradx,
209  [System::Runtime::InteropServices::Out] double% grady,
210  [System::Runtime::InteropServices::Out] double% gradz);
211 
236  CircularEngine^ Circle(double tau1, double tau2, double p, double z, bool gradp);
237 
250  };
251 } // namespace NETGeographicLib
double HarmonicSum(double tau1, double tau2, double x, double y, double z)
.NET wrapper for GeographicLib::SphericalHarmonic2.
Scalar * y
Symmetric< 2 > S2
Definition: testGroup.cpp:80
#define N
Definition: gksort.c:12
DiscreteKey S(1, 2)
.NET wrapper for GeographicLib::SphericalEngine::coeff.
const GeographicLib::SphericalHarmonic2 * m_pSphericalHarmonic2
Spherical harmonic series with two corrections to the coefficients.
SphericalHarmonic2(array< double >^ C, array< double >^ S, int N, array< double >^ C1, array< double >^ S1, int N1, array< double >^ C2, array< double >^ S2, int N2, double a, Normalization norm)
Matrix< Scalar, Dynamic, Dynamic > C
Definition: bench_gemm.cpp:50
float * p
.NET wrapper for GeographicLib::CircularEngine.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
CircularEngine Circle(double tau1, double tau2, double p, double z, bool gradp)


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:36:19