ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/mg_point.h
Revision: 906
Committed: Mon Nov 13 22:30:18 2017 UTC (7 years, 9 months ago) by couturad
Content type: text/plain
File size: 1940 byte(s)
Log Message:
Nouveau opencascade commit 1

File Contents

# Content
1 //------------------------------------------------------------
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 int get_type(void);
51 virtual class BOITE_3D get_boite_3D(void);
52 virtual void evaluer(double *xyz) = 0;
53 virtual void enregistrer(std::ostream& o,double version)=0;
54 virtual VCT& get_vectorisation(void);
55 virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param)=0;
56
57 private:
58
59 virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param)=0;
60 class VCT_POINT* vect;
61 };
62
63
64
65 #endif
66