DOX_INPUT_FILE = Doxyfile_med_user
-install-data-local : main.dox
+install-data-local : html-local main.dox
mkdir -p $(prefix)/doc/user ;\
cp -r @builddir@/doc_ref_user/html $(prefix)/doc/user
Row():std::vector< typename std::pair<int,T> >(){};
Row (const Row& row)
{
- resize(row.size());
+ this->resize(row.size());
for (int i=0; i<this->size(); i++)
(*this)[i]=row[i];
}
bool _doRotate;
double _medianPlane;
double _surf3DAdjustmentEps;
- static const double DFT_MEDIAN_PLANE=0.5;
- static const double DFT_SURF3D_ADJ_EPS=1e-4;
+ static const double DFT_MEDIAN_PLANE;
+ static const double DFT_SURF3D_ADJ_EPS;
};
}
namespace INTERP_KERNEL
{
+ const double Interpolation3DSurf::DFT_MEDIAN_PLANE=0.5;
+ const double Interpolation3DSurf::DFT_SURF3D_ADJ_EPS=1e-4;
+
Interpolation3DSurf::Interpolation3DSurf():_doRotate(true)
,_medianPlane(DFT_MEDIAN_PLANE)
,_surf3DAdjustmentEps(DFT_SURF3D_ADJ_EPS)
double _precision;
double _dimCaracteristic;
IntersectionType _intersectionType;
- static const double DEFAULT_PRECISION=1.e-12;
+ static const double DEFAULT_PRECISION;
public:
InterpolationPlanar();
}
#endif
+
namespace INTERP_KERNEL
{
+
+ template<class RealPlanar>
+ const double InterpolationPlanar<RealPlanar>::DEFAULT_PRECISION=1.e-12;
+
/**
* \defgroup interpolationPlanar InterpolationPlanar
*
case 1 :
mi=_Status.find(i_glob);// pointer to the segment ending at i
i_prev_glob = ((*mi).second).first;//starting point of the segment ending at i
- i_next= (i_prev_glob - i_glob > 0) == (fabs(i_prev_glob - i_glob) == 1) ? i_glob - 1 : i_glob + 1;
+ i_next= (i_prev_glob - i_glob > 0) == (abs(i_prev_glob - i_glob) == 1) ? i_glob - 1 : i_glob + 1;
if(i_glob < N1) i_next_glob = (i_next +N1)%N1;
else i_next_glob = (i_next-N1+N2)%N2 + N1;
_Status.erase(mi);
case 1 :
mi=_Status.find(i_glob);// pointer to the segment ending at i
i_prev_glob = ((*mi).second).first;//starting point of the segment ending at i
- sign = (i_prev_glob - i_glob > 0) == (fabs(i_prev_glob - i_glob) == 1) ? - 1 : + 1;
+ sign = (i_prev_glob - i_glob > 0) == (abs(i_prev_glob - i_glob) == 1) ? - 1 : + 1;
i_next_glob = i_glob+sign;
_Is_in_intersection = ((*mi).second).second;//boolean that tells if i is in the intersection
_Status.erase(mi);
#include <cppunit/extensions/HelperMacros.h>
#include <deque>
#include <cmath>
+#include <iostream>
using namespace std;
{
for(int i = 0; i< (int)deque1.size(); i++)
{
- cerr << deque1[i] << " ";
+ std::cerr << deque1[i] << " ";
}
- cerr<< endl;
+ std::cerr<< endl;
}
void vectPrintOut(std::vector< double > vect)
{
for(int i = 0; i< (int)vect.size(); i++)
{
- cerr << vect[i] << " ";
+ std::cerr << vect[i] << " ";
}
- cerr<< endl;
+ std::cerr<< endl;
}
void tabPrintOut( const double * tab,int size)
{
for(int i = 0; i< size; i++)
{
- cerr << tab[i] << " ";
+ std::cerr << tab[i] << " ";
}
- cerr<< endl;
+ std::cerr<< endl;
}
/**
private:
- static const double EPS=1e-12;
+ static const double EPS;
static const unsigned ROT_SIZE=9;
static const unsigned TRANSL_SIZE=3;
double _rotationCoeffs[ROT_SIZE];
double _translationCoeffs[TRANSL_SIZE];
};
+ const double TranslationRotationMatrix::EPS=1e-12;
}
#endif