1 |
francois |
283 |
//------------------------------------------------------------ |
2 |
|
|
//------------------------------------------------------------ |
3 |
|
|
// MAGiC |
4 |
|
|
// Jean Christophe Cuilli�re et Vincent FRANCOIS |
5 |
|
|
// D�partement de G�nie M�canique - UQTR |
6 |
|
|
//------------------------------------------------------------ |
7 |
|
|
// Le projet MAGIC est un projet de recherche du d�partement |
8 |
|
|
// de g�nie m�canique de l'Universit� du Qu�bec � |
9 |
|
|
// Trois Rivi�res |
10 |
|
|
// Les librairies ne peuvent �tre utilis�es sans l'accord |
11 |
|
|
// des auteurs (contact : francois@uqtr.ca) |
12 |
|
|
//------------------------------------------------------------ |
13 |
|
|
//------------------------------------------------------------ |
14 |
|
|
// |
15 |
|
|
// mg_point.h |
16 |
|
|
// |
17 |
|
|
//------------------------------------------------------------ |
18 |
|
|
//------------------------------------------------------------ |
19 |
|
|
// COPYRIGHT 2000 |
20 |
|
|
// Version du 02/03/2006 � 11H22 |
21 |
|
|
//------------------------------------------------------------ |
22 |
|
|
//------------------------------------------------------------ |
23 |
|
|
#ifndef __MGPOINT_ |
24 |
|
|
#define __MGPOINT_ |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
#ifdef WINDOWS_VERSION |
28 |
|
|
#ifdef BUILT_DLL_GEOMETRIE |
29 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport) |
30 |
|
|
#else |
31 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport) |
32 |
|
|
#endif |
33 |
|
|
#else |
34 |
|
|
#define DLLPORTGEOMETRIE |
35 |
|
|
#endif |
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#include "mg_element_geometrique.h" |
40 |
|
|
#include "tpl_liste_entite.h" |
41 |
|
|
|
42 |
|
|
class DLLPORTGEOMETRIE MG_POINT:public MG_ELEMENT_GEOMETRIQUE |
43 |
|
|
{ |
44 |
|
|
public: |
45 |
|
|
MG_POINT(unsigned long num); |
46 |
|
|
MG_POINT(); |
47 |
|
|
MG_POINT(MG_POINT& mdd); |
48 |
|
|
virtual ~MG_POINT(); |
49 |
|
|
|
50 |
|
|
virtual class BOITE_3D get_boite_3D(void); |
51 |
|
|
virtual void evaluer(double *xyz) = 0; |
52 |
francois |
763 |
virtual void enregistrer(std::ostream& o,double version)=0; |
53 |
francois |
283 |
virtual VCT& get_vectorisation(void); |
54 |
|
|
virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> ¶m)=0; |
55 |
|
|
|
56 |
|
|
private: |
57 |
|
|
|
58 |
|
|
virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> ¶m)=0; |
59 |
|
|
class VCT_POINT* vect; |
60 |
|
|
}; |
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
#endif |
65 |
|
|
|