1 |
couturad |
907 |
//V2017 |
2 |
|
|
#include "gestionversion.h" |
3 |
|
|
#ifdef ALL_OCC |
4 |
|
|
#ifndef _OCCFACE_ |
5 |
|
|
#define _OCCFACE_ |
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_face.h" |
18 |
|
|
#include "occ_fonction.h" |
19 |
|
|
#include "occ_fonction_v2015.h" |
20 |
|
|
#include "occ_fonction_v2017.h" |
21 |
|
|
#include "TopoDS_Face.hxx" |
22 |
|
|
class DLLPORTGEOMETRIE OCC_FACE:public MG_FACE |
23 |
|
|
{ |
24 |
|
|
public: |
25 |
|
|
|
26 |
|
|
OCC_FACE(std::string idori,unsigned long num,MG_SURFACE* srf,int sens,TopoDS_Face face,OCC_FONCTION* occ_fonction); |
27 |
|
|
OCC_FACE(std::string idori,MG_SURFACE* srf,int sens,TopoDS_Face face,OCC_FONCTION* occ_fonction); |
28 |
|
|
OCC_FACE(OCC_FACE& mdd); |
29 |
|
|
virtual ~OCC_FACE(); |
30 |
|
|
TopoDS_Face get_TopoDS_Face(void); |
31 |
|
|
void change_TopoDS_Face(TopoDS_Face face); |
32 |
|
|
virtual void enregistrer(std::ostream& o,double version); |
33 |
|
|
protected: |
34 |
|
|
TopoDS_Face m_face; |
35 |
|
|
OCC_FONCTION* m_occ_fonction; |
36 |
|
|
}; |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#endif |
40 |
|
|
#endif |