summaryrefslogtreecommitdiff
path: root/inc/Contap_Contour.hxx
blob: 5aab764bd66e55c3074255a1d105bdc88aefadf5 (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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
// 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 _Contap_Contour_HeaderFile
#define _Contap_Contour_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Contap_TheSequenceOfLineOfContour_HeaderFile
#include <Contap_TheSequenceOfLineOfContour.hxx>
#endif
#ifndef _Contap_TheSearchOfContour_HeaderFile
#include <Contap_TheSearchOfContour.hxx>
#endif
#ifndef _Contap_TheSearchInsideOfContour_HeaderFile
#include <Contap_TheSearchInsideOfContour.hxx>
#endif
#ifndef _Contap_TheSurfFunctionOfContour_HeaderFile
#include <Contap_TheSurfFunctionOfContour.hxx>
#endif
#ifndef _Contap_TheArcFunctionOfContour_HeaderFile
#include <Contap_TheArcFunctionOfContour.hxx>
#endif
#ifndef _Handle_Adaptor3d_HVertex_HeaderFile
#include <Handle_Adaptor3d_HVertex.hxx>
#endif
#ifndef _Handle_Adaptor2d_HCurve2d_HeaderFile
#include <Handle_Adaptor2d_HCurve2d.hxx>
#endif
#ifndef _Handle_Adaptor3d_HSurface_HeaderFile
#include <Handle_Adaptor3d_HSurface.hxx>
#endif
#ifndef _Handle_Adaptor3d_TopolTool_HeaderFile
#include <Handle_Adaptor3d_TopolTool.hxx>
#endif
#ifndef _Handle_Contap_SequenceNodeOfTheSequenceOfPointOfContour_HeaderFile
#include <Handle_Contap_SequenceNodeOfTheSequenceOfPointOfContour.hxx>
#endif
#ifndef _Handle_Contap_TheHSequenceOfPointOfContour_HeaderFile
#include <Handle_Contap_TheHSequenceOfPointOfContour.hxx>
#endif
#ifndef _Handle_Contap_SequenceNodeOfTheSequenceOfLineOfContour_HeaderFile
#include <Handle_Contap_SequenceNodeOfTheSequenceOfLineOfContour.hxx>
#endif
#ifndef _Handle_Contap_TheIWLineOfTheIWalkingOfContour_HeaderFile
#include <Handle_Contap_TheIWLineOfTheIWalkingOfContour.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class StdFail_NotDone;
class Standard_OutOfRange;
class Standard_ConstructionError;
class Adaptor3d_HVertex;
class Adaptor2d_HCurve2d;
class Adaptor3d_HSurface;
class Contap_HCurve2dTool;
class Adaptor3d_HSurfaceTool;
class Contap_HContTool;
class Adaptor3d_TopolTool;
class Contap_ThePointOfContour;
class Contap_TheSequenceOfPointOfContour;
class Contap_SequenceNodeOfTheSequenceOfPointOfContour;
class Contap_TheHSequenceOfPointOfContour;
class Contap_TheLineOfContour;
class Contap_TheSequenceOfLineOfContour;
class Contap_SequenceNodeOfTheSequenceOfLineOfContour;
class Contap_TheSurfPropsOfContour;
class Contap_TheSurfFunctionOfContour;
class Contap_TheArcFunctionOfContour;
class Contap_TheSearchOfContour;
class Contap_ThePathPointOfTheSearchOfContour;
class Contap_SequenceOfPathPointOfTheSearchOfContour;
class Contap_TheSegmentOfTheSearchOfContour;
class Contap_SequenceOfSegmentOfTheSearchOfContour;
class Contap_TheIWalkingOfContour;
class Contap_TheIWLineOfTheIWalkingOfContour;
class Contap_SequenceOfIWLineOfTheIWalkingOfContour;
class Contap_TheSearchInsideOfContour;
class gp_Vec;
class gp_Pnt;



class Contap_Contour  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  
  Standard_EXPORT   Contap_Contour();
  
  Standard_EXPORT   Contap_Contour(const gp_Vec& Direction);
  
  Standard_EXPORT   Contap_Contour(const gp_Vec& Direction,const Standard_Real Angle);
  
  Standard_EXPORT   Contap_Contour(const gp_Pnt& Eye);
  
  Standard_EXPORT   Contap_Contour(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain,const gp_Vec& Direction);
  
  Standard_EXPORT   Contap_Contour(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain,const gp_Vec& Direction,const Standard_Real Angle);
  
  Standard_EXPORT   Contap_Contour(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain,const gp_Pnt& Eye);
  
  Standard_EXPORT     void Perform(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain) ;
  
  Standard_EXPORT     void Perform(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain,const gp_Vec& Direction) ;
  
  Standard_EXPORT     void Perform(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain,const gp_Vec& Direction,const Standard_Real Angle) ;
  
  Standard_EXPORT     void Perform(const Handle(Adaptor3d_HSurface)& Surf,const Handle(Adaptor3d_TopolTool)& Domain,const gp_Pnt& Eye) ;
  
  Standard_EXPORT     void Init(const gp_Vec& Direction) ;
  
  Standard_EXPORT     void Init(const gp_Vec& Direction,const Standard_Real Angle) ;
  
  Standard_EXPORT     void Init(const gp_Pnt& Eye) ;
  
        Standard_Boolean IsDone() const;
  
        Standard_Boolean IsEmpty() const;
  
        Standard_Integer NbLines() const;
  
       const Contap_TheLineOfContour& Line(const Standard_Integer Index) const;
  
        Contap_TheSurfFunctionOfContour& SurfaceFunction() ;





protected:





private:

  
  Standard_EXPORT     void Perform(const Handle(Adaptor3d_TopolTool)& Domain) ;
  
  Standard_EXPORT     void PerformAna(const Handle(Adaptor3d_TopolTool)& Domain) ;


Standard_Boolean done;
Contap_TheSequenceOfLineOfContour slin;
Contap_TheSearchOfContour solrst;
Contap_TheSearchInsideOfContour solins;
Contap_TheSurfFunctionOfContour mySFunc;
Contap_TheArcFunctionOfContour myAFunc;
Standard_Boolean modeset;


};

