MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
sld_fonction.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
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 //####// sld_fonction.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:54 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifdef BREP_SLD
23 
24 
25 
26 #ifndef sld_fonctionH
27 #define sld_fonctionH
28 
29 
30 #include <atl\atlmod.h>
31 #include "SldWorks_TLB.h"
32 #include "SwConst_TLB.h"
33 
34 
35 
36 
38 {
39 
40 
41 public:
42  SLD_FONCTION(void) ;
43  ~SLD_FONCTION(void);
44 
45  CComPtr <ISldWorks> swApp;
46  CComPtr <IModelDoc2> swModel;
47 
48 
49  void OuvrirFichier(char* );
50  void Sauvegarder(char* file);
51  void identificateur(void);
52  void VideNom(void);
53  void Fermer(void);
54  void Connection(void);
55 
56  void get_face_tessellation(CComPtr<IFace2> __swFace, long *__triangleCount, double ** __tessPts);
57 
58  void Modeler_SetToleranceValue(long iTol, double __tolerance);
59 
60  void SetID(IFace2* , long type=0 );
61  void SetID(IEdge* ,long type=0 );
62  void SetID(IVertex* ,long type=0);
63 
64  void EffaceID(IFace2* );
65  void EffaceID(IEdge* );
66  void EffaceID(IVertex* );
67 
68  BOOL GetParID(char* ID,CComPtr<IFace2>&);
69  BOOL GetParID(char* ID,CComPtr<IEdge>&);
70  BOOL GetParID(char* ID,CComPtr<IVertex>&);
71  BOOL GetParID(char* ID,CComPtr<ISurface>&);
72  BOOL GetParID(char* ID,CComPtr<ICurve>& );
73  BOOL GetParID(BSTR nom,CComPtr<IFace2>&);
74  BOOL GetParID(BSTR nom,CComPtr<IEdge>&);
75  BOOL GetParID(BSTR nom,CComPtr<IVertex>&);
76 
77  class AnsiString GetID(IEdge* );
78  class AnsiString GetID(IFace2* );
79  class AnsiString GetID(IVertex* );
80 
81  CComPtr <IAttributeDef> DefAttrDoublon;
82 
83  double GetValeurTolerance();
84  double sensMaitre;
85 
86 private:
87  int ouvert;
88  double tolerance;
89 
90 
91 };
92 #endif
93 #endif
94 
95 
96 
void get_face_tessellation(CComPtr< IFace2 > __swFace, long *__triangleCount, double **__tessPts)
void OuvrirFichier(char *)
double tolerance
Definition: sld_fonction.h:88
double GetValeurTolerance()
CComPtr< IModelDoc2 > swModel
Definition: sld_fonction.h:46
void VideNom(void)
~SLD_FONCTION(void)
void SetID(IFace2 *, long type=0)
CComPtr< ISldWorks > swApp
Definition: sld_fonction.h:45
void Connection(void)
class AnsiString GetID(IEdge *)
CComPtr< IAttributeDef > DefAttrDoublon
Definition: sld_fonction.h:81
double sensMaitre
Definition: sld_fonction.h:84
SLD_FONCTION(void)
void Fermer(void)
void identificateur(void)
void EffaceID(IFace2 *)
void Sauvegarder(char *file)
void Modeler_SetToleranceValue(long iTol, double __tolerance)
BOOL GetParID(char *ID, CComPtr< IFace2 > &)