1 |
couturad |
907 |
//V2017 |
2 |
|
|
#include "gestionversion.h" |
3 |
|
|
#ifdef ALL_OCC |
4 |
|
|
#ifndef _OCCSOMMET_ |
5 |
|
|
#define _OCCSOMMET_ |
6 |
|
|
|
7 |
|
|
#ifdef WINDOWS_VERSION |
8 |
|
|
#ifdef BUILT_DLL_GEOMETRIE |
9 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllexport) |
10 |
|
|
#else |
11 |
|
|
#define DLLPORTGEOMETRIE __declspec(dllimport) |
12 |
|
|
#endif |
13 |
|
|
#else |
14 |
|
|
#define DLLPORTGEOMETRIE |
15 |
|
|
#endif |
16 |
|
|
|
17 |
|
|
#include "mg_sommet.h" |
18 |
|
|
#include "TopoDS_Vertex.hxx" |
19 |
|
|
#include "occ_fonction.h" |
20 |
|
|
#include "occ_fonction_v2015.h" |
21 |
|
|
#include "occ_fonction_v2017.h" |
22 |
|
|
class DLLPORTGEOMETRIE OCC_SOMMET:public MG_SOMMET |
23 |
|
|
{ |
24 |
|
|
public: |
25 |
|
|
|
26 |
|
|
OCC_SOMMET(std::string idori,unsigned long num,MG_POINT* mgpt,TopoDS_Vertex vertex,OCC_FONCTION* occ_fonction); |
27 |
|
|
OCC_SOMMET(std::string idori,MG_POINT* mgpt,TopoDS_Vertex vertex,OCC_FONCTION* occ_fonction); |
28 |
|
|
OCC_SOMMET(OCC_SOMMET& mdd); |
29 |
|
|
virtual ~OCC_SOMMET(); |
30 |
|
|
TopoDS_Vertex get_TopoDS_Vertex(void); |
31 |
|
|
void change_TopoDS_Vertex(TopoDS_Vertex vertex); |
32 |
|
|
virtual void enregistrer(std::ostream& o,double version); |
33 |
|
|
protected: |
34 |
|
|
TopoDS_Vertex m_vertex; |
35 |
|
|
OCC_FONCTION* m_occ_fonction; |
36 |
|
|
}; |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#endif |
40 |
|
|
#endif |