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

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 couturad 906 // #include "Geom_CartesianPoint.hxx"
45     // #include "Geom_Point.hxx"
46 francois 283 #include "gp_Pnt.hxx"
47     #include "TopoDS_Vertex.hxx"
48 couturad 740 #include "occ_fonction.h"
49 couturad 906 #include "occ_fonction_v2015.h"
50     #include "occ_fonction_v2017.h"
51 francois 283 #include "BRep_Tool.hxx"
52    
53    
54    
55    
56    
57     class DLLPORTGEOMETRIE OCC_POINT:public MG_POINT
58     {
59     public:
60 couturad 906 OCC_POINT(unsigned long num ,TopoDS_Vertex pt, class OCC_FONCTION* fonc);
61     OCC_POINT(TopoDS_Vertex pt, class OCC_FONCTION* fonc);
62     OCC_POINT(TopoDS_Vertex pt);
63 francois 283 OCC_POINT(OCC_POINT& mdd);
64    
65     virtual ~OCC_POINT();
66     virtual void evaluer(double *xyz);
67 francois 763 virtual void enregistrer(std::ostream& o,double version);
68 francois 283 virtual int get_type_geometrique(TPL_LISTE_ENTITE<double> &param);
69     virtual void get_param_NURBS(int& indx_premier_ptctr,TPL_LISTE_ENTITE<double> &param);
70 couturad 906 virtual void change_occ_fonction(OCC_FONCTION* fonction);
71 francois 283 private:
72     TopoDS_Vertex point;
73 couturad 906 class OCC_FONCTION* fonction1;
74 francois 283
75     };
76    
77    
78     #endif
79     #endif
80