summaryrefslogtreecommitdiff
path: root/inc/ChFiDS_SurfData.hxx
blob: 5e64670947787601c820c859b237a8c52386fb14 (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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
// 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 _ChFiDS_SurfData_HeaderFile
#define _ChFiDS_SurfData_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_ChFiDS_SurfData_HeaderFile
#include <Handle_ChFiDS_SurfData.hxx>
#endif

#ifndef _ChFiDS_CommonPoint_HeaderFile
#include <ChFiDS_CommonPoint.hxx>
#endif
#ifndef _ChFiDS_FaceInterference_HeaderFile
#include <ChFiDS_FaceInterference.hxx>
#endif
#ifndef _gp_Pnt2d_HeaderFile
#include <gp_Pnt2d.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_MMgt_TShared_HeaderFile
#include <Handle_MMgt_TShared.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _TopAbs_Orientation_HeaderFile
#include <TopAbs_Orientation.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
class MMgt_TShared;
class ChFiDS_FaceInterference;
class ChFiDS_CommonPoint;
class gp_Pnt2d;



class ChFiDS_SurfData : public MMgt_TShared {

public:

  
  Standard_EXPORT   ChFiDS_SurfData();
  
  Standard_EXPORT     void Copy(const Handle(ChFiDS_SurfData)& Other) ;
  
        Standard_Integer IndexOfS1() const;
  
        Standard_Integer IndexOfS2() const;
  
        Standard_Boolean IsOnCurve1() const;
  
        Standard_Boolean IsOnCurve2() const;
  
        Standard_Integer IndexOfC1() const;
  
        Standard_Integer IndexOfC2() const;
  
        Standard_Integer Surf() const;
  
        TopAbs_Orientation Orientation() const;
  
       const ChFiDS_FaceInterference& InterferenceOnS1() const;
  
       const ChFiDS_FaceInterference& InterferenceOnS2() const;
  
       const ChFiDS_CommonPoint& VertexFirstOnS1() const;
  
       const ChFiDS_CommonPoint& VertexFirstOnS2() const;
  
       const ChFiDS_CommonPoint& VertexLastOnS1() const;
  
       const ChFiDS_CommonPoint& VertexLastOnS2() const;
  
        void ChangeIndexOfS1(const Standard_Integer Index) ;
  
        void ChangeIndexOfS2(const Standard_Integer Index) ;
  
        void ChangeSurf(const Standard_Integer Index) ;
  
        void SetIndexOfC1(const Standard_Integer Index) ;
  
        void SetIndexOfC2(const Standard_Integer Index) ;
  
        TopAbs_Orientation& ChangeOrientation() ;
  
        ChFiDS_FaceInterference& ChangeInterferenceOnS1() ;
  
        ChFiDS_FaceInterference& ChangeInterferenceOnS2() ;
  
        ChFiDS_CommonPoint& ChangeVertexFirstOnS1() ;
  
        ChFiDS_CommonPoint& ChangeVertexFirstOnS2() ;
  
        ChFiDS_CommonPoint& ChangeVertexLastOnS1() ;
  
        ChFiDS_CommonPoint& ChangeVertexLastOnS2() ;
  
  Standard_EXPORT    const ChFiDS_FaceInterference& Interference(const Standard_Integer OnS) const;
  
  Standard_EXPORT     ChFiDS_FaceInterference& ChangeInterference(const Standard_Integer OnS) ;
  
  Standard_EXPORT     Standard_Integer Index(const Standard_Integer OfS) const;
  //! returns one of the four vertices  wether First is true <br>
//!          or wrong and OnS equals 1 or 2. <br>
  Standard_EXPORT    const ChFiDS_CommonPoint& Vertex(const Standard_Boolean First,const Standard_Integer OnS) const;
  //! returns one of the four vertices  wether First is true <br>
//!          or wrong and OnS equals 1 or 2. <br>
  Standard_EXPORT     ChFiDS_CommonPoint& ChangeVertex(const Standard_Boolean First,const Standard_Integer OnS) ;
  
        Standard_Boolean IsOnCurve(const Standard_Integer OnS) const;
  
        Standard_Integer IndexOfC(const Standard_Integer OnS) const;
  
  Standard_EXPORT     Standard_Real FirstSpineParam() const;
  
  Standard_EXPORT     Standard_Real LastSpineParam() const;
  
  Standard_EXPORT     void FirstSpineParam(const Standard_Real Par) ;
  
  Standard_EXPORT     void LastSpineParam(const Standard_Real Par) ;
  
  Standard_EXPORT     Standard_Real FirstExtensionValue() const;
  
  Standard_EXPORT     Standard_Real LastExtensionValue() const;
  
  Standard_EXPORT     void FirstExtensionValue(const Standard_Real Extend) ;
  
  Standard_EXPORT     void LastExtensionValue(const Standard_Real Extend) ;
  
  Standard_EXPORT     Handle_MMgt_TShared Simul() const;
  
  Standard_EXPORT     void SetSimul(const Handle(MMgt_TShared)& S) ;
  
  Standard_EXPORT     void ResetSimul() ;
  
  Standard_EXPORT     gp_Pnt2d Get2dPoints(const Standard_Boolean First,const Standard_Integer OnS) const;
  
  Standard_EXPORT     void Get2dPoints(gp_Pnt2d& P2df1,gp_Pnt2d& P2dl1,gp_Pnt2d& P2df2,gp_Pnt2d& P2dl2) const;
  
  Standard_EXPORT     void Set2dPoints(const gp_Pnt2d& P2df1,const gp_Pnt2d& P2dl1,const gp_Pnt2d& P2df2,const gp_Pnt2d& P2dl2) ;
  
        Standard_Boolean TwistOnS1() const;
  
        Standard_Boolean TwistOnS2() const;
  
        void TwistOnS1(const Standard_Boolean T) ;
  
        void TwistOnS2(const Standard_Boolean T) ;




  DEFINE_STANDARD_RTTI(ChFiDS_SurfData)

protected:




private: 


ChFiDS_CommonPoint pfirstOnS1;
ChFiDS_CommonPoint plastOnS1;
ChFiDS_CommonPoint pfirstOnS2;
ChFiDS_CommonPoint plastOnS2;
ChFiDS_FaceInterference intf1;
ChFiDS_FaceInterference intf2;
gp_Pnt2d p2df1;
gp_Pnt2d p2dl1;
gp_Pnt2d p2df2;
gp_Pnt2d p2dl2;
Standard_Real ufspine;
Standard_Real ulspine;
Standard_Real myfirstextend;
Standard_Real mylastextend;
Handle_MMgt_TShared simul;
Standard_Integer indexOfS1;
Standard_Integer indexOfC1;
Standard_Integer indexOfS2;
Standard_Integer indexOfC2;
Standard_Integer indexOfConge;
Standard_Boolean isoncurv1;
Standard_Boolean isoncurv2;
Standard_Boolean twistons1;
Standard_Boolean twistons2;
TopAbs_Orientation orientation;


};


#include <ChFiDS_SurfData.lxx>



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


#endif