1 |
#ifndef _POLYCRISTAL_
|
2 |
#define _POLYCRISTAL_
|
3 |
|
4 |
#include <vector>
|
5 |
#include <string>
|
6 |
#include "poly_affiche.h"
|
7 |
|
8 |
class Poly_Point;
|
9 |
|
10 |
class Polycristal: public POLY_AFFICHE
|
11 |
{
|
12 |
public:
|
13 |
Polycristal(char *fichier,double dgval);
|
14 |
Polycristal(int nbParticules,double dgval);
|
15 |
Polycristal(std::vector<double> &listepoint,std::string nom,double dgva);
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
~Polycristal();
|
22 |
|
23 |
std::vector<Poly_Point*> random_particules(int nbParticules);
|
24 |
virtual void construit(bool avecstep=false);
|
25 |
|
26 |
protected:
|
27 |
std::string nomfichier;
|
28 |
double dg;
|
29 |
|
30 |
std::vector<Poly_Point*> list_points;
|
31 |
|
32 |
private:
|
33 |
Polycristal(Polycristal& mdd);
|
34 |
|
35 |
|
36 |
};
|
37 |
|
38 |
#endif // _POLYCRISTAL_
|