ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/sld_point.h
Revision: 19
Committed: Wed Jun 20 17:47:45 2007 UTC (17 years, 10 months ago) by francois
Content type: text/plain
Original Path: magic/lib/geometrie/geometrie/src/sld_point.h
File size: 2032 byte(s)
Log Message:
ajout d'un index dans les param NURBS

File Contents

# User Rev Content
1 5 //------------------------------------------------------------
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     // sld_point.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifdef BREP_SLD
24    
25    
26     #ifndef __SLDPOINT
27     #define __SLDPOINT
28    
29     #ifdef WINDOWS_VERSION
30     #ifdef BUILT_DLL_GEOMETRIE
31     #define DLLPORTGEOMETRIE __declspec(dllexport)
32     #else
33     #define DLLPORTGEOMETRIE __declspec(dllimport)
34     #endif
35     #else
36     #define DLLPORTGEOMETRIE
37     #endif
38    
39     #include "mg_point.h"
40     #include "SldWorks_TLB.h"
41     #include "SwConst_TLB.h"
42     #include <atl\atlmod.h>
43    
44    
45     class DLLPORTGEOMETRIE SLD_POINT:public MG_POINT
46     {
47     public:
48     SLD_POINT(unsigned long num,std::string idvertex,class SLD_FONCTION& fonc);
49     SLD_POINT(std::string idvertex,SLD_FONCTION& fonc);
50     virtual ~SLD_POINT();
51     virtual void evaluer(double *coord);
52    
53     virtual void enregistrer(std::ostream& o);
54     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
55 francois 19 virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
56 5
57     private:
58     CComPtr<IVertex> swVertex;
59     SLD_FONCTION& fonction;
60     double xyz[3];
61     std::string idoriginal ;
62    
63    
64     };
65    
66    
67    
68    
69    
70     #endif
71     #endif
72    
73    
74