summaryrefslogtreecommitdiff
path: root/inc/TopOpeBRepDS_Interference.hxx
blob: a5cef09e9d54893dd600eaabd9d4ab169cad2f44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TopOpeBRepDS_Interference_HeaderFile
#define _TopOpeBRepDS_Interference_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_TopOpeBRepDS_Interference_HeaderFile
#include <Handle_TopOpeBRepDS_Interference.hxx>
#endif

#ifndef _TopOpeBRepDS_Transition_HeaderFile
#include <TopOpeBRepDS_Transition.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _TopOpeBRepDS_Kind_HeaderFile
#include <TopOpeBRepDS_Kind.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class TopOpeBRepDS_Transition;
class TCollection_AsciiString;


//! An interference    is   the   description  of  the <br>
//!          attachment of  a new  geometry on a  geometry. For <br>
//!          example an intersection point  on an Edge or on  a <br>
//!          Curve. <br>
//! <br>
//!          The Interference contains the following data : <br>
//! <br>
//!          - Transition :  How the interference  separates the <br>
//!          existing geometry in INSIDE and OUTSIDE. <br>
//! <br>
//!          - SupportType : Type of  the object supporting the <br>
//!          interference. (FACE, EDGE, VERTEX, SURFACE, CURVE). <br>
//! <br>
//!          - Support :  Index  in the data  structure  of the <br>
//!          object supporting the interference. <br>
//! <br>
//!          - GeometryType  :   Type  of the  geometry of  the <br>
//!          interference (SURFACE, CURVE, POINT). <br>
//! <br>
//!          - Geometry : Index  in the data structure  of the <br>
//!          geometry. <br>
//! <br>
class TopOpeBRepDS_Interference : public MMgt_TShared {

public:

  
  Standard_EXPORT   TopOpeBRepDS_Interference();
  
  Standard_EXPORT   TopOpeBRepDS_Interference(const TopOpeBRepDS_Transition& Transition,const TopOpeBRepDS_Kind SupportType,const Standard_Integer Support,const TopOpeBRepDS_Kind GeometryType,const Standard_Integer Geometry);
  
  Standard_EXPORT   TopOpeBRepDS_Interference(const Handle(TopOpeBRepDS_Interference)& I);
  
  Standard_EXPORT    const TopOpeBRepDS_Transition& Transition() const;
  
  Standard_EXPORT     TopOpeBRepDS_Transition& ChangeTransition() ;
  
  Standard_EXPORT     void Transition(const TopOpeBRepDS_Transition& T) ;
  //! return GeometryType + Geometry + SupportType + Support <br>
  Standard_EXPORT     void GKGSKS(TopOpeBRepDS_Kind& GK,Standard_Integer& G,TopOpeBRepDS_Kind& SK,Standard_Integer& S) const;
  
  Standard_EXPORT     TopOpeBRepDS_Kind SupportType() const;
  
  Standard_EXPORT     Standard_Integer Support() const;
  
  Standard_EXPORT     TopOpeBRepDS_Kind GeometryType() const;
  
  Standard_EXPORT     Standard_Integer Geometry() const;
  
  Standard_EXPORT     void SetGeometry(const Standard_Integer GI) ;
  
  Standard_EXPORT     void SupportType(const TopOpeBRepDS_Kind ST) ;
  
  Standard_EXPORT     void Support(const Standard_Integer S) ;
  
  Standard_EXPORT     void GeometryType(const TopOpeBRepDS_Kind GT) ;
  
  Standard_EXPORT     void Geometry(const Standard_Integer G) ;
  
  Standard_EXPORT     Standard_Boolean HasSameSupport(const Handle(TopOpeBRepDS_Interference)& Other) const;
  
  Standard_EXPORT     Standard_Boolean HasSameGeometry(const Handle(TopOpeBRepDS_Interference)& Other) const;
  
  Standard_EXPORT     Standard_OStream& DumpG(Standard_OStream& OS) const;
  
  Standard_EXPORT     Standard_OStream& DumpS(Standard_OStream& OS) const;
  
  Standard_EXPORT   virtual  Standard_OStream& Dump(Standard_OStream& OS) const;
  
  Standard_EXPORT     Standard_OStream& Dump(Standard_OStream& OS,const TCollection_AsciiString& s1,const TCollection_AsciiString& s2) const;




  DEFINE_STANDARD_RTTI(TopOpeBRepDS_Interference)

protected:




private: 


TopOpeBRepDS_Transition myTransition;
Standard_Integer mySupport;
Standard_Integer myGeometry;
TopOpeBRepDS_Kind mySupportType;
TopOpeBRepDS_Kind myGeometryType;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif