| 1 |
francois |
104 |
#ifndef _TOXFEM_ |
| 2 |
|
|
#define _TOXFEM_ |
| 3 |
|
|
|
| 4 |
|
|
|
| 5 |
|
|
|
| 6 |
|
|
#ifdef WINDOWS_VERSION |
| 7 |
|
|
#ifdef BUILT_DLL_TOXFEM |
| 8 |
|
|
#define DLLPORTTOXFEM __declspec(dllexport) |
| 9 |
|
|
#else |
| 10 |
|
|
#define DLLPORTTOXFEM __declspec(dllimport) |
| 11 |
|
|
#endif |
| 12 |
|
|
#else |
| 13 |
|
|
#define DLLPORTTOXFEM |
| 14 |
|
|
#endif |
| 15 |
|
|
|
| 16 |
|
|
#include <string> |
| 17 |
|
|
|
| 18 |
|
|
|
| 19 |
|
|
class DLLPORTTOXFEM toxfem |
| 20 |
|
|
{ |
| 21 |
|
|
public: |
| 22 |
|
|
toxfem(); |
| 23 |
|
|
~toxfem(); |
| 24 |
|
|
int estdansletetra(class MG_TETRA *tet,double x,double y, double z); |
| 25 |
|
|
void importer(std::string nomfichier,class MagXchange* data); |
| 26 |
|
|
double calculdist(double *n,double x,double y,double z,class MG_NOEUD* noeud,class MG_TETRA* tet); |
| 27 |
|
|
|
| 28 |
|
|
|
| 29 |
|
|
|
| 30 |
|
|
|
| 31 |
|
|
private: |
| 32 |
|
|
|
| 33 |
|
|
|
| 34 |
|
|
|
| 35 |
|
|
}; |
| 36 |
|
|
|
| 37 |
|
|
|
| 38 |
|
|
|
| 39 |
|
|
|
| 40 |
|
|
|
| 41 |
|
|
|
| 42 |
|
|
#endif |