File: BRepCheck.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 (735 lines) | stat: -rw-r--r-- 40,466 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
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735

// 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 <TopoDS_Wire.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_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_Surface.hxx>
#include <BRep_CurveRepresentation.hxx>
#include <TopoDS_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Face.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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Shell.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Solid.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 <TopoDS_Vertex.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopoDS_Wire.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Edge.hxx>

// module includes
#include <BRepCheck.hxx>
#include <BRepCheck_Analyzer.hxx>
#include <BRepCheck_DataMapOfShapeListOfStatus.hxx>
#include <BRepCheck_Edge.hxx>
#include <BRepCheck_Face.hxx>
#include <BRepCheck_IndexedDataMapOfShapeResult.hxx>
#include <BRepCheck_ListIteratorOfListOfStatus.hxx>
#include <BRepCheck_ListOfStatus.hxx>
#include <BRepCheck_Result.hxx>
#include <BRepCheck_Shell.hxx>
#include <BRepCheck_Solid.hxx>
#include <BRepCheck_Status.hxx>
#include <BRepCheck_Vertex.hxx>
#include <BRepCheck_Wire.hxx>

// template related includes

// ./opencascade/BRepCheck_DataMapOfShapeListOfStatus.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/BRepCheck_ListOfStatus.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/BRepCheck_ListOfStatus.hxx
#include "NCollection_tmpl.hxx"


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

// user-defined inclusion per module

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


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

//Python trampoline classes
    class Py_BRepCheck_Result : public BRepCheck_Result{
    public:
        using BRepCheck_Result::BRepCheck_Result;


        // public pure virtual
        void InContext(const TopoDS_Shape & ContextShape) override { PYBIND11_OVERLOAD_PURE(void,BRepCheck_Result,InContext,ContextShape) };
        void Minimum() override { PYBIND11_OVERLOAD_PURE(void,BRepCheck_Result,Minimum,) };
        void Blind() override { PYBIND11_OVERLOAD_PURE(void,BRepCheck_Result,Blind,) };


        // protected pure virtual


        // private pure virtual

    };

