1 |
couturad |
907 |
//V2017 |
2 |
|
|
#include "gestionversion.h" |
3 |
|
|
#ifdef ALL_OCC |
4 |
|
|
#ifndef _OCCARETE_ |
5 |
|
|
#define _OCCARETE_ |
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_arete.h" |
18 |
|
|
#include "occ_fonction.h" |
19 |
|
|
#include "occ_fonction_v2015.h" |
20 |
|
|
#include "occ_fonction_v2017.h" |
21 |
|
|
#include "TopoDS_Edge.hxx" |
22 |
|
|
class DLLPORTGEOMETRIE OCC_ARETE:public MG_ARETE |
23 |
|
|
{ |
24 |
|
|
public: |
25 |
|
|
|
26 |
|
|
OCC_ARETE(std::string idori,unsigned long num,class MG_COSOMMET* mgcosom1,class MG_COSOMMET* mgcosom2,class MG_COURBE* crb,int sens,TopoDS_Edge edge,OCC_FONCTION* occ_fonction); |
27 |
|
|
OCC_ARETE(std::string idori,class MG_COSOMMET* mgcosom1,class MG_COSOMMET* mgcosom2,class MG_COURBE* crb,int sens,TopoDS_Edge edge,OCC_FONCTION* occ_fonction); |
28 |
|
|
OCC_ARETE(std::string idori,unsigned long num,class MG_COURBE* crb,int sens,TopoDS_Edge edge,OCC_FONCTION* occ_fonction); |
29 |
|
|
OCC_ARETE(std::string idori,class MG_COURBE* crb,int sens,TopoDS_Edge edge,OCC_FONCTION* occ_fonction); |
30 |
|
|
OCC_ARETE(OCC_ARETE& mdd); |
31 |
|
|
virtual ~OCC_ARETE(); |
32 |
|
|
TopoDS_Edge get_TopoDS_Edge(void); |
33 |
|
|
void change_TopoDS_Edge(TopoDS_Edge edge); |
34 |
|
|
virtual void enregistrer(std::ostream& o,double version); |
35 |
|
|
protected: |
36 |
|
|
TopoDS_Edge m_edge; |
37 |
|
|
OCC_FONCTION* m_occ_fonction; |
38 |
|
|
}; |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
#endif |
42 |
|
|
#endif |