#define TheVertex Handle_Adaptor3d_HVertex
#define TheVertex_hxx <Adaptor3d_HVertex.hxx>
#define TheArc Handle_Adaptor2d_HCurve2d
#define TheArc_hxx <Adaptor2d_HCurve2d.hxx>
#define TheSurface Handle_Adaptor3d_HSurface
#define TheSurface_hxx <Adaptor3d_HSurface.hxx>
#define TheArcTool Contap_HCurve2dTool
#define TheArcTool_hxx <Contap_HCurve2dTool.hxx>
#define TheSurfaceTool Adaptor3d_HSurfaceTool
#define TheSurfaceTool_hxx <Adaptor3d_HSurfaceTool.hxx>
#define TheContTool Contap_HContTool
#define TheContTool_hxx <Contap_HContTool.hxx>
#define Handle_TheTopolTool Handle_Adaptor3d_TopolTool
#define TheTopolTool Adaptor3d_TopolTool
#define TheTopolTool_hxx <Adaptor3d_TopolTool.hxx>
#define Contap_ThePoint Contap_ThePointOfContour
#define Contap_ThePoint_hxx <Contap_ThePointOfContour.hxx>
#define Contap_TheSequenceOfPoint Contap_TheSequenceOfPointOfContour
#define Contap_TheSequenceOfPoint_hxx <Contap_TheSequenceOfPointOfContour.hxx>
#define Contap_SequenceNodeOfTheSequenceOfPoint Contap_SequenceNodeOfTheSequenceOfPointOfContour
#define Contap_SequenceNodeOfTheSequenceOfPoint_hxx <Contap_SequenceNodeOfTheSequenceOfPointOfContour.hxx>
#define Contap_SequenceNodeOfTheSequenceOfPoint Contap_SequenceNodeOfTheSequenceOfPointOfContour
#define Contap_SequenceNodeOfTheSequenceOfPoint_hxx <Contap_SequenceNodeOfTheSequenceOfPointOfContour.hxx>
#define Contap_TheHSequenceOfPoint Contap_TheHSequenceOfPointOfContour
#define Contap_TheHSequenceOfPoint_hxx <Contap_TheHSequenceOfPointOfContour.hxx>
#define Contap_TheLine Contap_TheLineOfContour
#define Contap_TheLine_hxx <Contap_TheLineOfContour.hxx>
#define Contap_TheSequenceOfLine Contap_TheSequenceOfLineOfContour
#define Contap_TheSequenceOfLine_hxx <Contap_TheSequenceOfLineOfContour.hxx>
#define Contap_SequenceNodeOfTheSequenceOfLine Contap_SequenceNodeOfTheSequenceOfLineOfContour
#define Contap_SequenceNodeOfTheSequenceOfLine_hxx <Contap_SequenceNodeOfTheSequenceOfLineOfContour.hxx>
#define Contap_SequenceNodeOfTheSequenceOfLine Contap_SequenceNodeOfTheSequenceOfLineOfContour
#define Contap_SequenceNodeOfTheSequenceOfLine_hxx <Contap_SequenceNodeOfTheSequenceOfLineOfContour.hxx>
#define Contap_TheSurfProps Contap_TheSurfPropsOfContour
#define Contap_TheSurfProps_hxx <Contap_TheSurfPropsOfContour.hxx>
#define Contap_TheSurfFunction Contap_TheSurfFunctionOfContour
#define Contap_TheSurfFunction_hxx <Contap_TheSurfFunctionOfContour.hxx>
#define Contap_TheArcFunction Contap_TheArcFunctionOfContour
#define Contap_TheArcFunction_hxx <Contap_TheArcFunctionOfContour.hxx>
#define Contap_TheSearch Contap_TheSearchOfContour
#define Contap_TheSearch_hxx <Contap_TheSearchOfContour.hxx>
#define Contap_ThePathPointOfTheSearch Contap_ThePathPointOfTheSearchOfContour
#define Contap_ThePathPointOfTheSearch_hxx <Contap_ThePathPointOfTheSearchOfContour.hxx>
#define Contap_SequenceOfPathPointOfTheSearch Contap_SequenceOfPathPointOfTheSearchOfContour
#define Contap_SequenceOfPathPointOfTheSearch_hxx <Contap_SequenceOfPathPointOfTheSearchOfContour.hxx>
#define Contap_TheSegmentOfTheSearch Contap_TheSegmentOfTheSearchOfContour
#define Contap_TheSegmentOfTheSearch_hxx <Contap_TheSegmentOfTheSearchOfContour.hxx>
#define Contap_SequenceOfSegmentOfTheSearch Contap_SequenceOfSegmentOfTheSearchOfContour
#define Contap_SequenceOfSegmentOfTheSearch_hxx <Contap_SequenceOfSegmentOfTheSearchOfContour.hxx>
#define Contap_ThePathPointOfTheSearch Contap_ThePathPointOfTheSearchOfContour
#define Contap_ThePathPointOfTheSearch_hxx <Contap_ThePathPointOfTheSearchOfContour.hxx>
#define Contap_SequenceOfPathPointOfTheSearch Contap_SequenceOfPathPointOfTheSearchOfContour
#define Contap_SequenceOfPathPointOfTheSearch_hxx <Contap_SequenceOfPathPointOfTheSearchOfContour.hxx>
#define Contap_TheSegmentOfTheSearch Contap_TheSegmentOfTheSearchOfContour
#define Contap_TheSegmentOfTheSearch_hxx <Contap_TheSegmentOfTheSearchOfContour.hxx>
#define Contap_SequenceOfSegmentOfTheSearch Contap_SequenceOfSegmentOfTheSearchOfContour
#define Contap_SequenceOfSegmentOfTheSearch_hxx <Contap_SequenceOfSegmentOfTheSearchOfContour.hxx>
#define Contap_TheIWalking Contap_TheIWalkingOfContour
#define Contap_TheIWalking_hxx <Contap_TheIWalkingOfContour.hxx>
#define Contap_TheIWLineOfTheIWalking Contap_TheIWLineOfTheIWalkingOfContour
#define Contap_TheIWLineOfTheIWalking_hxx <Contap_TheIWLineOfTheIWalkingOfContour.hxx>
#define Contap_SequenceOfIWLineOfTheIWalking Contap_SequenceOfIWLineOfTheIWalkingOfContour
#define Contap_SequenceOfIWLineOfTheIWalking_hxx <Contap_SequenceOfIWLineOfTheIWalkingOfContour.hxx>
#define Contap_TheIWLineOfTheIWalking Contap_TheIWLineOfTheIWalkingOfContour
#define Contap_TheIWLineOfTheIWalking_hxx <Contap_TheIWLineOfTheIWalkingOfContour.hxx>
#define Contap_SequenceOfIWLineOfTheIWalking Contap_SequenceOfIWLineOfTheIWalkingOfContour
#define Contap_SequenceOfIWLineOfTheIWalking_hxx <Contap_SequenceOfIWLineOfTheIWalkingOfContour.hxx>
#define Contap_TheSearchInside Contap_TheSearchInsideOfContour
#define Contap_TheSearchInside_hxx <Contap_TheSearchInsideOfContour.hxx>
#define Handle_Contap_SequenceNodeOfTheSequenceOfPoint Handle_Contap_SequenceNodeOfTheSequenceOfPointOfContour
#define Contap_SequenceNodeOfTheSequenceOfPoint_Type_() Contap_SequenceNodeOfTheSequenceOfPointOfContour_Type_()
#define Handle_Contap_SequenceNodeOfTheSequenceOfPoint Handle_Contap_SequenceNodeOfTheSequenceOfPointOfContour
#define Contap_SequenceNodeOfTheSequenceOfPoint_Type_() Contap_SequenceNodeOfTheSequenceOfPointOfContour_Type_()
#define Handle_Contap_TheHSequenceOfPoint Handle_Contap_TheHSequenceOfPointOfContour
#define Contap_TheHSequenceOfPoint_Type_() Contap_TheHSequenceOfPointOfContour_Type_()
#define Handle_Contap_SequenceNodeOfTheSequenceOfLine Handle_Contap_SequenceNodeOfTheSequenceOfLineOfContour
#define Contap_SequenceNodeOfTheSequenceOfLine_Type_() Contap_SequenceNodeOfTheSequenceOfLineOfContour_Type_()
#define Handle_Contap_SequenceNodeOfTheSequenceOfLine Handle_Contap_SequenceNodeOfTheSequenceOfLineOfContour
#define Contap_SequenceNodeOfTheSequenceOfLine_Type_() Contap_SequenceNodeOfTheSequenceOfLineOfContour_Type_()
#define Handle_Contap_TheIWLineOfTheIWalking Handle_Contap_TheIWLineOfTheIWalkingOfContour
#define Contap_TheIWLineOfTheIWalking_Type_() Contap_TheIWLineOfTheIWalkingOfContour_Type_()
#define Handle_Contap_TheIWLineOfTheIWalking Handle_Contap_TheIWLineOfTheIWalkingOfContour
#define Contap_TheIWLineOfTheIWalking_Type_() Contap_TheIWLineOfTheIWalkingOfContour_Type_()
#define Contap_ContourGen Contap_Contour
#define Contap_ContourGen_hxx <Contap_Contour.hxx>