// classes

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

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

    // nested enums

    static_cast<py::class_<BRepCheck , shared_ptr<BRepCheck>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Add_s",
                    (void (*)( NCollection_List<BRepCheck_Status> & ,  const BRepCheck_Status  ) ) static_cast<void (*)( NCollection_List<BRepCheck_Status> & ,  const BRepCheck_Status  ) >(&BRepCheck::Add),
                    R"#(None)#"  , py::arg("List"),  py::arg("Stat")
          )
        .def_static("Print_s",
                    (void (*)( const BRepCheck_Status ,  std::ostream &  ) ) static_cast<void (*)( const BRepCheck_Status ,  std::ostream &  ) >(&BRepCheck::Print),
                    R"#(None)#"  , py::arg("Stat"),  py::arg("OS")
          )
        .def_static("SelfIntersection_s",
                    (Standard_Boolean (*)( const TopoDS_Wire & ,  const TopoDS_Face & ,  TopoDS_Edge & ,  TopoDS_Edge &  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Wire & ,  const TopoDS_Face & ,  TopoDS_Edge & ,  TopoDS_Edge &  ) >(&BRepCheck::SelfIntersection),
                    R"#(None)#"  , py::arg("W"),  py::arg("F"),  py::arg("E1"),  py::arg("E2")
          )
        .def_static("PrecCurve_s",
                    (Standard_Real (*)( const Adaptor3d_Curve &  ) ) static_cast<Standard_Real (*)( const Adaptor3d_Curve &  ) >(&BRepCheck::PrecCurve),
                    R"#(Returns the resolution on the 3d curve)#"  , py::arg("aAC3D")
          )
        .def_static("PrecSurface_s",
                    (Standard_Real (*)( const opencascade::handle<Adaptor3d_Surface> &  ) ) static_cast<Standard_Real (*)( const opencascade::handle<Adaptor3d_Surface> &  ) >(&BRepCheck::PrecSurface),
                    R"#(Returns the resolution on the surface)#"  , py::arg("aAHSurf")
          )
    // 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 BRepCheck_Analyzer from ./opencascade/BRepCheck_Analyzer.hxx
    klass = m.attr("BRepCheck_Analyzer");


    // nested enums

    static_cast<py::class_<BRepCheck_Analyzer , shared_ptr<BRepCheck_Analyzer>  >>(klass)
    // constructors
        .def(py::init< const TopoDS_Shape &,const Standard_Boolean,const Standard_Boolean,const Standard_Boolean >()  , py::arg("S"),  py::arg("GeomControls")=static_cast<const Standard_Boolean>(Standard_True),  py::arg("theIsParallel")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theIsExact")=static_cast<const Standard_Boolean>(Standard_False) )
    // custom constructors
    // methods
        .def("Init",
             (void (BRepCheck_Analyzer::*)( const TopoDS_Shape & ,  const Standard_Boolean  ) ) static_cast<void (BRepCheck_Analyzer::*)( const TopoDS_Shape & ,  const Standard_Boolean  ) >(&BRepCheck_Analyzer::Init),
             R"#(<S> is the shape to control. <GeomControls> If False only topological informaions are checked. The geometricals controls are For a Vertex : BRepCheck_InvalidTolerance NYI For an Edge : BRepCheck_InvalidCurveOnClosedSurface, BRepCheck_InvalidCurveOnSurface, BRepCheck_InvalidSameParameterFlag, BRepCheck_InvalidTolerance NYI For a face : BRepCheck_UnorientableShape, BRepCheck_IntersectingWires, BRepCheck_InvalidTolerance NYI For a wire : BRepCheck_SelfIntersectingWire)#"  , py::arg("S"),  py::arg("GeomControls")=static_cast<const Standard_Boolean>(Standard_True)
          )
        .def("SetExactMethod",
             (void (BRepCheck_Analyzer::*)( const Standard_Boolean  ) ) static_cast<void (BRepCheck_Analyzer::*)( const Standard_Boolean  ) >(&BRepCheck_Analyzer::SetExactMethod),
             R"#(Sets method to calculate distance: Calculating in finite number of points (if theIsExact is false, faster, but possible not correct result) or exact calculating by using BRepLib_CheckCurveOnSurface class (if theIsExact is true, slowly, but more correctly). Exact method is used only when edge is SameParameter. Default method is calculating in finite number of points)#"  , py::arg("theIsExact")
          )
        .def("IsExactMethod",
             (Standard_Boolean (BRepCheck_Analyzer::*)() ) static_cast<Standard_Boolean (BRepCheck_Analyzer::*)() >(&BRepCheck_Analyzer::IsExactMethod),
             R"#(Returns true if exact method selected)#" 
          )
        .def("SetParallel",
             (void (BRepCheck_Analyzer::*)( const Standard_Boolean  ) ) static_cast<void (BRepCheck_Analyzer::*)( const Standard_Boolean  ) >(&BRepCheck_Analyzer::SetParallel),
             R"#(Sets parallel flag)#"  , py::arg("theIsParallel")
          )
        .def("IsParallel",
             (Standard_Boolean (BRepCheck_Analyzer::*)() ) static_cast<Standard_Boolean (BRepCheck_Analyzer::*)() >(&BRepCheck_Analyzer::IsParallel),
             R"#(Returns true if parallel flag is set)#" 
          )
        .def("IsValid",
             (Standard_Boolean (BRepCheck_Analyzer::*)( const TopoDS_Shape &  ) const) static_cast<Standard_Boolean (BRepCheck_Analyzer::*)( const TopoDS_Shape &  ) const>(&BRepCheck_Analyzer::IsValid),
             R"#(<S> is a subshape of the original shape. Returns <STandard_True> if no default has been detected on <S> and any of its subshape.)#"  , py::arg("S")
          )
        .def("IsValid",
             (Standard_Boolean (BRepCheck_Analyzer::*)() const) static_cast<Standard_Boolean (BRepCheck_Analyzer::*)() const>(&BRepCheck_Analyzer::IsValid),
             R"#(Returns true if no defect is detected on the shape S or any of its subshapes. Returns true if the shape S is valid. This function checks whether a given shape is valid by checking that: - the topology is correct - parameterization of edges in particular is correct. For the topology to be correct, the following conditions must be satisfied: - edges should have at least two vertices if they are not degenerate edges. The vertices should be within the range of the bounding edges at the tolerance specified in the vertex, - edges should share at least one face. The representation of the edges should be within the tolerance criterion assigned to them. - wires defining a face should not self-intersect and should be closed, - there should be one wire which contains all other wires inside a face, - wires should be correctly oriented with respect to each of the edges, - faces should be correctly oriented, in particular with respect to adjacent faces if these faces define a solid, - shells defining a solid should be closed. There should be one enclosing shell if the shape is a solid; To check parameterization of edge, there are 2 approaches depending on the edge?s contextual situation. - if the edge is either single, or it is in the context of a wire or a compound, its parameterization is defined by the parameterization of its 3D curve and is considered as valid. - If the edge is in the context of a face, it should have SameParameter and SameRange flags set to Standard_True. To check these flags, you should call the function BRep_Tool::SameParameter and BRep_Tool::SameRange for an edge. If at least one of these flags is set to Standard_False, the edge is considered as invalid without any additional check. If the edge is contained by a face, and it has SameParameter and SameRange flags set to Standard_True, IsValid checks whether representation of the edge on face, in context of which the edge is considered, has the same parameterization up to the tolerance value coded on the edge. For a given parameter t on the edge having C as a 3D curve and one PCurve P on a surface S (base surface of the reference face), this checks that |C(t) - S(P(t))| is less than or equal to tolerance, where tolerance is the tolerance value coded on the edge.)#" 
          )
        .def("Result",
             (const opencascade::handle<BRepCheck_Result> & (BRepCheck_Analyzer::*)( const TopoDS_Shape &  ) const) static_cast<const opencascade::handle<BRepCheck_Result> & (BRepCheck_Analyzer::*)( const TopoDS_Shape &  ) const>(&BRepCheck_Analyzer::Result),
             R"#(None)#"  , py::arg("theSubS")
          )
    // 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 BRepCheck_Result from ./opencascade/BRepCheck_Result.hxx
    klass = m.attr("BRepCheck_Result");


    // nested enums

    static_cast<py::class_<BRepCheck_Result ,opencascade::handle<BRepCheck_Result> ,Py_BRepCheck_Result , Standard_Transient >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("Init",
             (void (BRepCheck_Result::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Result::*)( const TopoDS_Shape &  ) >(&BRepCheck_Result::Init),
             R"#(None)#"  , py::arg("S")
          )
        .def("InContext",
             (void (BRepCheck_Result::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Result::*)( const TopoDS_Shape &  ) >(&BRepCheck_Result::InContext),
             R"#(None)#"  , py::arg("ContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Result::*)() ) static_cast<void (BRepCheck_Result::*)() >(&BRepCheck_Result::Minimum),
             R"#(None)#" 
          )
        .def("Blind",
             (void (BRepCheck_Result::*)() ) static_cast<void (BRepCheck_Result::*)() >(&BRepCheck_Result::Blind),
             R"#(None)#" 
          )
        .def("SetFailStatus",
             (void (BRepCheck_Result::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Result::*)( const TopoDS_Shape &  ) >(&BRepCheck_Result::SetFailStatus),
             R"#(None)#"  , py::arg("S")
          )
        .def("IsMinimum",
             (Standard_Boolean (BRepCheck_Result::*)() const) static_cast<Standard_Boolean (BRepCheck_Result::*)() const>(&BRepCheck_Result::IsMinimum),
             R"#(None)#" 
          )
        .def("IsBlind",
             (Standard_Boolean (BRepCheck_Result::*)() const) static_cast<Standard_Boolean (BRepCheck_Result::*)() const>(&BRepCheck_Result::IsBlind),
             R"#(None)#" 
          )
        .def("InitContextIterator",
             (void (BRepCheck_Result::*)() ) static_cast<void (BRepCheck_Result::*)() >(&BRepCheck_Result::InitContextIterator),
             R"#(None)#" 
          )
        .def("MoreShapeInContext",
             (Standard_Boolean (BRepCheck_Result::*)() const) static_cast<Standard_Boolean (BRepCheck_Result::*)() const>(&BRepCheck_Result::MoreShapeInContext),
             R"#(None)#" 
          )
        .def("NextShapeInContext",
             (void (BRepCheck_Result::*)() ) static_cast<void (BRepCheck_Result::*)() >(&BRepCheck_Result::NextShapeInContext),
             R"#(None)#" 
          )
        .def("SetParallel",
             (void (BRepCheck_Result::*)( Standard_Boolean  ) ) static_cast<void (BRepCheck_Result::*)( Standard_Boolean  ) >(&BRepCheck_Result::SetParallel),
             R"#(None)#"  , py::arg("theIsParallel")
          )
        .def("IsStatusOnShape",
             (Standard_Boolean (BRepCheck_Result::*)( const TopoDS_Shape &  ) const) static_cast<Standard_Boolean (BRepCheck_Result::*)( const TopoDS_Shape &  ) const>(&BRepCheck_Result::IsStatusOnShape),
             R"#(None)#"  , py::arg("theShape")
          )
        .def("StatusOnShape",
             (const BRepCheck_ListOfStatus & (BRepCheck_Result::*)( const TopoDS_Shape &  ) const) static_cast<const BRepCheck_ListOfStatus & (BRepCheck_Result::*)( const TopoDS_Shape &  ) const>(&BRepCheck_Result::StatusOnShape),
             R"#(None)#"  , py::arg("theShape")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Result::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Result::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("Status",
             (const BRepCheck_ListOfStatus & (BRepCheck_Result::*)() const) static_cast<const BRepCheck_ListOfStatus & (BRepCheck_Result::*)() const>(&BRepCheck_Result::Status),
             R"#(None)#"
             
         )
       .def("ContextualShape",
             (const TopoDS_Shape & (BRepCheck_Result::*)() const) static_cast<const TopoDS_Shape & (BRepCheck_Result::*)() const>(&BRepCheck_Result::ContextualShape),
             R"#(None)#"
             
         )
       .def("StatusOnShape",
             (const BRepCheck_ListOfStatus & (BRepCheck_Result::*)() const) static_cast<const BRepCheck_ListOfStatus & (BRepCheck_Result::*)() const>(&BRepCheck_Result::StatusOnShape),
             R"#(None)#"
             
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (BRepCheck_Result::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Result::*)() const>(&BRepCheck_Result::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepCheck_Edge ,opencascade::handle<BRepCheck_Edge>  , BRepCheck_Result >>(klass)
    // constructors
        .def(py::init< const TopoDS_Edge & >()  , py::arg("E") )
    // custom constructors
    // methods
        .def("InContext",
             (void (BRepCheck_Edge::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Edge::*)( const TopoDS_Shape &  ) >(&BRepCheck_Edge::InContext),
             R"#(None)#"  , py::arg("ContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Edge::*)() ) static_cast<void (BRepCheck_Edge::*)() >(&BRepCheck_Edge::Minimum),
             R"#(None)#" 
          )
        .def("Blind",
             (void (BRepCheck_Edge::*)() ) static_cast<void (BRepCheck_Edge::*)() >(&BRepCheck_Edge::Blind),
             R"#(None)#" 
          )
        .def("GeometricControls",
             (Standard_Boolean (BRepCheck_Edge::*)() const) static_cast<Standard_Boolean (BRepCheck_Edge::*)() const>(&BRepCheck_Edge::GeometricControls),
             R"#(None)#" 
          )
        .def("GeometricControls",
             (void (BRepCheck_Edge::*)( const Standard_Boolean  ) ) static_cast<void (BRepCheck_Edge::*)( const Standard_Boolean  ) >(&BRepCheck_Edge::GeometricControls),
             R"#(None)#"  , py::arg("B")
          )
        .def("Tolerance",
             (Standard_Real (BRepCheck_Edge::*)() ) static_cast<Standard_Real (BRepCheck_Edge::*)() >(&BRepCheck_Edge::Tolerance),
             R"#(None)#" 
          )
        .def("SetStatus",
             (void (BRepCheck_Edge::*)( const BRepCheck_Status  ) ) static_cast<void (BRepCheck_Edge::*)( const BRepCheck_Status  ) >(&BRepCheck_Edge::SetStatus),
             R"#(Sets status of Edge;)#"  , py::arg("theStatus")
          )
        .def("SetExactMethod",
             (void (BRepCheck_Edge::*)( Standard_Boolean  ) ) static_cast<void (BRepCheck_Edge::*)( Standard_Boolean  ) >(&BRepCheck_Edge::SetExactMethod),
             R"#(Sets method to calculate distance: Calculating in finite number of points (if theIsExact is false, faster, but possible not correct result) or exact calculating by using BRepLib_CheckCurveOnSurface class (if theIsExact is true, slowly, but more correctly). Exact method is used only when edge is SameParameter. Default method is calculating in finite number of points)#"  , py::arg("theIsExact")
          )
        .def("IsExactMethod",
             (Standard_Boolean (BRepCheck_Edge::*)() ) static_cast<Standard_Boolean (BRepCheck_Edge::*)() >(&BRepCheck_Edge::IsExactMethod),
             R"#(Returns true if exact method selected)#" 
          )
        .def("CheckPolygonOnTriangulation",
             (BRepCheck_Status (BRepCheck_Edge::*)( const TopoDS_Edge &  ) ) static_cast<BRepCheck_Status (BRepCheck_Edge::*)( const TopoDS_Edge &  ) >(&BRepCheck_Edge::CheckPolygonOnTriangulation),
             R"#(Checks, if polygon on triangulation of heEdge is out of 3D-curve of this edge.)#"  , py::arg("theEdge")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Edge::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Edge::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> & (BRepCheck_Edge::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Edge::*)() const>(&BRepCheck_Edge::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepCheck_Face ,opencascade::handle<BRepCheck_Face>  , BRepCheck_Result >>(klass)
    // constructors
        .def(py::init< const TopoDS_Face & >()  , py::arg("F") )
    // custom constructors
    // methods
        .def("InContext",
             (void (BRepCheck_Face::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Face::*)( const TopoDS_Shape &  ) >(&BRepCheck_Face::InContext),
             R"#(None)#"  , py::arg("ContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Face::*)() ) static_cast<void (BRepCheck_Face::*)() >(&BRepCheck_Face::Minimum),
             R"#(None)#" 
          )
        .def("Blind",
             (void (BRepCheck_Face::*)() ) static_cast<void (BRepCheck_Face::*)() >(&BRepCheck_Face::Blind),
             R"#(None)#" 
          )
        .def("IntersectWires",
             (BRepCheck_Status (BRepCheck_Face::*)( const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Face::*)( const Standard_Boolean  ) >(&BRepCheck_Face::IntersectWires),
             R"#(None)#"  , py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("ClassifyWires",
             (BRepCheck_Status (BRepCheck_Face::*)( const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Face::*)( const Standard_Boolean  ) >(&BRepCheck_Face::ClassifyWires),
             R"#(None)#"  , py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("OrientationOfWires",
             (BRepCheck_Status (BRepCheck_Face::*)( const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Face::*)( const Standard_Boolean  ) >(&BRepCheck_Face::OrientationOfWires),
             R"#(None)#"  , py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("SetUnorientable",
             (void (BRepCheck_Face::*)() ) static_cast<void (BRepCheck_Face::*)() >(&BRepCheck_Face::SetUnorientable),
             R"#(None)#" 
          )
        .def("SetStatus",
             (void (BRepCheck_Face::*)( const BRepCheck_Status  ) ) static_cast<void (BRepCheck_Face::*)( const BRepCheck_Status  ) >(&BRepCheck_Face::SetStatus),
             R"#(Sets status of Face;)#"  , py::arg("theStatus")
          )
        .def("IsUnorientable",
             (Standard_Boolean (BRepCheck_Face::*)() const) static_cast<Standard_Boolean (BRepCheck_Face::*)() const>(&BRepCheck_Face::IsUnorientable),
             R"#(None)#" 
          )
        .def("GeometricControls",
             (Standard_Boolean (BRepCheck_Face::*)() const) static_cast<Standard_Boolean (BRepCheck_Face::*)() const>(&BRepCheck_Face::GeometricControls),
             R"#(None)#" 
          )
        .def("GeometricControls",
             (void (BRepCheck_Face::*)( const Standard_Boolean  ) ) static_cast<void (BRepCheck_Face::*)( const Standard_Boolean  ) >(&BRepCheck_Face::GeometricControls),
             R"#(None)#"  , py::arg("B")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Face::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Face::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> & (BRepCheck_Face::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Face::*)() const>(&BRepCheck_Face::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepCheck_Shell ,opencascade::handle<BRepCheck_Shell>  , BRepCheck_Result >>(klass)
    // constructors
        .def(py::init< const TopoDS_Shell & >()  , py::arg("S") )
    // custom constructors
    // methods
        .def("InContext",
             (void (BRepCheck_Shell::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Shell::*)( const TopoDS_Shape &  ) >(&BRepCheck_Shell::InContext),
             R"#(None)#"  , py::arg("ContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Shell::*)() ) static_cast<void (BRepCheck_Shell::*)() >(&BRepCheck_Shell::Minimum),
             R"#(None)#" 
          )
        .def("Blind",
             (void (BRepCheck_Shell::*)() ) static_cast<void (BRepCheck_Shell::*)() >(&BRepCheck_Shell::Blind),
             R"#(None)#" 
          )
        .def("Closed",
             (BRepCheck_Status (BRepCheck_Shell::*)( const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Shell::*)( const Standard_Boolean  ) >(&BRepCheck_Shell::Closed),
             R"#(Checks if the oriented faces of the shell give a closed shell. If the wire is closed, returns BRepCheck_NoError.If <Update> is set to Standard_True, registers the status in the list.)#"  , py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("Orientation",
             (BRepCheck_Status (BRepCheck_Shell::*)( const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Shell::*)( const Standard_Boolean  ) >(&BRepCheck_Shell::Orientation),
             R"#(Checks if the oriented faces of the shell are correctly oriented. An internal call is made to the method Closed. If <Update> is set to Standard_True, registers the status in the list.)#"  , py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("SetUnorientable",
             (void (BRepCheck_Shell::*)() ) static_cast<void (BRepCheck_Shell::*)() >(&BRepCheck_Shell::SetUnorientable),
             R"#(None)#" 
          )
        .def("IsUnorientable",
             (Standard_Boolean (BRepCheck_Shell::*)() const) static_cast<Standard_Boolean (BRepCheck_Shell::*)() const>(&BRepCheck_Shell::IsUnorientable),
             R"#(None)#" 
          )
        .def("NbConnectedSet",
             (Standard_Integer (BRepCheck_Shell::*)( NCollection_List<TopoDS_Shape> &  ) ) static_cast<Standard_Integer (BRepCheck_Shell::*)( NCollection_List<TopoDS_Shape> &  ) >(&BRepCheck_Shell::NbConnectedSet),
             R"#(None)#"  , py::arg("theSets")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Shell::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Shell::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> & (BRepCheck_Shell::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Shell::*)() const>(&BRepCheck_Shell::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepCheck_Solid ,opencascade::handle<BRepCheck_Solid>  , BRepCheck_Result >>(klass)
    // constructors
        .def(py::init< const TopoDS_Solid & >()  , py::arg("theS") )
    // custom constructors
    // methods
        .def("InContext",
             (void (BRepCheck_Solid::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Solid::*)( const TopoDS_Shape &  ) >(&BRepCheck_Solid::InContext),
             R"#(Checks the solid in context of the shape <theContextShape>)#"  , py::arg("theContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Solid::*)() ) static_cast<void (BRepCheck_Solid::*)() >(&BRepCheck_Solid::Minimum),
             R"#(Checks the solid per se.)#" 
          )
        .def("Blind",
             (void (BRepCheck_Solid::*)() ) static_cast<void (BRepCheck_Solid::*)() >(&BRepCheck_Solid::Blind),
             R"#(see the parent class for more details)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Solid::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Solid::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> & (BRepCheck_Solid::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Solid::*)() const>(&BRepCheck_Solid::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepCheck_Vertex ,opencascade::handle<BRepCheck_Vertex>  , BRepCheck_Result >>(klass)
    // constructors
        .def(py::init< const TopoDS_Vertex & >()  , py::arg("V") )
    // custom constructors
    // methods
        .def("InContext",
             (void (BRepCheck_Vertex::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Vertex::*)( const TopoDS_Shape &  ) >(&BRepCheck_Vertex::InContext),
             R"#(None)#"  , py::arg("ContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Vertex::*)() ) static_cast<void (BRepCheck_Vertex::*)() >(&BRepCheck_Vertex::Minimum),
             R"#(None)#" 
          )
        .def("Blind",
             (void (BRepCheck_Vertex::*)() ) static_cast<void (BRepCheck_Vertex::*)() >(&BRepCheck_Vertex::Blind),
             R"#(None)#" 
          )
        .def("Tolerance",
             (Standard_Real (BRepCheck_Vertex::*)() ) static_cast<Standard_Real (BRepCheck_Vertex::*)() >(&BRepCheck_Vertex::Tolerance),
             R"#(None)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Vertex::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Vertex::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> & (BRepCheck_Vertex::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Vertex::*)() const>(&BRepCheck_Vertex::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepCheck_Wire ,opencascade::handle<BRepCheck_Wire>  , BRepCheck_Result >>(klass)
    // constructors
        .def(py::init< const TopoDS_Wire & >()  , py::arg("W") )
    // custom constructors
    // methods
        .def("InContext",
             (void (BRepCheck_Wire::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepCheck_Wire::*)( const TopoDS_Shape &  ) >(&BRepCheck_Wire::InContext),
             R"#(if <ContextShape> is a face, consequently checks SelfIntersect(), Closed(), Orientation() and Closed2d until faulty is found)#"  , py::arg("ContextShape")
          )
        .def("Minimum",
             (void (BRepCheck_Wire::*)() ) static_cast<void (BRepCheck_Wire::*)() >(&BRepCheck_Wire::Minimum),
             R"#(checks that the wire is not empty and "connex". Called by constructor)#" 
          )
        .def("Blind",
             (void (BRepCheck_Wire::*)() ) static_cast<void (BRepCheck_Wire::*)() >(&BRepCheck_Wire::Blind),
             R"#(Does nothing)#" 
          )
        .def("Closed",
             (BRepCheck_Status (BRepCheck_Wire::*)( const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Wire::*)( const Standard_Boolean  ) >(&BRepCheck_Wire::Closed),
             R"#(Checks if the oriented edges of the wire give a closed wire. If the wire is closed, returns BRepCheck_NoError. Warning : if the first and last edge are infinite, the wire will be considered as a closed one. If <Update> is set to Standard_True, registers the status in the list. May return (and registers): **BRepCheck_NotConnected, if wire is not topologically closed **BRepCheck_RedundantEdge, if an edge is in wire more than 3 times or in case of 2 occurrences if not with FORWARD and REVERSED orientation. **BRepCheck_NoError)#"  , py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("Closed2d",
             (BRepCheck_Status (BRepCheck_Wire::*)( const TopoDS_Face & ,  const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Wire::*)( const TopoDS_Face & ,  const Standard_Boolean  ) >(&BRepCheck_Wire::Closed2d),
             R"#(Checks if edges of the wire give a wire closed in 2d space. Returns BRepCheck_NoError, or BRepCheck_NotClosed If <Update> is set to Standard_True, registers the status in the list.)#"  , py::arg("F"),  py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("Orientation",
             (BRepCheck_Status (BRepCheck_Wire::*)( const TopoDS_Face & ,  const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Wire::*)( const TopoDS_Face & ,  const Standard_Boolean  ) >(&BRepCheck_Wire::Orientation),
             R"#(Checks if the oriented edges of the wire are correctly oriented. An internal call is made to the method Closed. If no face exists, call the method with a null face (TopoDS_face()). If <Update> is set to Standard_True, registers the status in the list. May return (and registers): BRepCheck_InvalidDegeneratedFlag, BRepCheck_BadOrientationOfSubshape, BRepCheck_NotClosed, BRepCheck_NoError)#"  , py::arg("F"),  py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("SelfIntersect",
             (BRepCheck_Status (BRepCheck_Wire::*)( const TopoDS_Face & ,  TopoDS_Edge & ,  TopoDS_Edge & ,  const Standard_Boolean  ) ) static_cast<BRepCheck_Status (BRepCheck_Wire::*)( const TopoDS_Face & ,  TopoDS_Edge & ,  TopoDS_Edge & ,  const Standard_Boolean  ) >(&BRepCheck_Wire::SelfIntersect),
             R"#(Checks if the wire intersect itself on the face <F>. <E1> and <E2> are the first intersecting edges found. <E2> may be a null edge when a self-intersecting edge is found.If <Update> is set to Standard_True, registers the status in the list. May return (and register): BRepCheck_EmptyWire, BRepCheck_SelfIntersectingWire, BRepCheck_NoCurveOnSurface, BRepCheck_NoError)#"  , py::arg("F"),  py::arg("E1"),  py::arg("E2"),  py::arg("Update")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("GeometricControls",
             (Standard_Boolean (BRepCheck_Wire::*)() const) static_cast<Standard_Boolean (BRepCheck_Wire::*)() const>(&BRepCheck_Wire::GeometricControls),
             R"#(report SelfIntersect() check would be (is) done)#" 
          )
        .def("GeometricControls",
             (void (BRepCheck_Wire::*)( const Standard_Boolean  ) ) static_cast<void (BRepCheck_Wire::*)( const Standard_Boolean  ) >(&BRepCheck_Wire::GeometricControls),
             R"#(set SelfIntersect() to be checked)#"  , py::arg("B")
          )
        .def("SetStatus",
             (void (BRepCheck_Wire::*)( const BRepCheck_Status  ) ) static_cast<void (BRepCheck_Wire::*)( const BRepCheck_Status  ) >(&BRepCheck_Wire::SetStatus),
             R"#(Sets status of Wire;)#"  , py::arg("theStatus")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepCheck_Wire::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepCheck_Wire::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> & (BRepCheck_Wire::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepCheck_Wire::*)() const>(&BRepCheck_Wire::DynamicType),
             R"#(None)#"
             
         )
;

// functions
// ./opencascade/BRepCheck.hxx
// ./opencascade/BRepCheck_Analyzer.hxx
// ./opencascade/BRepCheck_DataMapOfShapeListOfStatus.hxx
// ./opencascade/BRepCheck_Edge.hxx
// ./opencascade/BRepCheck_Face.hxx
// ./opencascade/BRepCheck_IndexedDataMapOfShapeResult.hxx
// ./opencascade/BRepCheck_ListIteratorOfListOfStatus.hxx
// ./opencascade/BRepCheck_ListOfStatus.hxx
// ./opencascade/BRepCheck_Result.hxx
// ./opencascade/BRepCheck_Shell.hxx
// ./opencascade/BRepCheck_Solid.hxx
// ./opencascade/BRepCheck_Status.hxx
// ./opencascade/BRepCheck_Vertex.hxx
// ./opencascade/BRepCheck_Wire.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_List<BRepCheck_Status>(m,"BRepCheck_ListOfStatus");


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post