File: BRepClass.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 (503 lines) | stat: -rw-r--r-- 28,701 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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503

// 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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRepClass_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Lin2d.hxx>
#include <BRepClass_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRepClass_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRepClass_Edge.hxx>

// module includes
#include <BRepClass_Edge.hxx>
#include <BRepClass_FaceClassifier.hxx>
#include <BRepClass_FaceExplorer.hxx>
#include <BRepClass_FacePassiveClassifier.hxx>
#include <BRepClass_FClass2dOfFClassifier.hxx>
#include <BRepClass_FClassifier.hxx>
#include <BRepClass_Intersector.hxx>

// template related includes


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

// user-defined inclusion per module

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


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

//Python trampoline classes

// classes

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


    // nested enums

    static_cast<py::class_<BRepClass_Edge , shared_ptr<BRepClass_Edge>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Edge &,const TopoDS_Face & >()  , py::arg("E"),  py::arg("F") )
    // custom constructors
    // methods
        .def("SetNextEdge",
             (void (BRepClass_Edge::*)(  const NCollection_IndexedDataMap<TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher> &  ) ) static_cast<void (BRepClass_Edge::*)(  const NCollection_IndexedDataMap<TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher> &  ) >(&BRepClass_Edge::SetNextEdge),
             R"#(Finds and sets the next Edge for the current)#"  , py::arg("theMapVE")
          )
        .def("MaxTolerance",
             (Standard_Real (BRepClass_Edge::*)() const) static_cast<Standard_Real (BRepClass_Edge::*)() const>(&BRepClass_Edge::MaxTolerance),
             R"#(Returns the maximum tolerance)#" 
          )
        .def("SetMaxTolerance",
             (void (BRepClass_Edge::*)( const Standard_Real  ) ) static_cast<void (BRepClass_Edge::*)( const Standard_Real  ) >(&BRepClass_Edge::SetMaxTolerance),
             R"#(Sets the maximum tolerance at which to start checking in the intersector)#"  , py::arg("theValue")
          )
        .def("UseBndBox",
             (Standard_Boolean (BRepClass_Edge::*)() const) static_cast<Standard_Boolean (BRepClass_Edge::*)() const>(&BRepClass_Edge::UseBndBox),
             R"#(Returns true if we are using boxes in the intersector)#" 
          )
        .def("SetUseBndBox",
             (void (BRepClass_Edge::*)( const Standard_Boolean  ) ) static_cast<void (BRepClass_Edge::*)( const Standard_Boolean  ) >(&BRepClass_Edge::SetUseBndBox),
             R"#(Sets the status of whether we are using boxes or not)#"  , py::arg("theValue")
          )
    // methods using call by reference i.s.o. return
    // static methods
    // 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("Edge",
             (TopoDS_Edge & (BRepClass_Edge::*)() ) static_cast<TopoDS_Edge & (BRepClass_Edge::*)() >(&BRepClass_Edge::Edge),
             R"#(Returns the current Edge)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Edge",
             (const TopoDS_Edge & (BRepClass_Edge::*)() const) static_cast<const TopoDS_Edge & (BRepClass_Edge::*)() const>(&BRepClass_Edge::Edge),
             R"#(None)#"
             
         )
       .def("Face",
             (TopoDS_Face & (BRepClass_Edge::*)() ) static_cast<TopoDS_Face & (BRepClass_Edge::*)() >(&BRepClass_Edge::Face),
             R"#(Returns the Face for the current Edge)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Face",
             (const TopoDS_Face & (BRepClass_Edge::*)() const) static_cast<const TopoDS_Face & (BRepClass_Edge::*)() const>(&BRepClass_Edge::Face),
             R"#(None)#"
             
         )
       .def("NextEdge",
             (const TopoDS_Edge & (BRepClass_Edge::*)() const) static_cast<const TopoDS_Edge & (BRepClass_Edge::*)() const>(&BRepClass_Edge::NextEdge),
             R"#(Returns the next Edge)#"
             
         )
       .def("Edge",
             (TopoDS_Edge & (BRepClass_Edge::*)() ) static_cast<TopoDS_Edge & (BRepClass_Edge::*)() >(&BRepClass_Edge::Edge),
             R"#(Returns the current Edge)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Edge",
             (const TopoDS_Edge & (BRepClass_Edge::*)() const) static_cast<const TopoDS_Edge & (BRepClass_Edge::*)() const>(&BRepClass_Edge::Edge),
             R"#(None)#"
             
         )
       .def("Face",
             (TopoDS_Face & (BRepClass_Edge::*)() ) static_cast<TopoDS_Face & (BRepClass_Edge::*)() >(&BRepClass_Edge::Face),
             R"#(Returns the Face for the current Edge)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Face",
             (const TopoDS_Face & (BRepClass_Edge::*)() const) static_cast<const TopoDS_Face & (BRepClass_Edge::*)() const>(&BRepClass_Edge::Face),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepClass_FClass2dOfFClassifier , shared_ptr<BRepClass_FClass2dOfFClassifier>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Reset",
             (void (BRepClass_FClass2dOfFClassifier::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepClass_FClass2dOfFClassifier::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepClass_FClass2dOfFClassifier::Reset),
             R"#(Starts a classification process. The point to classify is the origin of the line <L>. <P> is the original length of the segment on <L> used to compute intersections. <Tol> is the tolerance attached to the line segment in intersections.)#"  , py::arg("L"),  py::arg("P"),  py::arg("Tol")
          )
        .def("Compare",
             (void (BRepClass_FClass2dOfFClassifier::*)( const BRepClass_Edge & ,  const TopAbs_Orientation  ) ) static_cast<void (BRepClass_FClass2dOfFClassifier::*)( const BRepClass_Edge & ,  const TopAbs_Orientation  ) >(&BRepClass_FClass2dOfFClassifier::Compare),
             R"#(Updates the classification process with the edge <E> from the boundary.)#"  , py::arg("E"),  py::arg("Or")
          )
        .def("Parameter",
             (Standard_Real (BRepClass_FClass2dOfFClassifier::*)() const) static_cast<Standard_Real (BRepClass_FClass2dOfFClassifier::*)() const>(&BRepClass_FClass2dOfFClassifier::Parameter),
             R"#(Returns the current value of the parameter.)#" 
          )
        .def("ClosestIntersection",
             (Standard_Integer (BRepClass_FClass2dOfFClassifier::*)() const) static_cast<Standard_Integer (BRepClass_FClass2dOfFClassifier::*)() const>(&BRepClass_FClass2dOfFClassifier::ClosestIntersection),
             R"#(Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm.)#" 
          )
        .def("State",
             (TopAbs_State (BRepClass_FClass2dOfFClassifier::*)() const) static_cast<TopAbs_State (BRepClass_FClass2dOfFClassifier::*)() const>(&BRepClass_FClass2dOfFClassifier::State),
             R"#(Returns the current state of the point.)#" 
          )
        .def("IsHeadOrEnd",
             (Standard_Boolean (BRepClass_FClass2dOfFClassifier::*)() const) static_cast<Standard_Boolean (BRepClass_FClass2dOfFClassifier::*)() const>(&BRepClass_FClass2dOfFClassifier::IsHeadOrEnd),
             R"#(Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // 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("Intersector",
             (BRepClass_Intersector & (BRepClass_FClass2dOfFClassifier::*)() ) static_cast<BRepClass_Intersector & (BRepClass_FClass2dOfFClassifier::*)() >(&BRepClass_FClass2dOfFClassifier::Intersector),
             R"#(Returns the intersecting algorithm.)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<BRepClass_FClassifier , shared_ptr<BRepClass_FClassifier>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< BRepClass_FaceExplorer &,const gp_Pnt2d &,const Standard_Real >()  , py::arg("F"),  py::arg("P"),  py::arg("Tol") )
    // custom constructors
    // methods
        .def("Perform",
             (void (BRepClass_FClassifier::*)( BRepClass_FaceExplorer & ,  const gp_Pnt2d & ,  const Standard_Real  ) ) static_cast<void (BRepClass_FClassifier::*)( BRepClass_FaceExplorer & ,  const gp_Pnt2d & ,  const Standard_Real  ) >(&BRepClass_FClassifier::Perform),
             R"#(Classify the Point P with Tolerance <T> on the face described by <F>.)#"  , py::arg("F"),  py::arg("P"),  py::arg("Tol")
          )
        .def("State",
             (TopAbs_State (BRepClass_FClassifier::*)() const) static_cast<TopAbs_State (BRepClass_FClassifier::*)() const>(&BRepClass_FClassifier::State),
             R"#(Returns the result of the classification.)#" 
          )
        .def("Rejected",
             (Standard_Boolean (BRepClass_FClassifier::*)() const) static_cast<Standard_Boolean (BRepClass_FClassifier::*)() const>(&BRepClass_FClassifier::Rejected),
             R"#(Returns True when the state was computed by a rejection. The state is OUT.)#" 
          )
        .def("NoWires",
             (Standard_Boolean (BRepClass_FClassifier::*)() const) static_cast<Standard_Boolean (BRepClass_FClassifier::*)() const>(&BRepClass_FClassifier::NoWires),
             R"#(Returns True if the face contains no wire. The state is IN.)#" 
          )
        .def("EdgeParameter",
             (Standard_Real (BRepClass_FClassifier::*)() const) static_cast<Standard_Real (BRepClass_FClassifier::*)() const>(&BRepClass_FClassifier::EdgeParameter),
             R"#(Returns the parameter on Edge() used to determine the classification.)#" 
          )
        .def("Position",
             (IntRes2d_Position (BRepClass_FClassifier::*)() const) static_cast<IntRes2d_Position (BRepClass_FClassifier::*)() const>(&BRepClass_FClassifier::Position),
             R"#(Returns the position of the point on the edge returned by Edge.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // 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("Edge",
             (const BRepClass_Edge & (BRepClass_FClassifier::*)() const) static_cast<const BRepClass_Edge & (BRepClass_FClassifier::*)() const>(&BRepClass_FClassifier::Edge),
             R"#(Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepClass_FaceExplorer , shared_ptr<BRepClass_FaceExplorer>  >>(klass)
    // constructors
        .def(py::init< const TopoDS_Face & >()  , py::arg("F") )
    // custom constructors
    // methods
        .def("CheckPoint",
             (Standard_Boolean (BRepClass_FaceExplorer::*)( gp_Pnt2d &  ) ) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)( gp_Pnt2d &  ) >(&BRepClass_FaceExplorer::CheckPoint),
             R"#(Checks the point and change its coords if it is located too far from the bounding box of the face. New Coordinates of the point will be on the line between the point and the center of the bounding box. Returns True if point was not changed.)#"  , py::arg("thePoint")
          )
        .def("Reject",
             (Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Pnt2d &  ) const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Pnt2d &  ) const>(&BRepClass_FaceExplorer::Reject),
             R"#(Should return True if the point is outside a bounding volume of the face.)#"  , py::arg("P")
          )
        .def("Segment",
             (Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) >(&BRepClass_FaceExplorer::Segment),
             R"#(Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections.)#"  , py::arg("P"),  py::arg("L"),  py::arg("Par")
          )
        .def("OtherSegment",
             (Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) >(&BRepClass_FaceExplorer::OtherSegment),
             R"#(Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment.)#"  , py::arg("P"),  py::arg("L"),  py::arg("Par")
          )
        .def("InitWires",
             (void (BRepClass_FaceExplorer::*)() ) static_cast<void (BRepClass_FaceExplorer::*)() >(&BRepClass_FaceExplorer::InitWires),
             R"#(Starts an exploration of the wires.)#" 
          )
        .def("MoreWires",
             (Standard_Boolean (BRepClass_FaceExplorer::*)() const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)() const>(&BRepClass_FaceExplorer::MoreWires),
             R"#(Returns True if there is a current wire.)#" 
          )
        .def("NextWire",
             (void (BRepClass_FaceExplorer::*)() ) static_cast<void (BRepClass_FaceExplorer::*)() >(&BRepClass_FaceExplorer::NextWire),
             R"#(Sets the explorer to the next wire.)#" 
          )
        .def("RejectWire",
             (Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Lin2d & ,  const Standard_Real  ) const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Lin2d & ,  const Standard_Real  ) const>(&BRepClass_FaceExplorer::RejectWire),
             R"#(Returns True if the wire bounding volume does not intersect the segment.)#"  , py::arg("L"),  py::arg("Par")
          )
        .def("InitEdges",
             (void (BRepClass_FaceExplorer::*)() ) static_cast<void (BRepClass_FaceExplorer::*)() >(&BRepClass_FaceExplorer::InitEdges),
             R"#(Starts an exploration of the edges of the current wire.)#" 
          )
        .def("MoreEdges",
             (Standard_Boolean (BRepClass_FaceExplorer::*)() const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)() const>(&BRepClass_FaceExplorer::MoreEdges),
             R"#(Returns True if there is a current edge.)#" 
          )
        .def("NextEdge",
             (void (BRepClass_FaceExplorer::*)() ) static_cast<void (BRepClass_FaceExplorer::*)() >(&BRepClass_FaceExplorer::NextEdge),
             R"#(Sets the explorer to the next edge.)#" 
          )
        .def("RejectEdge",
             (Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Lin2d & ,  const Standard_Real  ) const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)( const gp_Lin2d & ,  const Standard_Real  ) const>(&BRepClass_FaceExplorer::RejectEdge),
             R"#(Returns True if the edge bounding volume does not intersect the segment.)#"  , py::arg("L"),  py::arg("Par")
          )
        .def("CurrentEdge",
             (void (BRepClass_FaceExplorer::*)( BRepClass_Edge & ,  TopAbs_Orientation &  ) const) static_cast<void (BRepClass_FaceExplorer::*)( BRepClass_Edge & ,  TopAbs_Orientation &  ) const>(&BRepClass_FaceExplorer::CurrentEdge),
             R"#(Current edge in current wire and its orientation.)#"  , py::arg("E"),  py::arg("Or")
          )
        .def("MaxTolerance",
             (Standard_Real (BRepClass_FaceExplorer::*)() const) static_cast<Standard_Real (BRepClass_FaceExplorer::*)() const>(&BRepClass_FaceExplorer::MaxTolerance),
             R"#(Returns the maximum tolerance)#" 
          )
        .def("SetMaxTolerance",
             (void (BRepClass_FaceExplorer::*)( const Standard_Real  ) ) static_cast<void (BRepClass_FaceExplorer::*)( const Standard_Real  ) >(&BRepClass_FaceExplorer::SetMaxTolerance),
             R"#(Sets the maximum tolerance at which to start checking in the intersector)#"  , py::arg("theValue")
          )
        .def("UseBndBox",
             (Standard_Boolean (BRepClass_FaceExplorer::*)() const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)() const>(&BRepClass_FaceExplorer::UseBndBox),
             R"#(Returns true if we are using boxes in the intersector)#" 
          )
        .def("SetUseBndBox",
             (void (BRepClass_FaceExplorer::*)( const Standard_Boolean  ) ) static_cast<void (BRepClass_FaceExplorer::*)( const Standard_Boolean  ) >(&BRepClass_FaceExplorer::SetUseBndBox),
             R"#(Sets the status of whether we are using boxes or not)#"  , py::arg("theValue")
          )
        .def("MoreWires",
             (Standard_Boolean (BRepClass_FaceExplorer::*)() const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)() const>(&BRepClass_FaceExplorer::MoreWires),
             R"#(Returns True if there is a current wire.)#" 
          )
        .def("NextWire",
             (void (BRepClass_FaceExplorer::*)() ) static_cast<void (BRepClass_FaceExplorer::*)() >(&BRepClass_FaceExplorer::NextWire),
             R"#(Sets the explorer to the next wire.)#" 
          )
        .def("MoreEdges",
             (Standard_Boolean (BRepClass_FaceExplorer::*)() const) static_cast<Standard_Boolean (BRepClass_FaceExplorer::*)() const>(&BRepClass_FaceExplorer::MoreEdges),
             R"#(Returns True if there is a current edge.)#" 
          )
        .def("NextEdge",
             (void (BRepClass_FaceExplorer::*)() ) static_cast<void (BRepClass_FaceExplorer::*)() >(&BRepClass_FaceExplorer::NextEdge),
             R"#(Sets the explorer to the next edge.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // 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 BRepClass_FacePassiveClassifier from ./opencascade/BRepClass_FacePassiveClassifier.hxx
    klass = m.attr("BRepClass_FacePassiveClassifier");


    // nested enums

    static_cast<py::class_<BRepClass_FacePassiveClassifier , shared_ptr<BRepClass_FacePassiveClassifier>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Reset",
             (void (BRepClass_FacePassiveClassifier::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepClass_FacePassiveClassifier::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real  ) >(&BRepClass_FacePassiveClassifier::Reset),
             R"#(Starts a classification process. The point to classify is the origin of the line <L>. <P> is the original length of the segment on <L> used to compute intersections. <Tol> is the tolerance attached to the line segment in intersections.)#"  , py::arg("L"),  py::arg("P"),  py::arg("Tol")
          )
        .def("Compare",
             (void (BRepClass_FacePassiveClassifier::*)( const BRepClass_Edge & ,  const TopAbs_Orientation  ) ) static_cast<void (BRepClass_FacePassiveClassifier::*)( const BRepClass_Edge & ,  const TopAbs_Orientation  ) >(&BRepClass_FacePassiveClassifier::Compare),
             R"#(Updates the classification process with the edge <E> from the boundary.)#"  , py::arg("E"),  py::arg("Or")
          )
        .def("Parameter",
             (Standard_Real (BRepClass_FacePassiveClassifier::*)() const) static_cast<Standard_Real (BRepClass_FacePassiveClassifier::*)() const>(&BRepClass_FacePassiveClassifier::Parameter),
             R"#(Returns the current value of the parameter.)#" 
          )
        .def("ClosestIntersection",
             (Standard_Integer (BRepClass_FacePassiveClassifier::*)() const) static_cast<Standard_Integer (BRepClass_FacePassiveClassifier::*)() const>(&BRepClass_FacePassiveClassifier::ClosestIntersection),
             R"#(Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm.)#" 
          )
        .def("State",
             (TopAbs_State (BRepClass_FacePassiveClassifier::*)() const) static_cast<TopAbs_State (BRepClass_FacePassiveClassifier::*)() const>(&BRepClass_FacePassiveClassifier::State),
             R"#(Returns the current state of the point.)#" 
          )
        .def("IsHeadOrEnd",
             (Standard_Boolean (BRepClass_FacePassiveClassifier::*)() const) static_cast<Standard_Boolean (BRepClass_FacePassiveClassifier::*)() const>(&BRepClass_FacePassiveClassifier::IsHeadOrEnd),
             R"#(Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // 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("Intersector",
             (BRepClass_Intersector & (BRepClass_FacePassiveClassifier::*)() ) static_cast<BRepClass_Intersector & (BRepClass_FacePassiveClassifier::*)() >(&BRepClass_FacePassiveClassifier::Intersector),
             R"#(Returns the intersecting algorithm.)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<BRepClass_Intersector , shared_ptr<BRepClass_Intersector>  , Geom2dInt_IntConicCurveOfGInter >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Perform",
             (void (BRepClass_Intersector::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real ,  const BRepClass_Edge &  ) ) static_cast<void (BRepClass_Intersector::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real ,  const BRepClass_Edge &  ) >(&BRepClass_Intersector::Perform),
             R"#(Intersect the line segment and the edge.)#"  , py::arg("L"),  py::arg("P"),  py::arg("Tol"),  py::arg("E")
          )
    // methods using call by reference i.s.o. return
        .def("LocalGeometry",
             []( BRepClass_Intersector &self , const BRepClass_Edge & E,const Standard_Real U,gp_Dir2d & T,gp_Dir2d & N ){
                 Standard_Real  C;

                 self.LocalGeometry(E,U,T,N,C);
                 
                 return std::make_tuple(C); },
             R"#(Returns in <T>, <N> and <C> the tangent, normal and curvature of the edge <E> at parameter value <U>.)#"  , py::arg("E"),  py::arg("U"),  py::arg("T"),  py::arg("N")
          )
    // static methods
    // 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 BRepClass_FaceClassifier from ./opencascade/BRepClass_FaceClassifier.hxx
    klass = m.attr("BRepClass_FaceClassifier");


    // nested enums

    static_cast<py::class_<BRepClass_FaceClassifier , shared_ptr<BRepClass_FaceClassifier>  , BRepClass_FClassifier >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< BRepClass_FaceExplorer &,const gp_Pnt2d &,const Standard_Real >()  , py::arg("F"),  py::arg("P"),  py::arg("Tol") )
        .def(py::init< const TopoDS_Face &,const gp_Pnt2d &,const Standard_Real,const Standard_Boolean,const Standard_Real >()  , py::arg("theF"),  py::arg("theP"),  py::arg("theTol"),  py::arg("theUseBndBox")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theGapCheckTol")=static_cast<const Standard_Real>(0.1) )
        .def(py::init< const TopoDS_Face &,const gp_Pnt &,const Standard_Real,const Standard_Boolean,const Standard_Real >()  , py::arg("theF"),  py::arg("theP"),  py::arg("theTol"),  py::arg("theUseBndBox")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theGapCheckTol")=static_cast<const Standard_Real>(0.1) )
    // custom constructors
    // methods
        .def("Perform",
             (void (BRepClass_FaceClassifier::*)( const TopoDS_Face & ,  const gp_Pnt2d & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Real  ) ) static_cast<void (BRepClass_FaceClassifier::*)( const TopoDS_Face & ,  const gp_Pnt2d & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Real  ) >(&BRepClass_FaceClassifier::Perform),
             R"#(Classify the Point P with Tolerance <T> on the face described by <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline)#"  , py::arg("theF"),  py::arg("theP"),  py::arg("theTol"),  py::arg("theUseBndBox")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theGapCheckTol")=static_cast<const Standard_Real>(0.1)
          )
        .def("Perform",
             (void (BRepClass_FaceClassifier::*)( const TopoDS_Face & ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Real  ) ) static_cast<void (BRepClass_FaceClassifier::*)( const TopoDS_Face & ,  const gp_Pnt & ,  const Standard_Real ,  const Standard_Boolean ,  const Standard_Real  ) >(&BRepClass_FaceClassifier::Perform),
             R"#(Classify the Point P with Tolerance <T> on the face described by <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline)#"  , py::arg("theF"),  py::arg("theP"),  py::arg("theTol"),  py::arg("theUseBndBox")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theGapCheckTol")=static_cast<const Standard_Real>(0.1)
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

// functions
// ./opencascade/BRepClass_Edge.hxx
// ./opencascade/BRepClass_FClass2dOfFClassifier.hxx
// ./opencascade/BRepClass_FClassifier.hxx
// ./opencascade/BRepClass_FaceClassifier.hxx
// ./opencascade/BRepClass_FaceExplorer.hxx
// ./opencascade/BRepClass_FacePassiveClassifier.hxx
// ./opencascade/BRepClass_Intersector.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