#include <Contap_ContourGen.lxx>

#undef TheVertex
#undef TheVertex_hxx
#undef TheArc
#undef TheArc_hxx
#undef TheSurface
#undef TheSurface_hxx
#undef TheArcTool
#undef TheArcTool_hxx
#undef TheSurfaceTool
#undef TheSurfaceTool_hxx
#undef TheContTool
#undef TheContTool_hxx
#undef Handle_TheTopolTool
#undef TheTopolTool
#undef TheTopolTool_hxx
#undef Contap_ThePoint
#undef Contap_ThePoint_hxx
#undef Contap_TheSequenceOfPoint
#undef Contap_TheSequenceOfPoint_hxx
#undef Contap_SequenceNodeOfTheSequenceOfPoint
#undef Contap_SequenceNodeOfTheSequenceOfPoint_hxx
#undef Contap_SequenceNodeOfTheSequenceOfPoint
#undef Contap_SequenceNodeOfTheSequenceOfPoint_hxx
#undef Contap_TheHSequenceOfPoint
#undef Contap_TheHSequenceOfPoint_hxx
#undef Contap_TheLine
#undef Contap_TheLine_hxx
#undef Contap_TheSequenceOfLine
#undef Contap_TheSequenceOfLine_hxx
#undef Contap_SequenceNodeOfTheSequenceOfLine
#undef Contap_SequenceNodeOfTheSequenceOfLine_hxx
#undef Contap_SequenceNodeOfTheSequenceOfLine
#undef Contap_SequenceNodeOfTheSequenceOfLine_hxx
#undef Contap_TheSurfProps
#undef Contap_TheSurfProps_hxx
#undef Contap_TheSurfFunction
#undef Contap_TheSurfFunction_hxx
#undef Contap_TheArcFunction
#undef Contap_TheArcFunction_hxx
#undef Contap_TheSearch
#undef Contap_TheSearch_hxx
#undef Contap_ThePathPointOfTheSearch
#undef Contap_ThePathPointOfTheSearch_hxx
#undef Contap_SequenceOfPathPointOfTheSearch
#undef Contap_SequenceOfPathPointOfTheSearch_hxx
#undef Contap_TheSegmentOfTheSearch
#undef Contap_TheSegmentOfTheSearch_hxx
#undef Contap_SequenceOfSegmentOfTheSearch
#undef Contap_SequenceOfSegmentOfTheSearch_hxx
#undef Contap_ThePathPointOfTheSearch
#undef Contap_ThePathPointOfTheSearch_hxx
#undef Contap_SequenceOfPathPointOfTheSearch
#undef Contap_SequenceOfPathPointOfTheSearch_hxx
#undef Contap_TheSegmentOfTheSearch
#undef Contap_TheSegmentOfTheSearch_hxx
#undef Contap_SequenceOfSegmentOfTheSearch
#undef Contap_SequenceOfSegmentOfTheSearch_hxx
#undef Contap_TheIWalking
#undef Contap_TheIWalking_hxx
#undef Contap_TheIWLineOfTheIWalking
#undef Contap_TheIWLineOfTheIWalking_hxx
#undef Contap_SequenceOfIWLineOfTheIWalking
#undef Contap_SequenceOfIWLineOfTheIWalking_hxx
#undef Contap_TheIWLineOfTheIWalking
#undef Contap_TheIWLineOfTheIWalking_hxx
#undef Contap_SequenceOfIWLineOfTheIWalking
#undef Contap_SequenceOfIWLineOfTheIWalking_hxx
#undef Contap_TheSearchInside
#undef Contap_TheSearchInside_hxx
#undef Handle_Contap_SequenceNodeOfTheSequenceOfPoint
#undef Contap_SequenceNodeOfTheSequenceOfPoint_Type_
#undef Handle_Contap_SequenceNodeOfTheSequenceOfPoint
#undef Contap_SequenceNodeOfTheSequenceOfPoint_Type_
#undef Handle_Contap_TheHSequenceOfPoint
#undef Contap_TheHSequenceOfPoint_Type_
#undef Handle_Contap_SequenceNodeOfTheSequenceOfLine
#undef Contap_SequenceNodeOfTheSequenceOfLine_Type_
#undef Handle_Contap_SequenceNodeOfTheSequenceOfLine
#undef Contap_SequenceNodeOfTheSequenceOfLine_Type_
#undef Handle_Contap_TheIWLineOfTheIWalking
#undef Contap_TheIWLineOfTheIWalking_Type_
#undef Handle_Contap_TheIWLineOfTheIWalking
#undef Contap_TheIWLineOfTheIWalking_Type_
#undef Contap_ContourGen
#undef Contap_ContourGen_hxx


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


#endif