ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mtu/src/occ_face.cpp
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (11 months, 1 week ago) by francois
File size: 2073 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1158 //####//------------------------------------------------------------
2     //####//------------------------------------------------------------
3     //####// MAGiC
4     //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5     //####// Departement de Genie Mecanique - UQTR
6     //####//------------------------------------------------------------
7     //####// MAGIC est un projet de recherche de l equipe ERICCA
8     //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9     //####// http://www.uqtr.ca/ericca
10     //####// http://www.uqtr.ca/
11     //####//------------------------------------------------------------
12     //####//------------------------------------------------------------
13     //####//
14     //####// occ_face.cpp
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:58:54 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 couturad 908 #ifdef ALL_OCC
23 couturad 907 #include "occ_face.h"
24    
25    
26     OCC_FACE::OCC_FACE(std::string idori,unsigned long num,MG_SURFACE* srf,int sens,TopoDS_Face face,OCC_FONCTION* occ_fonction): MG_FACE(idori, num, srf, sens)
27     {
28     m_face=face;
29     m_occ_fonction=occ_fonction;
30     }
31    
32     OCC_FACE::OCC_FACE(std::string idori,MG_SURFACE* srf,int sens,TopoDS_Face face,OCC_FONCTION* occ_fonction): MG_FACE(idori, srf, sens)
33     {
34     m_face=face;
35     m_occ_fonction=occ_fonction;
36     }
37    
38     OCC_FACE::OCC_FACE(OCC_FACE& mdd): MG_FACE(mdd)
39     {
40     m_face=mdd.m_face;
41     m_occ_fonction=mdd.m_occ_fonction;
42     }
43    
44     OCC_FACE::~OCC_FACE()
45     {
46     if(m_occ_fonction->get_version()=="OCCV2017")
47     {
48     OCC_FONCTION_V2017* occ_fonction_v2017 = (OCC_FONCTION_V2017*)m_occ_fonction;
49     occ_fonction_v2017->supprimer_OCC_FACE(this);
50     }
51     }
52    
53     TopoDS_Face OCC_FACE::get_TopoDS_Face(void)
54     {
55     return m_face;
56     }
57    
58     void OCC_FACE::change_TopoDS_Face(TopoDS_Face face)
59     {
60     m_face=face;
61     }
62    
63     void OCC_FACE::enregistrer(ostream& o, double version)
64     {
65     MG_FACE::enregistrer(o,version);
66     }
67    
68    
69    
70 couturad 908 #endif