File: GeomTools.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (407 lines) | stat: -rw-r--r-- 23,306 bytes parent folder | download | duplicates (2)
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
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407

// std lib related includes
#include <tuple>

// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;

// Standard Handle
#include <Standard_Handle.hxx>


// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Surface.hxx>
#include <Geom_Curve.hxx>
#include <Geom2d_Curve.hxx>
#include <GeomTools_UndefinedTypeHandler.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom2d_Curve.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Curve.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Geom_Curve.hxx>
#include <Geom2d_Curve.hxx>
#include <Geom_Surface.hxx>

// module includes
#include <GeomTools.hxx>
#include <GeomTools_Curve2dSet.hxx>
#include <GeomTools_CurveSet.hxx>
#include <GeomTools_SurfaceSet.hxx>
#include <GeomTools_UndefinedTypeHandler.hxx>

// template related includes


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module

// Module definiiton
void register_GeomTools(py::module &main_module) {


py::module m = static_cast<py::module>(main_module.attr("GeomTools"));
py::object klass;

//Python trampoline classes

// classes

    // Class GeomTools from ./opencascade/GeomTools.hxx
    klass = m.attr("GeomTools");

    // default constructor
    register_default_constructor<GeomTools , shared_ptr<GeomTools>>(m,"GeomTools");

    // nested enums

    static_cast<py::class_<GeomTools , shared_ptr<GeomTools>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Dump_s",
                    (void (*)( const opencascade::handle<Geom_Surface> & ,  std::ostream &  ) ) static_cast<void (*)( const opencascade::handle<Geom_Surface> & ,  std::ostream &  ) >(&GeomTools::Dump),
                    R"#(A set of Curves from Geom2d. Dumps the surface on the stream.)#"  , py::arg("S"),  py::arg("OS")
          )
        .def_static("Write_s",
                    (void (*)( const opencascade::handle<Geom_Surface> & ,  std::ostream &  ) ) static_cast<void (*)( const opencascade::handle<Geom_Surface> & ,  std::ostream &  ) >(&GeomTools::Write),
                    R"#(Writes the surface on the stream.)#"  , py::arg("S"),  py::arg("OS")
          )
        .def_static("Dump_s",
                    (void (*)( const opencascade::handle<Geom_Curve> & ,  std::ostream &  ) ) static_cast<void (*)( const opencascade::handle<Geom_Curve> & ,  std::ostream &  ) >(&GeomTools::Dump),
                    R"#(Dumps the Curve on the stream.)#"  , py::arg("C"),  py::arg("OS")
          )
        .def_static("Write_s",
                    (void (*)( const opencascade::handle<Geom_Curve> & ,  std::ostream &  ) ) static_cast<void (*)( const opencascade::handle<Geom_Curve> & ,  std::ostream &  ) >(&GeomTools::Write),
                    R"#(Writes the Curve on the stream.)#"  , py::arg("C"),  py::arg("OS")
          )
        .def_static("Dump_s",
                    (void (*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream &  ) ) static_cast<void (*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream &  ) >(&GeomTools::Dump),
                    R"#(Dumps the Curve on the stream.)#"  , py::arg("C"),  py::arg("OS")
          )
        .def_static("Write_s",
                    (void (*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream &  ) ) static_cast<void (*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream &  ) >(&GeomTools::Write),
                    R"#(Writes the Curve on the stream.)#"  , py::arg("C"),  py::arg("OS")
          )
        .def_static("SetUndefinedTypeHandler_s",
                    (void (*)( const opencascade::handle<GeomTools_UndefinedTypeHandler> &  ) ) static_cast<void (*)( const opencascade::handle<GeomTools_UndefinedTypeHandler> &  ) >(&GeomTools::SetUndefinedTypeHandler),
                    R"#(None)#"  , py::arg("aHandler")
          )
        .def_static("GetUndefinedTypeHandler_s",
                    (opencascade::handle<GeomTools_UndefinedTypeHandler> (*)() ) static_cast<opencascade::handle<GeomTools_UndefinedTypeHandler> (*)() >(&GeomTools::GetUndefinedTypeHandler),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
        .def_static("Read_s",
            [](Geom_Surface& S,std::istream & IS ){
                opencascade::handle<Geom_Surface>  S_ptr; S_ptr = &S;

                GeomTools::Read(S_ptr,IS);
                if ( S_ptr.get() != &S ) copy_if_copy_constructible(S, *S_ptr);

 },
            R"#(Reads the surface from the stream.)#"  , py::arg("S"),  py::arg("IS")
          )
        .def_static("Read_s",
            [](Geom_Curve& C,std::istream & IS ){
                opencascade::handle<Geom_Curve>  C_ptr; C_ptr = &C;

                GeomTools::Read(C_ptr,IS);
                if ( C_ptr.get() != &C ) copy_if_copy_constructible(C, *C_ptr);

 },
            R"#(Reads the Curve from the stream.)#"  , py::arg("C"),  py::arg("IS")
          )
        .def_static("Read_s",
            [](Geom2d_Curve& C,std::istream & IS ){
                opencascade::handle<Geom2d_Curve>  C_ptr; C_ptr = &C;

                GeomTools::Read(C_ptr,IS);
                if ( C_ptr.get() != &C ) copy_if_copy_constructible(C, *C_ptr);

 },
            R"#(Reads the Curve from the stream.)#"  , py::arg("C"),  py::arg("IS")
          )
        .def_static("GetReal_s",
            [](std::istream & IS ){
                Standard_Real  theValue;

                GeomTools::GetReal(IS,theValue);
                
return std::make_tuple(theValue); },
            R"#(Reads the Standard_Real value from the stream. Zero is read in case of error)#"  , py::arg("IS")
          )
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class GeomTools_Curve2dSet from ./opencascade/GeomTools_Curve2dSet.hxx
    klass = m.attr("GeomTools_Curve2dSet");


    // nested enums

    static_cast<py::class_<GeomTools_Curve2dSet , shared_ptr<GeomTools_Curve2dSet>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Clear",
             (void (GeomTools_Curve2dSet::*)() ) static_cast<void (GeomTools_Curve2dSet::*)() >(&GeomTools_Curve2dSet::Clear),
             R"#(Clears the content of the set.)#" 
          )
        .def("Add",
             (Standard_Integer (GeomTools_Curve2dSet::*)( const opencascade::handle<Geom2d_Curve> &  ) ) static_cast<Standard_Integer (GeomTools_Curve2dSet::*)( const opencascade::handle<Geom2d_Curve> &  ) >(&GeomTools_Curve2dSet::Add),
             R"#(Incorporate a new Curve in the set and returns its index.)#"  , py::arg("C")
          )
        .def("Curve2d",
             (opencascade::handle<Geom2d_Curve> (GeomTools_Curve2dSet::*)( const Standard_Integer  ) const) static_cast<opencascade::handle<Geom2d_Curve> (GeomTools_Curve2dSet::*)( const Standard_Integer  ) const>(&GeomTools_Curve2dSet::Curve2d),
             R"#(Returns the Curve of index <I>.)#"  , py::arg("I")
          )
        .def("Index",
             (Standard_Integer (GeomTools_Curve2dSet::*)( const opencascade::handle<Geom2d_Curve> &  ) const) static_cast<Standard_Integer (GeomTools_Curve2dSet::*)( const opencascade::handle<Geom2d_Curve> &  ) const>(&GeomTools_Curve2dSet::Index),
             R"#(Returns the index of <L>.)#"  , py::arg("C")
          )
        .def("Dump",
             (void (GeomTools_Curve2dSet::*)( std::ostream &  ) const) static_cast<void (GeomTools_Curve2dSet::*)( std::ostream &  ) const>(&GeomTools_Curve2dSet::Dump),
             R"#(Dumps the content of me on the stream <OS>.)#"  , py::arg("OS")
          )
        .def("Write",
             (void (GeomTools_Curve2dSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const) static_cast<void (GeomTools_Curve2dSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const>(&GeomTools_Curve2dSet::Write),
             R"#(Writes the content of me on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("OS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (void (GeomTools_Curve2dSet::*)( std::istream & ,  const Message_ProgressRange &  ) ) static_cast<void (GeomTools_Curve2dSet::*)( std::istream & ,  const Message_ProgressRange &  ) >(&GeomTools_Curve2dSet::Read),
             R"#(Reads the content of me from the stream <IS>. me is first cleared.)#"  , py::arg("IS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("PrintCurve2d_s",
                    (void (*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) ) static_cast<void (*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) >(&GeomTools_Curve2dSet::PrintCurve2d),
                    R"#(Dumps the curve on the stream, if compact is True use the compact format that can be read back.)#"  , py::arg("C"),  py::arg("OS"),  py::arg("compact")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("ReadCurve2d_s",
                    (opencascade::handle<Geom2d_Curve> (*)( std::istream &  ) ) static_cast<opencascade::handle<Geom2d_Curve> (*)( std::istream &  ) >(&GeomTools_Curve2dSet::ReadCurve2d),
                    R"#(Reads the curve from the stream. The curve is assumed to have been written with the Print method (compact = True).)#"  , py::arg("IS")
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class GeomTools_CurveSet from ./opencascade/GeomTools_CurveSet.hxx
    klass = m.attr("GeomTools_CurveSet");


    // nested enums

    static_cast<py::class_<GeomTools_CurveSet , shared_ptr<GeomTools_CurveSet>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Clear",
             (void (GeomTools_CurveSet::*)() ) static_cast<void (GeomTools_CurveSet::*)() >(&GeomTools_CurveSet::Clear),
             R"#(Clears the content of the set.)#" 
          )
        .def("Add",
             (Standard_Integer (GeomTools_CurveSet::*)( const opencascade::handle<Geom_Curve> &  ) ) static_cast<Standard_Integer (GeomTools_CurveSet::*)( const opencascade::handle<Geom_Curve> &  ) >(&GeomTools_CurveSet::Add),
             R"#(Incorporate a new Curve in the set and returns its index.)#"  , py::arg("C")
          )
        .def("Curve",
             (opencascade::handle<Geom_Curve> (GeomTools_CurveSet::*)( const Standard_Integer  ) const) static_cast<opencascade::handle<Geom_Curve> (GeomTools_CurveSet::*)( const Standard_Integer  ) const>(&GeomTools_CurveSet::Curve),
             R"#(Returns the Curve of index <I>.)#"  , py::arg("I")
          )
        .def("Index",
             (Standard_Integer (GeomTools_CurveSet::*)( const opencascade::handle<Geom_Curve> &  ) const) static_cast<Standard_Integer (GeomTools_CurveSet::*)( const opencascade::handle<Geom_Curve> &  ) const>(&GeomTools_CurveSet::Index),
             R"#(Returns the index of <L>.)#"  , py::arg("C")
          )
        .def("Dump",
             (void (GeomTools_CurveSet::*)( std::ostream &  ) const) static_cast<void (GeomTools_CurveSet::*)( std::ostream &  ) const>(&GeomTools_CurveSet::Dump),
             R"#(Dumps the content of me on the stream <OS>.)#"  , py::arg("OS")
          )
        .def("Write",
             (void (GeomTools_CurveSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const) static_cast<void (GeomTools_CurveSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const>(&GeomTools_CurveSet::Write),
             R"#(Writes the content of me on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("OS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (void (GeomTools_CurveSet::*)( std::istream & ,  const Message_ProgressRange &  ) ) static_cast<void (GeomTools_CurveSet::*)( std::istream & ,  const Message_ProgressRange &  ) >(&GeomTools_CurveSet::Read),
             R"#(Reads the content of me from the stream <IS>. me is first cleared.)#"  , py::arg("IS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("PrintCurve_s",
                    (void (*)( const opencascade::handle<Geom_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) ) static_cast<void (*)( const opencascade::handle<Geom_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) >(&GeomTools_CurveSet::PrintCurve),
                    R"#(Dumps the curve on the stream, if compact is True use the compact format that can be read back.)#"  , py::arg("C"),  py::arg("OS"),  py::arg("compact")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("ReadCurve_s",
                    (opencascade::handle<Geom_Curve> (*)( std::istream &  ) ) static_cast<opencascade::handle<Geom_Curve> (*)( std::istream &  ) >(&GeomTools_CurveSet::ReadCurve),
                    R"#(Reads the curve from the stream. The curve is assumed to have been written with the Print method (compact = True).)#"  , py::arg("IS")
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class GeomTools_SurfaceSet from ./opencascade/GeomTools_SurfaceSet.hxx
    klass = m.attr("GeomTools_SurfaceSet");


    // nested enums

    static_cast<py::class_<GeomTools_SurfaceSet , shared_ptr<GeomTools_SurfaceSet>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Clear",
             (void (GeomTools_SurfaceSet::*)() ) static_cast<void (GeomTools_SurfaceSet::*)() >(&GeomTools_SurfaceSet::Clear),
             R"#(Clears the content of the set.)#" 
          )
        .def("Add",
             (Standard_Integer (GeomTools_SurfaceSet::*)( const opencascade::handle<Geom_Surface> &  ) ) static_cast<Standard_Integer (GeomTools_SurfaceSet::*)( const opencascade::handle<Geom_Surface> &  ) >(&GeomTools_SurfaceSet::Add),
             R"#(Incorporate a new Surface in the set and returns its index.)#"  , py::arg("S")
          )
        .def("Surface",
             (opencascade::handle<Geom_Surface> (GeomTools_SurfaceSet::*)( const Standard_Integer  ) const) static_cast<opencascade::handle<Geom_Surface> (GeomTools_SurfaceSet::*)( const Standard_Integer  ) const>(&GeomTools_SurfaceSet::Surface),
             R"#(Returns the Surface of index <I>.)#"  , py::arg("I")
          )
        .def("Index",
             (Standard_Integer (GeomTools_SurfaceSet::*)( const opencascade::handle<Geom_Surface> &  ) const) static_cast<Standard_Integer (GeomTools_SurfaceSet::*)( const opencascade::handle<Geom_Surface> &  ) const>(&GeomTools_SurfaceSet::Index),
             R"#(Returns the index of <L>.)#"  , py::arg("S")
          )
        .def("Dump",
             (void (GeomTools_SurfaceSet::*)( std::ostream &  ) const) static_cast<void (GeomTools_SurfaceSet::*)( std::ostream &  ) const>(&GeomTools_SurfaceSet::Dump),
             R"#(Dumps the content of me on the stream <OS>.)#"  , py::arg("OS")
          )
        .def("Write",
             (void (GeomTools_SurfaceSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const) static_cast<void (GeomTools_SurfaceSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const>(&GeomTools_SurfaceSet::Write),
             R"#(Writes the content of me on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("OS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (void (GeomTools_SurfaceSet::*)( std::istream & ,  const Message_ProgressRange &  ) ) static_cast<void (GeomTools_SurfaceSet::*)( std::istream & ,  const Message_ProgressRange &  ) >(&GeomTools_SurfaceSet::Read),
             R"#(Reads the content of me from the stream <IS>. me is first cleared.)#"  , py::arg("IS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("PrintSurface_s",
                    (void (*)( const opencascade::handle<Geom_Surface> & ,  std::ostream & ,  const Standard_Boolean  ) ) static_cast<void (*)( const opencascade::handle<Geom_Surface> & ,  std::ostream & ,  const Standard_Boolean  ) >(&GeomTools_SurfaceSet::PrintSurface),
                    R"#(Dumps the surface on the stream, if compact is True use the compact format that can be read back.)#"  , py::arg("S"),  py::arg("OS"),  py::arg("compact")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def_static("ReadSurface_s",
                    (opencascade::handle<Geom_Surface> (*)( std::istream &  ) ) static_cast<opencascade::handle<Geom_Surface> (*)( std::istream &  ) >(&GeomTools_SurfaceSet::ReadSurface),
                    R"#(Reads the surface from the stream. The surface is assumed to have been written with the Print method (compact = True).)#"  , py::arg("IS")
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class GeomTools_UndefinedTypeHandler from ./opencascade/GeomTools_UndefinedTypeHandler.hxx
    klass = m.attr("GeomTools_UndefinedTypeHandler");


    // nested enums

    static_cast<py::class_<GeomTools_UndefinedTypeHandler ,opencascade::handle<GeomTools_UndefinedTypeHandler>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("PrintCurve",
             (void (GeomTools_UndefinedTypeHandler::*)( const opencascade::handle<Geom_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) const) static_cast<void (GeomTools_UndefinedTypeHandler::*)( const opencascade::handle<Geom_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) const>(&GeomTools_UndefinedTypeHandler::PrintCurve),
             R"#(None)#"  , py::arg("C"),  py::arg("OS"),  py::arg("compact")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("ReadCurve",
             (Standard_IStream & (GeomTools_UndefinedTypeHandler::*)( const Standard_Integer ,  std::istream & ,  opencascade::handle<Geom_Curve> &  ) const) static_cast<Standard_IStream & (GeomTools_UndefinedTypeHandler::*)( const Standard_Integer ,  std::istream & ,  opencascade::handle<Geom_Curve> &  ) const>(&GeomTools_UndefinedTypeHandler::ReadCurve),
             R"#(None)#"  , py::arg("ctype"),  py::arg("IS"),  py::arg("C")
          )
        .def("PrintCurve2d",
             (void (GeomTools_UndefinedTypeHandler::*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) const) static_cast<void (GeomTools_UndefinedTypeHandler::*)( const opencascade::handle<Geom2d_Curve> & ,  std::ostream & ,  const Standard_Boolean  ) const>(&GeomTools_UndefinedTypeHandler::PrintCurve2d),
             R"#(None)#"  , py::arg("C"),  py::arg("OS"),  py::arg("compact")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("ReadCurve2d",
             (Standard_IStream & (GeomTools_UndefinedTypeHandler::*)( const Standard_Integer ,  std::istream & ,  opencascade::handle<Geom2d_Curve> &  ) const) static_cast<Standard_IStream & (GeomTools_UndefinedTypeHandler::*)( const Standard_Integer ,  std::istream & ,  opencascade::handle<Geom2d_Curve> &  ) const>(&GeomTools_UndefinedTypeHandler::ReadCurve2d),
             R"#(None)#"  , py::arg("ctype"),  py::arg("IS"),  py::arg("C")
          )
        .def("PrintSurface",
             (void (GeomTools_UndefinedTypeHandler::*)( const opencascade::handle<Geom_Surface> & ,  std::ostream & ,  const Standard_Boolean  ) const) static_cast<void (GeomTools_UndefinedTypeHandler::*)( const opencascade::handle<Geom_Surface> & ,  std::ostream & ,  const Standard_Boolean  ) const>(&GeomTools_UndefinedTypeHandler::PrintSurface),
             R"#(None)#"  , py::arg("S"),  py::arg("OS"),  py::arg("compact")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("ReadSurface",
             (Standard_IStream & (GeomTools_UndefinedTypeHandler::*)( const Standard_Integer ,  std::istream & ,  opencascade::handle<Geom_Surface> &  ) const) static_cast<Standard_IStream & (GeomTools_UndefinedTypeHandler::*)( const Standard_Integer ,  std::istream & ,  opencascade::handle<Geom_Surface> &  ) const>(&GeomTools_UndefinedTypeHandler::ReadSurface),
             R"#(None)#"  , py::arg("ctype"),  py::arg("IS"),  py::arg("S")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&GeomTools_UndefinedTypeHandler::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&GeomTools_UndefinedTypeHandler::get_type_descriptor),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (GeomTools_UndefinedTypeHandler::*)() const) static_cast<const opencascade::handle<Standard_Type> & (GeomTools_UndefinedTypeHandler::*)() const>(&GeomTools_UndefinedTypeHandler::DynamicType),
             R"#(None)#"
             
         )
;

// functions
// ./opencascade/GeomTools.hxx
// ./opencascade/GeomTools_Curve2dSet.hxx
// ./opencascade/GeomTools_CurveSet.hxx
// ./opencascade/GeomTools_SurfaceSet.hxx
// ./opencascade/GeomTools_UndefinedTypeHandler.hxx

// Additional functions

// operators

// register typdefs


// exceptions

// user-defined post-inclusion per module in the body

};

// user-defined post-inclusion per module

// user-defined post