#include <Metric.h>
|
int | opt |
|
double | lab |
|
double | L [1024] |
|
double | S [1024] |
|
Definition at line 85 of file Metric.h.
◆ LengthInterpole
double LengthInterpole |
( |
const Metric & |
Ma, |
|
|
const Metric & |
Mb, |
|
|
R2 |
AB |
|
) |
| |
|
friend |
Definition at line 158 of file Metric.cpp.
164 static Metric Ms1[32],Ms2[32];
165 static double lMs1[32],lMs2[32];
170 double sa = Ma.Length(AB.x,AB.y);
171 double sb = Mb.Length(AB.x,AB.y);
181 Metric M1=Ms1[level];
182 Metric M2=Ms2[level];
184 double s1= lMs1[level];
185 double s2= lMs2[level];
188 if( s > sstop && level < 30 && i < 500-level ) {
189 Metric Mi(0.5,M1,0.5,M2);
190 double si = Mi.Length(AB.x,AB.y);
191 if(
Abs((s1+s2)-(si+si)) > s1*0.001)
210 L[i]= l += s,
S[i]=sss+=k,i++;
213 L[i]= l += s,
S[i]=sss+=k,i++;
221 if (i>200 && kkk++<10)
_printf_(
"WARNING: LengthInterpole: ( i=" << i <<
" l=" << l <<
" sss=" << sss <<
" ) " << sstop <<
"\n");
◆ abscisseInterpole
double abscisseInterpole |
( |
const Metric & |
Ma, |
|
|
const Metric & |
Mb, |
|
|
R2 |
, |
|
|
double |
s, |
|
|
int |
optim |
|
) |
| |
|
friend |
Definition at line 327 of file Metric.cpp.
359 r = 2*(
S[i]*(
L[j]-l)+
S[j]*(l-
L[i]))/(
L[j]-
L[i]);
◆ opt
int bamg::SaveMetricInterpole::opt |
◆ lab
double bamg::SaveMetricInterpole::lab |
double bamg::SaveMetricInterpole::L[1024] |
double bamg::SaveMetricInterpole::S[1024] |
The documentation for this class was generated from the following file: