ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/occ_point.h
Revision: 740
Committed: Wed Sep 30 22:24:50 2015 UTC (9 years, 7 months ago) by couturad
Content type: text/plain
File size: 2130 byte(s)
Log Message:
Ajout d'assemblage dans un arbre caractéristique
Modification de la gestion des id de occ avec retro-compatibilité
script adaptable au assemblage

File Contents

# User Rev Content
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     // occ_point.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H22
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     //---------------------------------------------------------------------------
24     #ifdef BREP_OCC
25     #ifndef OCC_POINTH
26     #define OCC_POINTH
27    
28    
29    
30     #ifdef WINDOWS_VERSION
31     #ifdef BUILT_DLL_GEOMETRIE
32     #define DLLPORTGEOMETRIE __declspec(dllexport)
33     #else
34     #define DLLPORTGEOMETRIE __declspec(dllimport)
35     #endif
36     #else
37     #define DLLPORTGEOMETRIE
38     #endif
39    
40    
41    
42    
43     #include "mg_point.h"
44     #include "Geom_CartesianPoint.hxx"
45     #include "Geom_Point.hxx"
46     #include "gp_Pnt.hxx"
47     #include "TopoDS_Vertex.hxx"
48 couturad 740 #include "occ_fonction.h"
49 francois 283 #include "BRep_Tool.hxx"
50    
51    
52    
53    
54    
55     class DLLPORTGEOMETRIE OCC_POINT:public MG_POINT
56     {
57     public:
58 couturad 740 OCC_POINT(unsigned long num ,TopoDS_Vertex pt, class OCC_FONCTION& fonc);
59     OCC_POINT(TopoDS_Vertex pt, class OCC_FONCTION& fonc);
60 francois 283 OCC_POINT(OCC_POINT& mdd);
61    
62     virtual ~OCC_POINT();
63     virtual void evaluer(double *xyz);
64     virtual void enregistrer(std::ostream& o);
65     virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
66     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
67     private:
68     TopoDS_Vertex point;
69 couturad 740 class OCC_FONCTION& fonction1;
70 francois 283
71     };
72    
73    
74     #endif
75     #endif
76