File: BRepExtrema.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 (1272 lines) | stat: -rw-r--r-- 80,709 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
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272

// 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 <Bnd_Box.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <TopoDS_Edge.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <TopoDS_Vertex.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <TopoDS_Vertex.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_Shape.hxx>
#include <gp_Pnt.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 <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>

// module includes
#include <BRepExtrema_DistanceSS.hxx>
#include <BRepExtrema_DistShapeShape.hxx>
#include <BRepExtrema_ElementFilter.hxx>
#include <BRepExtrema_ExtCC.hxx>
#include <BRepExtrema_ExtCF.hxx>
#include <BRepExtrema_ExtFF.hxx>
#include <BRepExtrema_ExtPC.hxx>
#include <BRepExtrema_ExtPF.hxx>
#include <BRepExtrema_MapOfIntegerPackedMapOfInteger.hxx>
#include <BRepExtrema_OverlapTool.hxx>
#include <BRepExtrema_Poly.hxx>
#include <BRepExtrema_ProximityDistTool.hxx>
#include <BRepExtrema_ProximityValueTool.hxx>
#include <BRepExtrema_SelfIntersection.hxx>
#include <BRepExtrema_SeqOfSolution.hxx>
#include <BRepExtrema_ShapeProximity.hxx>
#include <BRepExtrema_SolutionElem.hxx>
#include <BRepExtrema_SupportType.hxx>
#include <BRepExtrema_TriangleSet.hxx>
#include <BRepExtrema_UnCompatibleShape.hxx>

// template related includes

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

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


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

// user-defined inclusion per module

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


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

//Python trampoline classes

// classes

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


    // nested enums

    static_cast<py::class_<BRepExtrema_DistShapeShape , shared_ptr<BRepExtrema_DistShapeShape>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Shape &,const TopoDS_Shape &,const Extrema_ExtFlag,const Extrema_ExtAlgo,const Message_ProgressRange & >()  , py::arg("Shape1"),  py::arg("Shape2"),  py::arg("F")=static_cast<const Extrema_ExtFlag>(Extrema_ExtFlag_MINMAX),  py::arg("A")=static_cast<const Extrema_ExtAlgo>(Extrema_ExtAlgo_Grad),  py::arg("theRange")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( )) )
        .def(py::init< const TopoDS_Shape &,const TopoDS_Shape &,const Standard_Real,const Extrema_ExtFlag,const Extrema_ExtAlgo,const Message_ProgressRange & >()  , py::arg("Shape1"),  py::arg("Shape2"),  py::arg("theDeflection"),  py::arg("F")=static_cast<const Extrema_ExtFlag>(Extrema_ExtFlag_MINMAX),  py::arg("A")=static_cast<const Extrema_ExtAlgo>(Extrema_ExtAlgo_Grad),  py::arg("theRange")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( )) )
    // custom constructors
    // methods
        .def("SetDeflection",
             (void (BRepExtrema_DistShapeShape::*)( const Standard_Real  ) ) static_cast<void (BRepExtrema_DistShapeShape::*)( const Standard_Real  ) >(&BRepExtrema_DistShapeShape::SetDeflection),
             R"#(Sets deflection to computation of the minimum distance)#"  , py::arg("theDeflection")
          )
        .def("LoadS1",
             (void (BRepExtrema_DistShapeShape::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepExtrema_DistShapeShape::*)( const TopoDS_Shape &  ) >(&BRepExtrema_DistShapeShape::LoadS1),
             R"#(load first shape into extrema)#"  , py::arg("Shape1")
          )
        .def("LoadS2",
             (void (BRepExtrema_DistShapeShape::*)( const TopoDS_Shape &  ) ) static_cast<void (BRepExtrema_DistShapeShape::*)( const TopoDS_Shape &  ) >(&BRepExtrema_DistShapeShape::LoadS2),
             R"#(load second shape into extrema)#"  , py::arg("Shape1")
          )
        .def("Perform",
             (Standard_Boolean (BRepExtrema_DistShapeShape::*)( const Message_ProgressRange &  ) ) static_cast<Standard_Boolean (BRepExtrema_DistShapeShape::*)( const Message_ProgressRange &  ) >(&BRepExtrema_DistShapeShape::Perform),
             R"#(computation of the minimum distance (value and couple of points). Parameter theDeflection is used to specify a maximum deviation of extreme distances from the minimum one. Returns IsDone status. theRange - the progress indicator of algorithm)#"  , py::arg("theRange")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_DistShapeShape::*)() const) static_cast<Standard_Boolean (BRepExtrema_DistShapeShape::*)() const>(&BRepExtrema_DistShapeShape::IsDone),
             R"#(True if the minimum distance is found.)#" 
          )
        .def("NbSolution",
             (Standard_Integer (BRepExtrema_DistShapeShape::*)() const) static_cast<Standard_Integer (BRepExtrema_DistShapeShape::*)() const>(&BRepExtrema_DistShapeShape::NbSolution),
             R"#(Returns the number of solutions satisfying the minimum distance.)#" 
          )
        .def("Value",
             (Standard_Real (BRepExtrema_DistShapeShape::*)() const) static_cast<Standard_Real (BRepExtrema_DistShapeShape::*)() const>(&BRepExtrema_DistShapeShape::Value),
             R"#(Returns the value of the minimum distance.)#" 
          )
        .def("InnerSolution",
             (Standard_Boolean (BRepExtrema_DistShapeShape::*)() const) static_cast<Standard_Boolean (BRepExtrema_DistShapeShape::*)() const>(&BRepExtrema_DistShapeShape::InnerSolution),
             R"#(True if one of the shapes is a solid and the other shape is completely or partially inside the solid.)#" 
          )
        .def("PointOnShape1",
             (const gp_Pnt & (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const) static_cast<const gp_Pnt & (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const>(&BRepExtrema_DistShapeShape::PointOnShape1),
             R"#(Returns the Point corresponding to the <N>th solution on the first Shape)#"  , py::arg("N")
          )
        .def("PointOnShape2",
             (const gp_Pnt & (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const) static_cast<const gp_Pnt & (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const>(&BRepExtrema_DistShapeShape::PointOnShape2),
             R"#(Returns the Point corresponding to the <N>th solution on the second Shape)#"  , py::arg("N")
          )
        .def("SupportTypeShape1",
             (BRepExtrema_SupportType (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const) static_cast<BRepExtrema_SupportType (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const>(&BRepExtrema_DistShapeShape::SupportTypeShape1),
             R"#(gives the type of the support where the Nth solution on the first shape is situated: IsVertex => the Nth solution on the first shape is a Vertex IsOnEdge => the Nth soluion on the first shape is on a Edge IsInFace => the Nth solution on the first shape is inside a face the corresponding support is obtained by the method SupportOnShape1)#"  , py::arg("N")
          )
        .def("SupportTypeShape2",
             (BRepExtrema_SupportType (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const) static_cast<BRepExtrema_SupportType (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const>(&BRepExtrema_DistShapeShape::SupportTypeShape2),
             R"#(gives the type of the support where the Nth solution on the second shape is situated: IsVertex => the Nth solution on the second shape is a Vertex IsOnEdge => the Nth soluion on the secondt shape is on a Edge IsInFace => the Nth solution on the second shape is inside a face the corresponding support is obtained by the method SupportOnShape2)#"  , py::arg("N")
          )
        .def("SupportOnShape1",
             (TopoDS_Shape (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const) static_cast<TopoDS_Shape (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const>(&BRepExtrema_DistShapeShape::SupportOnShape1),
             R"#(gives the support where the Nth solution on the first shape is situated. This support can be a Vertex, an Edge or a Face.)#"  , py::arg("N")
          )
        .def("SupportOnShape2",
             (TopoDS_Shape (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const) static_cast<TopoDS_Shape (BRepExtrema_DistShapeShape::*)( const Standard_Integer  ) const>(&BRepExtrema_DistShapeShape::SupportOnShape2),
             R"#(gives the support where the Nth solution on the second shape is situated. This support can be a Vertex, an Edge or a Face.)#"  , py::arg("N")
          )
        .def("Dump",
             (void (BRepExtrema_DistShapeShape::*)( std::ostream &  ) const) static_cast<void (BRepExtrema_DistShapeShape::*)( std::ostream &  ) const>(&BRepExtrema_DistShapeShape::Dump),
             R"#(Prints on the stream o information on the current state of the object.)#"  , py::arg("o")
          )
        .def("SetFlag",
             (void (BRepExtrema_DistShapeShape::*)( const Extrema_ExtFlag  ) ) static_cast<void (BRepExtrema_DistShapeShape::*)( const Extrema_ExtFlag  ) >(&BRepExtrema_DistShapeShape::SetFlag),
             R"#(Sets unused parameter Obsolete)#"  , py::arg("F")
          )
        .def("SetAlgo",
             (void (BRepExtrema_DistShapeShape::*)( const Extrema_ExtAlgo  ) ) static_cast<void (BRepExtrema_DistShapeShape::*)( const Extrema_ExtAlgo  ) >(&BRepExtrema_DistShapeShape::SetAlgo),
             R"#(Sets unused parameter Obsolete)#"  , py::arg("A")
          )
        .def("SetMultiThread",
             (void (BRepExtrema_DistShapeShape::*)( Standard_Boolean  ) ) static_cast<void (BRepExtrema_DistShapeShape::*)( Standard_Boolean  ) >(&BRepExtrema_DistShapeShape::SetMultiThread),
             R"#(If isMultiThread == Standard_True then computation will be performed in parallel.)#"  , py::arg("theIsMultiThread")
          )
        .def("IsMultiThread",
             (Standard_Boolean (BRepExtrema_DistShapeShape::*)() const) static_cast<Standard_Boolean (BRepExtrema_DistShapeShape::*)() const>(&BRepExtrema_DistShapeShape::IsMultiThread),
             R"#(Returns Standard_True then computation will be performed in parallel Default value is Standard_False)#" 
          )
    // methods using call by reference i.s.o. return
        .def("ParOnEdgeS1",
             []( BRepExtrema_DistShapeShape &self , const Standard_Integer N ){
                 Standard_Real  t;

                 self.ParOnEdgeS1(N,t);
                 
                 return std::make_tuple(t); },
             R"#(gives the corresponding parameter t if the Nth solution is situated on an Edge of the first shape)#"  , py::arg("N")
          )
        .def("ParOnEdgeS2",
             []( BRepExtrema_DistShapeShape &self , const Standard_Integer N ){
                 Standard_Real  t;

                 self.ParOnEdgeS2(N,t);
                 
                 return std::make_tuple(t); },
             R"#(gives the corresponding parameter t if the Nth solution is situated on an Edge of the first shape)#"  , py::arg("N")
          )
        .def("ParOnFaceS1",
             []( BRepExtrema_DistShapeShape &self , const Standard_Integer N ){
                 Standard_Real  u;
                Standard_Real  v;

                 self.ParOnFaceS1(N,u,v);
                 
                 return std::make_tuple(u,v); },
             R"#(gives the corresponding parameters (U,V) if the Nth solution is situated on an face of the first shape)#"  , py::arg("N")
          )
        .def("ParOnFaceS2",
             []( BRepExtrema_DistShapeShape &self , const Standard_Integer N ){
                 Standard_Real  u;
                Standard_Real  v;

                 self.ParOnFaceS2(N,u,v);
                 
                 return std::make_tuple(u,v); },
             R"#(gives the corresponding parameters (U,V) if the Nth solution is situated on an Face of the second shape)#"  , 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 BRepExtrema_DistanceSS from ./opencascade/BRepExtrema_DistanceSS.hxx
    klass = m.attr("BRepExtrema_DistanceSS");


    // nested enums

    static_cast<py::class_<BRepExtrema_DistanceSS , shared_ptr<BRepExtrema_DistanceSS>  >>(klass)
    // constructors
        .def(py::init< const TopoDS_Shape &,const TopoDS_Shape &,const Bnd_Box &,const Bnd_Box &,const Standard_Real,const Standard_Real,const Extrema_ExtFlag,const Extrema_ExtAlgo >()  , py::arg("theS1"),  py::arg("theS2"),  py::arg("theBox1"),  py::arg("theBox2"),  py::arg("theDstRef"),  py::arg("theDeflection")=static_cast<const Standard_Real>(Precision :: Confusion ( )),  py::arg("theExtFlag")=static_cast<const Extrema_ExtFlag>(Extrema_ExtFlag_MINMAX),  py::arg("theExtAlgo")=static_cast<const Extrema_ExtAlgo>(Extrema_ExtAlgo_Grad) )
    // custom constructors
    // methods
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_DistanceSS::*)() const) static_cast<Standard_Boolean (BRepExtrema_DistanceSS::*)() const>(&BRepExtrema_DistanceSS::IsDone),
             R"#(Returns true if the distance has been computed, false otherwise.)#" 
          )
        .def("DistValue",
             (Standard_Real (BRepExtrema_DistanceSS::*)() const) static_cast<Standard_Real (BRepExtrema_DistanceSS::*)() const>(&BRepExtrema_DistanceSS::DistValue),
             R"#(Returns the distance value.)#" 
          )
    // 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("Seq1Value",
             (const BRepExtrema_SeqOfSolution & (BRepExtrema_DistanceSS::*)() const) static_cast<const BRepExtrema_SeqOfSolution & (BRepExtrema_DistanceSS::*)() const>(&BRepExtrema_DistanceSS::Seq1Value),
             R"#(Returns the list of solutions on the first shape.)#"
             
         )
       .def("Seq2Value",
             (const BRepExtrema_SeqOfSolution & (BRepExtrema_DistanceSS::*)() const) static_cast<const BRepExtrema_SeqOfSolution & (BRepExtrema_DistanceSS::*)() const>(&BRepExtrema_DistanceSS::Seq2Value),
             R"#(Returns the list of solutions on the second shape.)#"
             
         )
;

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

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

    // nested enums
        py::enum_<BRepExtrema_ElementFilter::FilterResult>(klass, "FilterResult_e", R"#(Result of filtering function.)#")
            .value("NoCheck", BRepExtrema_ElementFilter::FilterResult::NoCheck)
            .value("Overlap", BRepExtrema_ElementFilter::FilterResult::Overlap)
            .value("DoCheck", BRepExtrema_ElementFilter::FilterResult::DoCheck).export_values();

    static_cast<py::class_<BRepExtrema_ElementFilter , shared_ptr<BRepExtrema_ElementFilter>  >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("PreCheckElements",
             (BRepExtrema_ElementFilter::FilterResult (BRepExtrema_ElementFilter::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<BRepExtrema_ElementFilter::FilterResult (BRepExtrema_ElementFilter::*)( const Standard_Integer ,  const Standard_Integer  ) >(&BRepExtrema_ElementFilter::PreCheckElements),
             R"#(Checks if two mesh elements should be tested for overlapping/intersection (used for detection correct/incorrect cases of shared edges and vertices).)#"  , py::arg("arg"),  py::arg("arg")
          )
    // 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 BRepExtrema_ExtCC from ./opencascade/BRepExtrema_ExtCC.hxx
    klass = m.attr("BRepExtrema_ExtCC");


    // nested enums

    static_cast<py::class_<BRepExtrema_ExtCC , shared_ptr<BRepExtrema_ExtCC>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Edge &,const TopoDS_Edge & >()  , py::arg("E1"),  py::arg("E2") )
    // custom constructors
    // methods
        .def("Initialize",
             (void (BRepExtrema_ExtCC::*)( const TopoDS_Edge &  ) ) static_cast<void (BRepExtrema_ExtCC::*)( const TopoDS_Edge &  ) >(&BRepExtrema_ExtCC::Initialize),
             R"#(None)#"  , py::arg("E2")
          )
        .def("Perform",
             (void (BRepExtrema_ExtCC::*)( const TopoDS_Edge &  ) ) static_cast<void (BRepExtrema_ExtCC::*)( const TopoDS_Edge &  ) >(&BRepExtrema_ExtCC::Perform),
             R"#(An exception is raised if the fields have not been initialized.)#"  , py::arg("E1")
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ExtCC::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtCC::*)() const>(&BRepExtrema_ExtCC::IsDone),
             R"#(True if the distances are found.)#" 
          )
        .def("NbExt",
             (Standard_Integer (BRepExtrema_ExtCC::*)() const) static_cast<Standard_Integer (BRepExtrema_ExtCC::*)() const>(&BRepExtrema_ExtCC::NbExt),
             R"#(Returns the number of extremum distances.)#" 
          )
        .def("IsParallel",
             (Standard_Boolean (BRepExtrema_ExtCC::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtCC::*)() const>(&BRepExtrema_ExtCC::IsParallel),
             R"#(Returns True if E1 and E2 are parallel.)#" 
          )
        .def("SquareDistance",
             (Standard_Real (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCC::SquareDistance),
             R"#(Returns the value of the <N>th extremum square distance.)#"  , py::arg("N")
          )
        .def("ParameterOnE1",
             (Standard_Real (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCC::ParameterOnE1),
             R"#(Returns the parameter on the first edge of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("PointOnE1",
             (gp_Pnt (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCC::PointOnE1),
             R"#(Returns the Point of the <N>th extremum distance on the edge E1.)#"  , py::arg("N")
          )
        .def("ParameterOnE2",
             (Standard_Real (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCC::ParameterOnE2),
             R"#(Returns the parameter on the second edge of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("PointOnE2",
             (gp_Pnt (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtCC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCC::PointOnE2),
             R"#(Returns the Point of the <N>th extremum distance on the edge E2.)#"  , py::arg("N")
          )
    // methods using call by reference i.s.o. return
        .def("TrimmedSquareDistances",
             []( BRepExtrema_ExtCC &self , gp_Pnt & P11,gp_Pnt & P12,gp_Pnt & P21,gp_Pnt & P22 ){
                 Standard_Real  dist11;
                Standard_Real  distP12;
                Standard_Real  distP21;
                Standard_Real  distP22;

                 self.TrimmedSquareDistances(dist11,distP12,distP21,distP22,P11,P12,P21,P22);
                 
                 return std::make_tuple(dist11,distP12,distP21,distP22); },
             R"#(if the edges is a trimmed curve, dist11 is a square distance between the point on E1 of parameter FirstParameter and the point of parameter FirstParameter on E2.)#"  , py::arg("P11"),  py::arg("P12"),  py::arg("P21"),  py::arg("P22")
          )
    // 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 BRepExtrema_ExtCF from ./opencascade/BRepExtrema_ExtCF.hxx
    klass = m.attr("BRepExtrema_ExtCF");


    // nested enums

    static_cast<py::class_<BRepExtrema_ExtCF , shared_ptr<BRepExtrema_ExtCF>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Edge &,const TopoDS_Face & >()  , py::arg("E"),  py::arg("F") )
    // custom constructors
    // methods
        .def("Initialize",
             (void (BRepExtrema_ExtCF::*)( const TopoDS_Edge & ,  const TopoDS_Face &  ) ) static_cast<void (BRepExtrema_ExtCF::*)( const TopoDS_Edge & ,  const TopoDS_Face &  ) >(&BRepExtrema_ExtCF::Initialize),
             R"#(None)#"  , py::arg("E"),  py::arg("F")
          )
        .def("Perform",
             (void (BRepExtrema_ExtCF::*)( const TopoDS_Edge & ,  const TopoDS_Face &  ) ) static_cast<void (BRepExtrema_ExtCF::*)( const TopoDS_Edge & ,  const TopoDS_Face &  ) >(&BRepExtrema_ExtCF::Perform),
             R"#(An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields.)#"  , py::arg("E"),  py::arg("F")
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ExtCF::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtCF::*)() const>(&BRepExtrema_ExtCF::IsDone),
             R"#(True if the distances are found.)#" 
          )
        .def("NbExt",
             (Standard_Integer (BRepExtrema_ExtCF::*)() const) static_cast<Standard_Integer (BRepExtrema_ExtCF::*)() const>(&BRepExtrema_ExtCF::NbExt),
             R"#(Returns the number of extremum distances.)#" 
          )
        .def("SquareDistance",
             (Standard_Real (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCF::SquareDistance),
             R"#(Returns the value of the <N>th extremum square distance.)#"  , py::arg("N")
          )
        .def("IsParallel",
             (Standard_Boolean (BRepExtrema_ExtCF::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtCF::*)() const>(&BRepExtrema_ExtCF::IsParallel),
             R"#(Returns True if the curve is on a parallel surface.)#" 
          )
        .def("ParameterOnEdge",
             (Standard_Real (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCF::ParameterOnEdge),
             R"#(Returns the parameters on the Edge of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("PointOnEdge",
             (gp_Pnt (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCF::PointOnEdge),
             R"#(Returns the Point of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("PointOnFace",
             (gp_Pnt (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtCF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtCF::PointOnFace),
             R"#(Returns the Point of the <N>th extremum distance.)#"  , py::arg("N")
          )
    // methods using call by reference i.s.o. return
        .def("ParameterOnFace",
             []( BRepExtrema_ExtCF &self , const Standard_Integer N ){
                 Standard_Real  U;
                Standard_Real  V;

                 self.ParameterOnFace(N,U,V);
                 
                 return std::make_tuple(U,V); },
             R"#(Returns the parameters on the Face of the <N>th extremum distance.)#"  , 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 BRepExtrema_ExtFF from ./opencascade/BRepExtrema_ExtFF.hxx
    klass = m.attr("BRepExtrema_ExtFF");


    // nested enums

    static_cast<py::class_<BRepExtrema_ExtFF , shared_ptr<BRepExtrema_ExtFF>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Face &,const TopoDS_Face & >()  , py::arg("F1"),  py::arg("F2") )
    // custom constructors
    // methods
        .def("Initialize",
             (void (BRepExtrema_ExtFF::*)( const TopoDS_Face &  ) ) static_cast<void (BRepExtrema_ExtFF::*)( const TopoDS_Face &  ) >(&BRepExtrema_ExtFF::Initialize),
             R"#(None)#"  , py::arg("F2")
          )
        .def("Perform",
             (void (BRepExtrema_ExtFF::*)( const TopoDS_Face & ,  const TopoDS_Face &  ) ) static_cast<void (BRepExtrema_ExtFF::*)( const TopoDS_Face & ,  const TopoDS_Face &  ) >(&BRepExtrema_ExtFF::Perform),
             R"#(An exception is raised if the fields have not been initialized. Be careful: this method uses the Face F2 only for classify, not for the fields.)#"  , py::arg("F1"),  py::arg("F2")
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ExtFF::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtFF::*)() const>(&BRepExtrema_ExtFF::IsDone),
             R"#(True if the distances are found.)#" 
          )
        .def("IsParallel",
             (Standard_Boolean (BRepExtrema_ExtFF::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtFF::*)() const>(&BRepExtrema_ExtFF::IsParallel),
             R"#(Returns True if the surfaces are parallel.)#" 
          )
        .def("NbExt",
             (Standard_Integer (BRepExtrema_ExtFF::*)() const) static_cast<Standard_Integer (BRepExtrema_ExtFF::*)() const>(&BRepExtrema_ExtFF::NbExt),
             R"#(Returns the number of extremum distances.)#" 
          )
        .def("SquareDistance",
             (Standard_Real (BRepExtrema_ExtFF::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtFF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtFF::SquareDistance),
             R"#(Returns the value of the <N>th extremum square distance.)#"  , py::arg("N")
          )
        .def("PointOnFace1",
             (gp_Pnt (BRepExtrema_ExtFF::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtFF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtFF::PointOnFace1),
             R"#(Returns the Point of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("PointOnFace2",
             (gp_Pnt (BRepExtrema_ExtFF::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtFF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtFF::PointOnFace2),
             R"#(Returns the Point of the <N>th extremum distance.)#"  , py::arg("N")
          )
    // methods using call by reference i.s.o. return
        .def("ParameterOnFace1",
             []( BRepExtrema_ExtFF &self , const Standard_Integer N ){
                 Standard_Real  U;
                Standard_Real  V;

                 self.ParameterOnFace1(N,U,V);
                 
                 return std::make_tuple(U,V); },
             R"#(Returns the parameters on the Face F1 of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("ParameterOnFace2",
             []( BRepExtrema_ExtFF &self , const Standard_Integer N ){
                 Standard_Real  U;
                Standard_Real  V;

                 self.ParameterOnFace2(N,U,V);
                 
                 return std::make_tuple(U,V); },
             R"#(Returns the parameters on the Face F2 of the <N>th extremum distance.)#"  , 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 BRepExtrema_ExtPC from ./opencascade/BRepExtrema_ExtPC.hxx
    klass = m.attr("BRepExtrema_ExtPC");


    // nested enums

    static_cast<py::class_<BRepExtrema_ExtPC , shared_ptr<BRepExtrema_ExtPC>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Vertex &,const TopoDS_Edge & >()  , py::arg("V"),  py::arg("E") )
    // custom constructors
    // methods
        .def("Initialize",
             (void (BRepExtrema_ExtPC::*)( const TopoDS_Edge &  ) ) static_cast<void (BRepExtrema_ExtPC::*)( const TopoDS_Edge &  ) >(&BRepExtrema_ExtPC::Initialize),
             R"#(None)#"  , py::arg("E")
          )
        .def("Perform",
             (void (BRepExtrema_ExtPC::*)( const TopoDS_Vertex &  ) ) static_cast<void (BRepExtrema_ExtPC::*)( const TopoDS_Vertex &  ) >(&BRepExtrema_ExtPC::Perform),
             R"#(An exception is raised if the fields have not been initialized.)#"  , py::arg("V")
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ExtPC::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtPC::*)() const>(&BRepExtrema_ExtPC::IsDone),
             R"#(True if the distances are found.)#" 
          )
        .def("NbExt",
             (Standard_Integer (BRepExtrema_ExtPC::*)() const) static_cast<Standard_Integer (BRepExtrema_ExtPC::*)() const>(&BRepExtrema_ExtPC::NbExt),
             R"#(Returns the number of extremum distances.)#" 
          )
        .def("IsMin",
             (Standard_Boolean (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtPC::IsMin),
             R"#(Returns True if the <N>th extremum distance is a minimum.)#"  , py::arg("N")
          )
        .def("SquareDistance",
             (Standard_Real (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtPC::SquareDistance),
             R"#(Returns the value of the <N>th extremum square distance.)#"  , py::arg("N")
          )
        .def("Parameter",
             (Standard_Real (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtPC::Parameter),
             R"#(Returns the parameter on the edge of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("Point",
             (gp_Pnt (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtPC::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtPC::Point),
             R"#(Returns the Point of the <N>th extremum distance.)#"  , py::arg("N")
          )
    // methods using call by reference i.s.o. return
        .def("TrimmedSquareDistances",
             []( BRepExtrema_ExtPC &self , gp_Pnt & pnt1,gp_Pnt & pnt2 ){
                 Standard_Real  dist1;
                Standard_Real  dist2;

                 self.TrimmedSquareDistances(dist1,dist2,pnt1,pnt2);
                 
                 return std::make_tuple(dist1,dist2); },
             R"#(if the curve is a trimmed curve, dist1 is a square distance between <P> and the point of parameter FirstParameter <pnt1> and dist2 is a square distance between <P> and the point of parameter LastParameter <pnt2>.)#"  , py::arg("pnt1"),  py::arg("pnt2")
          )
    // 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 BRepExtrema_ExtPF from ./opencascade/BRepExtrema_ExtPF.hxx
    klass = m.attr("BRepExtrema_ExtPF");


    // nested enums

    static_cast<py::class_<BRepExtrema_ExtPF , shared_ptr<BRepExtrema_ExtPF>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopoDS_Vertex &,const TopoDS_Face &,const Extrema_ExtFlag,const Extrema_ExtAlgo >()  , py::arg("TheVertex"),  py::arg("TheFace"),  py::arg("TheFlag")=static_cast<const Extrema_ExtFlag>(Extrema_ExtFlag_MINMAX),  py::arg("TheAlgo")=static_cast<const Extrema_ExtAlgo>(Extrema_ExtAlgo_Grad) )
    // custom constructors
    // methods
        .def("Initialize",
             (void (BRepExtrema_ExtPF::*)( const TopoDS_Face & ,  const Extrema_ExtFlag ,  const Extrema_ExtAlgo  ) ) static_cast<void (BRepExtrema_ExtPF::*)( const TopoDS_Face & ,  const Extrema_ExtFlag ,  const Extrema_ExtAlgo  ) >(&BRepExtrema_ExtPF::Initialize),
             R"#(None)#"  , py::arg("TheFace"),  py::arg("TheFlag")=static_cast<const Extrema_ExtFlag>(Extrema_ExtFlag_MINMAX),  py::arg("TheAlgo")=static_cast<const Extrema_ExtAlgo>(Extrema_ExtAlgo_Grad)
          )
        .def("Perform",
             (void (BRepExtrema_ExtPF::*)( const TopoDS_Vertex & ,  const TopoDS_Face &  ) ) static_cast<void (BRepExtrema_ExtPF::*)( const TopoDS_Vertex & ,  const TopoDS_Face &  ) >(&BRepExtrema_ExtPF::Perform),
             R"#(An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields.)#"  , py::arg("TheVertex"),  py::arg("TheFace")
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ExtPF::*)() const) static_cast<Standard_Boolean (BRepExtrema_ExtPF::*)() const>(&BRepExtrema_ExtPF::IsDone),
             R"#(True if the distances are found.)#" 
          )
        .def("NbExt",
             (Standard_Integer (BRepExtrema_ExtPF::*)() const) static_cast<Standard_Integer (BRepExtrema_ExtPF::*)() const>(&BRepExtrema_ExtPF::NbExt),
             R"#(Returns the number of extremum distances.)#" 
          )
        .def("SquareDistance",
             (Standard_Real (BRepExtrema_ExtPF::*)( const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_ExtPF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtPF::SquareDistance),
             R"#(Returns the value of the <N>th extremum square distance.)#"  , py::arg("N")
          )
        .def("Point",
             (gp_Pnt (BRepExtrema_ExtPF::*)( const Standard_Integer  ) const) static_cast<gp_Pnt (BRepExtrema_ExtPF::*)( const Standard_Integer  ) const>(&BRepExtrema_ExtPF::Point),
             R"#(Returns the Point of the <N>th extremum distance.)#"  , py::arg("N")
          )
        .def("SetFlag",
             (void (BRepExtrema_ExtPF::*)( const Extrema_ExtFlag  ) ) static_cast<void (BRepExtrema_ExtPF::*)( const Extrema_ExtFlag  ) >(&BRepExtrema_ExtPF::SetFlag),
             R"#(None)#"  , py::arg("F")
          )
        .def("SetAlgo",
             (void (BRepExtrema_ExtPF::*)( const Extrema_ExtAlgo  ) ) static_cast<void (BRepExtrema_ExtPF::*)( const Extrema_ExtAlgo  ) >(&BRepExtrema_ExtPF::SetAlgo),
             R"#(None)#"  , py::arg("A")
          )
    // methods using call by reference i.s.o. return
        .def("Parameter",
             []( BRepExtrema_ExtPF &self , const Standard_Integer N ){
                 Standard_Real  U;
                Standard_Real  V;

                 self.Parameter(N,U,V);
                 
                 return std::make_tuple(U,V); },
             R"#(Returns the parameters on the Face of the <N>th extremum distance.)#"  , 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 BRepExtrema_OverlapTool from ./opencascade/BRepExtrema_OverlapTool.hxx
    klass = m.attr("BRepExtrema_OverlapTool");


    // nested enums

    static_cast<py::class_<BRepExtrema_OverlapTool , shared_ptr<BRepExtrema_OverlapTool>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<BRepExtrema_TriangleSet> &,const opencascade::handle<BRepExtrema_TriangleSet> & >()  , py::arg("theSet1"),  py::arg("theSet2") )
    // custom constructors
    // methods
        .def("LoadTriangleSets",
             (void (BRepExtrema_OverlapTool::*)( const opencascade::handle<BRepExtrema_TriangleSet> & ,  const opencascade::handle<BRepExtrema_TriangleSet> &  ) ) static_cast<void (BRepExtrema_OverlapTool::*)( const opencascade::handle<BRepExtrema_TriangleSet> & ,  const opencascade::handle<BRepExtrema_TriangleSet> &  ) >(&BRepExtrema_OverlapTool::LoadTriangleSets),
             R"#(Loads the given element sets into the overlap tool.)#"  , py::arg("theSet1"),  py::arg("theSet2")
          )
        .def("Perform",
             (void (BRepExtrema_OverlapTool::*)( const Standard_Real  ) ) static_cast<void (BRepExtrema_OverlapTool::*)( const Standard_Real  ) >(&BRepExtrema_OverlapTool::Perform),
             R"#(Performs searching of overlapped mesh elements.)#"  , py::arg("theTolerance")=static_cast<const Standard_Real>(0.0)
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_OverlapTool::*)() const) static_cast<Standard_Boolean (BRepExtrema_OverlapTool::*)() const>(&BRepExtrema_OverlapTool::IsDone),
             R"#(Is overlap test completed?)#" 
          )
        .def("MarkDirty",
             (void (BRepExtrema_OverlapTool::*)() ) static_cast<void (BRepExtrema_OverlapTool::*)() >(&BRepExtrema_OverlapTool::MarkDirty),
             R"#(Marks test results as outdated.)#" 
          )
        .def("SetElementFilter",
             (void (BRepExtrema_OverlapTool::*)( BRepExtrema_ElementFilter *  ) ) static_cast<void (BRepExtrema_OverlapTool::*)( BRepExtrema_ElementFilter *  ) >(&BRepExtrema_OverlapTool::SetElementFilter),
             R"#(Sets filtering tool for preliminary checking pairs of mesh elements.)#"  , py::arg("theFilter")
          )
        .def("RejectNode",
             (Standard_Boolean (BRepExtrema_OverlapTool::*)(  const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,  Standard_Real &  ) const) static_cast<Standard_Boolean (BRepExtrema_OverlapTool::*)(  const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,  Standard_Real &  ) const>(&BRepExtrema_OverlapTool::RejectNode),
             R"#(Defines the rules for node rejection by bounding box)#"  , py::arg("theCornerMin1"),  py::arg("theCornerMax1"),  py::arg("theCornerMin2"),  py::arg("theCornerMax2"),  py::arg("arg")
          )
        .def("Accept",
             (Standard_Boolean (BRepExtrema_OverlapTool::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<Standard_Boolean (BRepExtrema_OverlapTool::*)( const Standard_Integer ,  const Standard_Integer  ) >(&BRepExtrema_OverlapTool::Accept),
             R"#(Defines the rules for leaf acceptance)#"  , py::arg("theLeaf1"),  py::arg("theLeaf2")
          )
    // 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("OverlapSubShapes1",
             (const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_OverlapTool::*)() const) static_cast<const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_OverlapTool::*)() const>(&BRepExtrema_OverlapTool::OverlapSubShapes1),
             R"#(Returns set of overlapped sub-shapes of 1st shape (currently only faces are detected).)#"
             
         )
       .def("OverlapSubShapes2",
             (const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_OverlapTool::*)() const) static_cast<const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_OverlapTool::*)() const>(&BRepExtrema_OverlapTool::OverlapSubShapes2),
             R"#(Returns set of overlapped sub-shapes of 2nd shape (currently only faces are detected).)#"
             
         )
;

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

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

    // nested enums

    static_cast<py::class_<BRepExtrema_Poly , shared_ptr<BRepExtrema_Poly>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Distance_s",
                    (Standard_Boolean (*)( const TopoDS_Shape & ,  const TopoDS_Shape & ,  gp_Pnt & ,  gp_Pnt & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (*)( const TopoDS_Shape & ,  const TopoDS_Shape & ,  gp_Pnt & ,  gp_Pnt & ,  Standard_Real &  ) >(&BRepExtrema_Poly::Distance),
                    R"#(returns Standard_True if OK.)#"  , py::arg("S1"),  py::arg("S2"),  py::arg("P1"),  py::arg("P2"),  py::arg("dist")
          )
    // 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 BRepExtrema_ProximityDistTool from ./opencascade/BRepExtrema_ProximityDistTool.hxx
    klass = m.attr("BRepExtrema_ProximityDistTool");


    // nested enums
        py::enum_<BRepExtrema_ProximityDistTool::ProxPnt_Status>(klass, "ProxPnt_Status_e", R"#(None)#")
            .value("ProxPnt_Status_BORDER", BRepExtrema_ProximityDistTool::ProxPnt_Status::ProxPnt_Status_BORDER)
            .value("ProxPnt_Status_MIDDLE", BRepExtrema_ProximityDistTool::ProxPnt_Status::ProxPnt_Status_MIDDLE)
            .value("ProxPnt_Status_UNKNOWN", BRepExtrema_ProximityDistTool::ProxPnt_Status::ProxPnt_Status_UNKNOWN).export_values();

    static_cast<py::class_<BRepExtrema_ProximityDistTool , shared_ptr<BRepExtrema_ProximityDistTool>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<BRepExtrema_TriangleSet> &,const Standard_Integer, const BVH::ArrayType<Standard_Real, 3>::Type &,const NCollection_Vector<BRepExtrema_ProximityDistTool::ProxPnt_Status> &,const opencascade::handle<BRepExtrema_TriangleSet> &, const NCollection_Vector<TopoDS_Shape> &, const NCollection_Vector<TopoDS_Shape> & >()  , py::arg("theSet1"),  py::arg("theNbSamples1"),  py::arg("theAddVertices1"),  py::arg("theAddStatus1"),  py::arg("theSet2"),  py::arg("theShapeList1"),  py::arg("theShapeList2") )
    // custom constructors
    // methods
        .def("LoadTriangleSets",
             (void (BRepExtrema_ProximityDistTool::*)( const opencascade::handle<BRepExtrema_TriangleSet> & ,  const opencascade::handle<BRepExtrema_TriangleSet> &  ) ) static_cast<void (BRepExtrema_ProximityDistTool::*)( const opencascade::handle<BRepExtrema_TriangleSet> & ,  const opencascade::handle<BRepExtrema_TriangleSet> &  ) >(&BRepExtrema_ProximityDistTool::LoadTriangleSets),
             R"#(Loads the given element sets into the tool.)#"  , py::arg("theSet1"),  py::arg("theSet2")
          )
        .def("LoadShapeLists",
             (void (BRepExtrema_ProximityDistTool::*)(  const NCollection_Vector<TopoDS_Shape> & ,   const NCollection_Vector<TopoDS_Shape> &  ) ) static_cast<void (BRepExtrema_ProximityDistTool::*)(  const NCollection_Vector<TopoDS_Shape> & ,   const NCollection_Vector<TopoDS_Shape> &  ) >(&BRepExtrema_ProximityDistTool::LoadShapeLists),
             R"#(Loads the given list of subshapes into the tool.)#"  , py::arg("theShapeList1"),  py::arg("theShapeList2")
          )
        .def("LoadAdditionalPointsFirstSet",
             (void (BRepExtrema_ProximityDistTool::*)(  const BVH::ArrayType<Standard_Real, 3>::Type & ,  const NCollection_Vector<BRepExtrema_ProximityDistTool::ProxPnt_Status> &  ) ) static_cast<void (BRepExtrema_ProximityDistTool::*)(  const BVH::ArrayType<Standard_Real, 3>::Type & ,  const NCollection_Vector<BRepExtrema_ProximityDistTool::ProxPnt_Status> &  ) >(&BRepExtrema_ProximityDistTool::LoadAdditionalPointsFirstSet),
             R"#(Loads given additional vertices and their statuses.)#"  , py::arg("theAddVertices1"),  py::arg("theAddStatus1")
          )
        .def("Perform",
             (void (BRepExtrema_ProximityDistTool::*)() ) static_cast<void (BRepExtrema_ProximityDistTool::*)() >(&BRepExtrema_ProximityDistTool::Perform),
             R"#(Performs searching of the proximity distance.)#" 
          )
        .def("RejectNode",
             (Standard_Boolean (BRepExtrema_ProximityDistTool::*)(  const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,  Standard_Real &  ) const) static_cast<Standard_Boolean (BRepExtrema_ProximityDistTool::*)(  const BVH::VectorType<Standard_Real, 3>::Type & ,   const BVH::VectorType<Standard_Real, 3>::Type & ,  Standard_Real &  ) const>(&BRepExtrema_ProximityDistTool::RejectNode),
             R"#(Defines the rules for node rejection by bounding box.)#"  , py::arg("theCornerMin"),  py::arg("theCornerMax"),  py::arg("theMetric")
          )
        .def("Accept",
             (Standard_Boolean (BRepExtrema_ProximityDistTool::*)( const Standard_Integer ,  const Standard_Real &  ) ) static_cast<Standard_Boolean (BRepExtrema_ProximityDistTool::*)( const Standard_Integer ,  const Standard_Real &  ) >(&BRepExtrema_ProximityDistTool::Accept),
             R"#(Defines the rules for leaf acceptance.)#"  , py::arg("theSgmIdx"),  py::arg("arg")
          )
        .def("ProximityPoints",
             (void (BRepExtrema_ProximityDistTool::*)( BVH::VectorType<Standard_Real, 3>::Type & ,  BVH::VectorType<Standard_Real, 3>::Type &  ) const) static_cast<void (BRepExtrema_ProximityDistTool::*)( BVH::VectorType<Standard_Real, 3>::Type & ,  BVH::VectorType<Standard_Real, 3>::Type &  ) const>(&BRepExtrema_ProximityDistTool::ProximityPoints),
             R"#(Returns points on triangles sets, which provide the proximity distance.)#"  , py::arg("thePoint1"),  py::arg("thePoint2")
          )
        .def("ProximityPointsStatus",
             (void (BRepExtrema_ProximityDistTool::*)( BRepExtrema_ProximityDistTool::ProxPnt_Status & ,  BRepExtrema_ProximityDistTool::ProxPnt_Status &  ) const) static_cast<void (BRepExtrema_ProximityDistTool::*)( BRepExtrema_ProximityDistTool::ProxPnt_Status & ,  BRepExtrema_ProximityDistTool::ProxPnt_Status &  ) const>(&BRepExtrema_ProximityDistTool::ProximityPointsStatus),
             R"#(Returns status of points on triangles sets, which provide the proximity distance.)#"  , py::arg("thePointStatus1"),  py::arg("thePointStatus2")
          )
        .def("ProximityDistance",
             (Standard_Real (BRepExtrema_ProximityDistTool::*)() const) static_cast<Standard_Real (BRepExtrema_ProximityDistTool::*)() const>(&BRepExtrema_ProximityDistTool::ProximityDistance),
             R"#(Returns the computed distance)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("IsNodeOnBorder_s",
                    (Standard_Boolean (*)( const Standard_Integer ,  const opencascade::handle<Poly_Triangulation> &  ) ) static_cast<Standard_Boolean (*)( const Standard_Integer ,  const opencascade::handle<Poly_Triangulation> &  ) >(&BRepExtrema_ProximityDistTool::IsNodeOnBorder),
                    R"#(Returns true if the node is on the boarder.)#"  , py::arg("theNodeIdx"),  py::arg("theTr")
          )
        .def_static("IsEdgeOnBorder_s",
                    (Standard_Boolean (*)( const Standard_Integer ,  const Standard_Integer ,  const Standard_Integer ,  const opencascade::handle<Poly_Triangulation> &  ) ) static_cast<Standard_Boolean (*)( const Standard_Integer ,  const Standard_Integer ,  const Standard_Integer ,  const opencascade::handle<Poly_Triangulation> &  ) >(&BRepExtrema_ProximityDistTool::IsEdgeOnBorder),
                    R"#(Returns true if the edge is on the boarder.)#"  , py::arg("theTrgIdx"),  py::arg("theFirstEdgeNodeIdx"),  py::arg("theSecondEdgeNodeIdx"),  py::arg("theTr")
          )
    // 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 BRepExtrema_ProximityValueTool from ./opencascade/BRepExtrema_ProximityValueTool.hxx
    klass = m.attr("BRepExtrema_ProximityValueTool");


    // nested enums

    static_cast<py::class_<BRepExtrema_ProximityValueTool , shared_ptr<BRepExtrema_ProximityValueTool>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<BRepExtrema_TriangleSet> &,const opencascade::handle<BRepExtrema_TriangleSet> &, const NCollection_Vector<TopoDS_Shape> &, const NCollection_Vector<TopoDS_Shape> & >()  , py::arg("theSet1"),  py::arg("theSet2"),  py::arg("theShapeList1"),  py::arg("theShapeList2") )
    // custom constructors
    // methods
        .def("LoadTriangleSets",
             (void (BRepExtrema_ProximityValueTool::*)( const opencascade::handle<BRepExtrema_TriangleSet> & ,  const opencascade::handle<BRepExtrema_TriangleSet> &  ) ) static_cast<void (BRepExtrema_ProximityValueTool::*)( const opencascade::handle<BRepExtrema_TriangleSet> & ,  const opencascade::handle<BRepExtrema_TriangleSet> &  ) >(&BRepExtrema_ProximityValueTool::LoadTriangleSets),
             R"#(Loads the given element sets into the proximity tool.)#"  , py::arg("theSet1"),  py::arg("theSet2")
          )
        .def("LoadShapeLists",
             (void (BRepExtrema_ProximityValueTool::*)(  const NCollection_Vector<TopoDS_Shape> & ,   const NCollection_Vector<TopoDS_Shape> &  ) ) static_cast<void (BRepExtrema_ProximityValueTool::*)(  const NCollection_Vector<TopoDS_Shape> & ,   const NCollection_Vector<TopoDS_Shape> &  ) >(&BRepExtrema_ProximityValueTool::LoadShapeLists),
             R"#(Loads the given list of subshapes into the proximity tool.)#"  , py::arg("theShapeList1"),  py::arg("theShapeList2")
          )
        .def("SetNbSamplePoints",
             (void (BRepExtrema_ProximityValueTool::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (BRepExtrema_ProximityValueTool::*)( const Standard_Integer ,  const Standard_Integer  ) >(&BRepExtrema_ProximityValueTool::SetNbSamplePoints),
             R"#(Sets number of sample points used for proximity calculation for each shape. If number is less or equal zero, all triangulation nodes are used.)#"  , py::arg("theSamples1")=static_cast<const Standard_Integer>(0),  py::arg("theSamples2")=static_cast<const Standard_Integer>(0)
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ProximityValueTool::*)() const) static_cast<Standard_Boolean (BRepExtrema_ProximityValueTool::*)() const>(&BRepExtrema_ProximityValueTool::IsDone),
             R"#(Is proximity test completed?)#" 
          )
        .def("MarkDirty",
             (void (BRepExtrema_ProximityValueTool::*)() ) static_cast<void (BRepExtrema_ProximityValueTool::*)() >(&BRepExtrema_ProximityValueTool::MarkDirty),
             R"#(Marks test results as outdated.)#" 
          )
        .def("Distance",
             (Standard_Real (BRepExtrema_ProximityValueTool::*)() const) static_cast<Standard_Real (BRepExtrema_ProximityValueTool::*)() const>(&BRepExtrema_ProximityValueTool::Distance),
             R"#(Returns the computed distance.)#" 
          )
        .def("ProximityPoints",
             (void (BRepExtrema_ProximityValueTool::*)( gp_Pnt & ,  gp_Pnt &  ) const) static_cast<void (BRepExtrema_ProximityValueTool::*)( gp_Pnt & ,  gp_Pnt &  ) const>(&BRepExtrema_ProximityValueTool::ProximityPoints),
             R"#(Returns points on triangles sets, which provide the proximity distance.)#"  , py::arg("thePoint1"),  py::arg("thePoint2")
          )
        .def("ProximityPointsStatus",
             (void (BRepExtrema_ProximityValueTool::*)( ProxPnt_Status & ,  ProxPnt_Status &  ) const) static_cast<void (BRepExtrema_ProximityValueTool::*)( ProxPnt_Status & ,  ProxPnt_Status &  ) const>(&BRepExtrema_ProximityValueTool::ProximityPointsStatus),
             R"#(Returns status of points on triangles sets, which provide the proximity distance.)#"  , py::arg("thePointStatus1"),  py::arg("thePointStatus2")
          )
    // methods using call by reference i.s.o. return
        .def("Perform",
             []( BRepExtrema_ProximityValueTool &self   ){
                 Standard_Real  theTolerance;

                 self.Perform(theTolerance);
                 
                 return std::make_tuple(theTolerance); },
             R"#(Performs the computation of the proximity value.)#" 
          )
    // 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 BRepExtrema_ShapeProximity from ./opencascade/BRepExtrema_ShapeProximity.hxx
    klass = m.attr("BRepExtrema_ShapeProximity");


    // nested enums

    static_cast<py::class_<BRepExtrema_ShapeProximity , shared_ptr<BRepExtrema_ShapeProximity>  >>(klass)
    // constructors
        .def(py::init< const Standard_Real >()  , py::arg("theTolerance")=static_cast<const Standard_Real>(Precision :: Infinite ( )) )
        .def(py::init< const TopoDS_Shape &,const TopoDS_Shape &,const Standard_Real >()  , py::arg("theShape1"),  py::arg("theShape2"),  py::arg("theTolerance")=static_cast<const Standard_Real>(Precision :: Infinite ( )) )
    // custom constructors
    // methods
        .def("Tolerance",
             (Standard_Real (BRepExtrema_ShapeProximity::*)() const) static_cast<Standard_Real (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::Tolerance),
             R"#(Returns tolerance value for overlap test (distance between shapes).)#" 
          )
        .def("SetTolerance",
             (void (BRepExtrema_ShapeProximity::*)( const Standard_Real  ) ) static_cast<void (BRepExtrema_ShapeProximity::*)( const Standard_Real  ) >(&BRepExtrema_ShapeProximity::SetTolerance),
             R"#(Sets tolerance value for overlap test (distance between shapes).)#"  , py::arg("theTolerance")
          )
        .def("Proximity",
             (Standard_Real (BRepExtrema_ShapeProximity::*)() const) static_cast<Standard_Real (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::Proximity),
             R"#(Returns proximity value calculated for the whole input shapes.)#" 
          )
        .def("LoadShape1",
             (Standard_Boolean (BRepExtrema_ShapeProximity::*)( const TopoDS_Shape &  ) ) static_cast<Standard_Boolean (BRepExtrema_ShapeProximity::*)( const TopoDS_Shape &  ) >(&BRepExtrema_ShapeProximity::LoadShape1),
             R"#(Loads 1st shape into proximity tool.)#"  , py::arg("theShape1")
          )
        .def("LoadShape2",
             (Standard_Boolean (BRepExtrema_ShapeProximity::*)( const TopoDS_Shape &  ) ) static_cast<Standard_Boolean (BRepExtrema_ShapeProximity::*)( const TopoDS_Shape &  ) >(&BRepExtrema_ShapeProximity::LoadShape2),
             R"#(Loads 2nd shape into proximity tool.)#"  , py::arg("theShape2")
          )
        .def("SetNbSamples1",
             (void (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) ) static_cast<void (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) >(&BRepExtrema_ShapeProximity::SetNbSamples1),
             R"#(Set number of sample points on the 1st shape used to compute the proximity value. In case of 0, all triangulation nodes will be used.)#"  , py::arg("theNbSamples")
          )
        .def("SetNbSamples2",
             (void (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) ) static_cast<void (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) >(&BRepExtrema_ShapeProximity::SetNbSamples2),
             R"#(Set number of sample points on the 2nd shape used to compute the proximity value. In case of 0, all triangulation nodes will be used.)#"  , py::arg("theNbSamples")
          )
        .def("Perform",
             (void (BRepExtrema_ShapeProximity::*)() ) static_cast<void (BRepExtrema_ShapeProximity::*)() >(&BRepExtrema_ShapeProximity::Perform),
             R"#(Performs search of overlapped faces.)#" 
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_ShapeProximity::*)() const) static_cast<Standard_Boolean (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::IsDone),
             R"#(True if the search is completed.)#" 
          )
        .def("GetSubShape1",
             (const TopoDS_Shape & (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) const) static_cast<const TopoDS_Shape & (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) const>(&BRepExtrema_ShapeProximity::GetSubShape1),
             R"#(Returns sub-shape from 1st shape with the given index (started from 0).)#"  , py::arg("theID")
          )
        .def("GetSubShape2",
             (const TopoDS_Shape & (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) const) static_cast<const TopoDS_Shape & (BRepExtrema_ShapeProximity::*)( const Standard_Integer  ) const>(&BRepExtrema_ShapeProximity::GetSubShape2),
             R"#(Returns sub-shape from 1st shape with the given index (started from 0).)#"  , py::arg("theID")
          )
    // 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("OverlapSubShapes1",
             (const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_ShapeProximity::*)() const) static_cast<const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::OverlapSubShapes1),
             R"#(Returns set of IDs of overlapped faces of 1st shape (started from 0).)#"
             
         )
       .def("OverlapSubShapes2",
             (const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_ShapeProximity::*)() const) static_cast<const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::OverlapSubShapes2),
             R"#(Returns set of IDs of overlapped faces of 2nd shape (started from 0).)#"
             
         )
       .def("ElementSet1",
             (const opencascade::handle<BRepExtrema_TriangleSet> & (BRepExtrema_ShapeProximity::*)() const) static_cast<const opencascade::handle<BRepExtrema_TriangleSet> & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::ElementSet1),
             R"#(Returns set of all the face triangles of the 1st shape.)#"
             
         )
       .def("ElementSet2",
             (const opencascade::handle<BRepExtrema_TriangleSet> & (BRepExtrema_ShapeProximity::*)() const) static_cast<const opencascade::handle<BRepExtrema_TriangleSet> & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::ElementSet2),
             R"#(Returns set of all the face triangles of the 2nd shape.)#"
             
         )
       .def("ProximityPoint1",
             (const gp_Pnt & (BRepExtrema_ShapeProximity::*)() const) static_cast<const gp_Pnt & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::ProximityPoint1),
             R"#(Returns the point on the 1st shape, which could be used as a reference point for the value of the proximity.)#"
             
         )
       .def("ProximityPoint2",
             (const gp_Pnt & (BRepExtrema_ShapeProximity::*)() const) static_cast<const gp_Pnt & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::ProximityPoint2),
             R"#(Returns the point on the 2nd shape, which could be used as a reference point for the value of the proximity.)#"
             
         )
       .def("ProxPntStatus1",
             (const ProxPnt_Status & (BRepExtrema_ShapeProximity::*)() const) static_cast<const ProxPnt_Status & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::ProxPntStatus1),
             R"#(Returns the status of point on the 1st shape, which could be used as a reference point for the value of the proximity.)#"
             
         )
       .def("ProxPntStatus2",
             (const ProxPnt_Status & (BRepExtrema_ShapeProximity::*)() const) static_cast<const ProxPnt_Status & (BRepExtrema_ShapeProximity::*)() const>(&BRepExtrema_ShapeProximity::ProxPntStatus2),
             R"#(Returns the status of point on the 2nd shape, which could be used as a reference point for the value of the proximity.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepExtrema_SolutionElem , shared_ptr<BRepExtrema_SolutionElem>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_Real,const gp_Pnt &,const BRepExtrema_SupportType,const TopoDS_Vertex & >()  , py::arg("theDist"),  py::arg("thePoint"),  py::arg("theSolType"),  py::arg("theVertex") )
        .def(py::init< const Standard_Real,const gp_Pnt &,const BRepExtrema_SupportType,const TopoDS_Edge &,const Standard_Real >()  , py::arg("theDist"),  py::arg("thePoint"),  py::arg("theSolType"),  py::arg("theEdge"),  py::arg("theParam") )
        .def(py::init< const Standard_Real,const gp_Pnt &,const BRepExtrema_SupportType,const TopoDS_Face &,const Standard_Real,const Standard_Real >()  , py::arg("theDist"),  py::arg("thePoint"),  py::arg("theSolType"),  py::arg("theFace"),  py::arg("theU"),  py::arg("theV") )
    // custom constructors
    // methods
        .def("Dist",
             (Standard_Real (BRepExtrema_SolutionElem::*)() const) static_cast<Standard_Real (BRepExtrema_SolutionElem::*)() const>(&BRepExtrema_SolutionElem::Dist),
             R"#(Returns the value of the minimum distance.)#" 
          )
        .def("SupportKind",
             (BRepExtrema_SupportType (BRepExtrema_SolutionElem::*)() const) static_cast<BRepExtrema_SupportType (BRepExtrema_SolutionElem::*)() const>(&BRepExtrema_SolutionElem::SupportKind),
             R"#(Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face.)#" 
          )
    // methods using call by reference i.s.o. return
        .def("EdgeParameter",
             []( BRepExtrema_SolutionElem &self   ){
                 Standard_Real  theParam;

                 self.EdgeParameter(theParam);
                 
                 return std::make_tuple(theParam); },
             R"#(Returns the parameter value if the solution is on Edge.)#" 
          )
        .def("FaceParameter",
             []( BRepExtrema_SolutionElem &self   ){
                 Standard_Real  theU;
                Standard_Real  theV;

                 self.FaceParameter(theU,theV);
                 
                 return std::make_tuple(theU,theV); },
             R"#(Returns the parameters U and V if the solution is in a Face.)#" 
          )
    // 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("Point",
             (const gp_Pnt & (BRepExtrema_SolutionElem::*)() const) static_cast<const gp_Pnt & (BRepExtrema_SolutionElem::*)() const>(&BRepExtrema_SolutionElem::Point),
             R"#(Returns the solution point.)#"
             
         )
       .def("Vertex",
             (const TopoDS_Vertex & (BRepExtrema_SolutionElem::*)() const) static_cast<const TopoDS_Vertex & (BRepExtrema_SolutionElem::*)() const>(&BRepExtrema_SolutionElem::Vertex),
             R"#(Returns the vertex if the solution is a Vertex.)#"
             
         )
       .def("Edge",
             (const TopoDS_Edge & (BRepExtrema_SolutionElem::*)() const) static_cast<const TopoDS_Edge & (BRepExtrema_SolutionElem::*)() const>(&BRepExtrema_SolutionElem::Edge),
             R"#(Returns the vertex if the solution is an Edge.)#"
             
         )
       .def("Face",
             (const TopoDS_Face & (BRepExtrema_SolutionElem::*)() const) static_cast<const TopoDS_Face & (BRepExtrema_SolutionElem::*)() const>(&BRepExtrema_SolutionElem::Face),
             R"#(Returns the vertex if the solution is an Face.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepExtrema_TriangleSet , shared_ptr<BRepExtrema_TriangleSet>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init<  const NCollection_Vector<TopoDS_Shape> & >()  , py::arg("theFaces") )
    // custom constructors
    // methods
        .def("Size",
             (Standard_Integer (BRepExtrema_TriangleSet::*)() const) static_cast<Standard_Integer (BRepExtrema_TriangleSet::*)() const>(&BRepExtrema_TriangleSet::Size),
             R"#(Returns total number of triangles.)#" 
          )
        .def("Box",
             (BVH_Box<Standard_Real, 3> (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const) static_cast<BVH_Box<Standard_Real, 3> (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const>(&BRepExtrema_TriangleSet::Box),
             R"#(Returns AABB of the given triangle.)#"  , py::arg("theIndex")
          )
        .def("Center",
             (Standard_Real (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Real (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&BRepExtrema_TriangleSet::Center),
             R"#(Returns centroid position along specified axis.)#"  , py::arg("theIndex"),  py::arg("theAxis")
          )
        .def("Swap",
             (void (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  const Standard_Integer  ) >(&BRepExtrema_TriangleSet::Swap),
             R"#(Swaps indices of two specified triangles.)#"  , py::arg("theIndex1"),  py::arg("theIndex2")
          )
        .def("Clear",
             (void (BRepExtrema_TriangleSet::*)() ) static_cast<void (BRepExtrema_TriangleSet::*)() >(&BRepExtrema_TriangleSet::Clear),
             R"#(Clears triangle set data.)#" 
          )
        .def("Init",
             (Standard_Boolean (BRepExtrema_TriangleSet::*)(  const NCollection_Vector<TopoDS_Shape> &  ) ) static_cast<Standard_Boolean (BRepExtrema_TriangleSet::*)(  const NCollection_Vector<TopoDS_Shape> &  ) >(&BRepExtrema_TriangleSet::Init),
             R"#(Initializes triangle set.)#"  , py::arg("theShapes")
          )
        .def("GetVertices",
             (void (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  BVH::VectorType<Standard_Real, 3>::Type & ,  BVH::VectorType<Standard_Real, 3>::Type & ,  BVH::VectorType<Standard_Real, 3>::Type &  ) const) static_cast<void (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  BVH::VectorType<Standard_Real, 3>::Type & ,  BVH::VectorType<Standard_Real, 3>::Type & ,  BVH::VectorType<Standard_Real, 3>::Type &  ) const>(&BRepExtrema_TriangleSet::GetVertices),
             R"#(Returns vertices of the given triangle.)#"  , py::arg("theIndex"),  py::arg("theVertex1"),  py::arg("theVertex2"),  py::arg("theVertex3")
          )
        .def("GetVtxIndices",
             (void (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  NCollection_Array1<Standard_Integer> &  ) const) static_cast<void (BRepExtrema_TriangleSet::*)( const Standard_Integer ,  NCollection_Array1<Standard_Integer> &  ) const>(&BRepExtrema_TriangleSet::GetVtxIndices),
             R"#(Returns vertex indices of the given triangle.)#"  , py::arg("theIndex"),  py::arg("theVtxIndices")
          )
        .def("GetFaceID",
             (Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const>(&BRepExtrema_TriangleSet::GetFaceID),
             R"#(Returns face ID of the given triangle.)#"  , py::arg("theIndex")
          )
        .def("GetShapeIDOfVtx",
             (Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const>(&BRepExtrema_TriangleSet::GetShapeIDOfVtx),
             R"#(Returns shape ID of the given vertex index.)#"  , py::arg("theIndex")
          )
        .def("GetVtxIdxInShape",
             (Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const>(&BRepExtrema_TriangleSet::GetVtxIdxInShape),
             R"#(Returns vertex index in tringulation of the shape, which vertex belongs, with the given vtx ID in whole set.)#"  , py::arg("theIndex")
          )
        .def("GetTrgIdxInShape",
             (Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (BRepExtrema_TriangleSet::*)( const Standard_Integer  ) const>(&BRepExtrema_TriangleSet::GetTrgIdxInShape),
             R"#(Returns triangle index (before swapping) in tringulation of the shape, which triangle belongs, with the given trg ID in whole set (after swapping).)#"  , py::arg("theIndex")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&BRepExtrema_TriangleSet::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&BRepExtrema_TriangleSet::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("GetVertices",
             (const BVH_Array3d & (BRepExtrema_TriangleSet::*)() const) static_cast<const BVH_Array3d & (BRepExtrema_TriangleSet::*)() const>(&BRepExtrema_TriangleSet::GetVertices),
             R"#(Returns all vertices.)#"
             
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (BRepExtrema_TriangleSet::*)() const) static_cast<const opencascade::handle<Standard_Type> & (BRepExtrema_TriangleSet::*)() const>(&BRepExtrema_TriangleSet::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<BRepExtrema_VertexInspector , shared_ptr<BRepExtrema_VertexInspector>  , NCollection_CellFilter_InspectorXYZ >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Add",
             (void (BRepExtrema_VertexInspector::*)( const gp_XYZ &  ) ) static_cast<void (BRepExtrema_VertexInspector::*)( const gp_XYZ &  ) >(&BRepExtrema_VertexInspector::Add),
             R"#(Keep the points used for comparison)#"  , py::arg("thePnt")
          )
        .def("SetTol",
             (void (BRepExtrema_VertexInspector::*)( const Standard_Real  ) ) static_cast<void (BRepExtrema_VertexInspector::*)( const Standard_Real  ) >(&BRepExtrema_VertexInspector::SetTol),
             R"#(Set tolerance for comparison of point coordinates)#"  , py::arg("theTol")
          )
        .def("SetCurrent",
             (void (BRepExtrema_VertexInspector::*)( const gp_XYZ &  ) ) static_cast<void (BRepExtrema_VertexInspector::*)( const gp_XYZ &  ) >(&BRepExtrema_VertexInspector::SetCurrent),
             R"#(Set current point to search for coincidence)#"  , py::arg("theCurPnt")
          )
        .def("IsNeedAdd",
             (Standard_Boolean (BRepExtrema_VertexInspector::*)() ) static_cast<Standard_Boolean (BRepExtrema_VertexInspector::*)() >(&BRepExtrema_VertexInspector::IsNeedAdd),
             R"#(None)#" 
          )
        .def("Inspect",
             (NCollection_CellFilter_Action (BRepExtrema_VertexInspector::*)( const Standard_Integer  ) ) static_cast<NCollection_CellFilter_Action (BRepExtrema_VertexInspector::*)( const Standard_Integer  ) >(&BRepExtrema_VertexInspector::Inspect),
             R"#(Implementation of inspection method)#"  , py::arg("theTarget")
          )
    // 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 BRepExtrema_SelfIntersection from ./opencascade/BRepExtrema_SelfIntersection.hxx
    klass = m.attr("BRepExtrema_SelfIntersection");


    // nested enums

    static_cast<py::class_<BRepExtrema_SelfIntersection , shared_ptr<BRepExtrema_SelfIntersection>  , BRepExtrema_ElementFilter >>(klass)
    // constructors
        .def(py::init< const Standard_Real >()  , py::arg("theTolerance")=static_cast<const Standard_Real>(0.0) )
        .def(py::init< const TopoDS_Shape &,const Standard_Real >()  , py::arg("theShape"),  py::arg("theTolerance")=static_cast<const Standard_Real>(0.0) )
    // custom constructors
    // methods
        .def("Tolerance",
             (Standard_Real (BRepExtrema_SelfIntersection::*)() const) static_cast<Standard_Real (BRepExtrema_SelfIntersection::*)() const>(&BRepExtrema_SelfIntersection::Tolerance),
             R"#(Returns tolerance value used for self-intersection test.)#" 
          )
        .def("SetTolerance",
             (void (BRepExtrema_SelfIntersection::*)( const Standard_Real  ) ) static_cast<void (BRepExtrema_SelfIntersection::*)( const Standard_Real  ) >(&BRepExtrema_SelfIntersection::SetTolerance),
             R"#(Sets tolerance value used for self-intersection test.)#"  , py::arg("theTolerance")
          )
        .def("LoadShape",
             (Standard_Boolean (BRepExtrema_SelfIntersection::*)( const TopoDS_Shape &  ) ) static_cast<Standard_Boolean (BRepExtrema_SelfIntersection::*)( const TopoDS_Shape &  ) >(&BRepExtrema_SelfIntersection::LoadShape),
             R"#(Loads shape for detection of self-intersections.)#"  , py::arg("theShape")
          )
        .def("Perform",
             (void (BRepExtrema_SelfIntersection::*)() ) static_cast<void (BRepExtrema_SelfIntersection::*)() >(&BRepExtrema_SelfIntersection::Perform),
             R"#(Performs detection of self-intersections.)#" 
          )
        .def("IsDone",
             (Standard_Boolean (BRepExtrema_SelfIntersection::*)() const) static_cast<Standard_Boolean (BRepExtrema_SelfIntersection::*)() const>(&BRepExtrema_SelfIntersection::IsDone),
             R"#(True if the detection is completed.)#" 
          )
        .def("GetSubShape",
             (const TopoDS_Face & (BRepExtrema_SelfIntersection::*)( const Standard_Integer  ) const) static_cast<const TopoDS_Face & (BRepExtrema_SelfIntersection::*)( const Standard_Integer  ) const>(&BRepExtrema_SelfIntersection::GetSubShape),
             R"#(Returns sub-shape from the shape for the given index (started from 0).)#"  , py::arg("theID")
          )
    // 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("OverlapElements",
             (const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_SelfIntersection::*)() const) static_cast<const BRepExtrema_MapOfIntegerPackedMapOfInteger & (BRepExtrema_SelfIntersection::*)() const>(&BRepExtrema_SelfIntersection::OverlapElements),
             R"#(Returns set of IDs of overlapped sub-shapes (started from 0).)#"
             
         )
       .def("ElementSet",
             (const opencascade::handle<BRepExtrema_TriangleSet> & (BRepExtrema_SelfIntersection::*)() const) static_cast<const opencascade::handle<BRepExtrema_TriangleSet> & (BRepExtrema_SelfIntersection::*)() const>(&BRepExtrema_SelfIntersection::ElementSet),
             R"#(Returns set of all the face triangles of the shape.)#"
             
         )
;

// functions
// ./opencascade/BRepExtrema_DistShapeShape.hxx
// ./opencascade/BRepExtrema_DistanceSS.hxx
// ./opencascade/BRepExtrema_ElementFilter.hxx
// ./opencascade/BRepExtrema_ExtCC.hxx
// ./opencascade/BRepExtrema_ExtCF.hxx
// ./opencascade/BRepExtrema_ExtFF.hxx
// ./opencascade/BRepExtrema_ExtPC.hxx
// ./opencascade/BRepExtrema_ExtPF.hxx
// ./opencascade/BRepExtrema_MapOfIntegerPackedMapOfInteger.hxx
// ./opencascade/BRepExtrema_OverlapTool.hxx
// ./opencascade/BRepExtrema_Poly.hxx
// ./opencascade/BRepExtrema_ProximityDistTool.hxx
// ./opencascade/BRepExtrema_ProximityValueTool.hxx
// ./opencascade/BRepExtrema_SelfIntersection.hxx
// ./opencascade/BRepExtrema_SeqOfSolution.hxx
// ./opencascade/BRepExtrema_ShapeProximity.hxx
// ./opencascade/BRepExtrema_SolutionElem.hxx
// ./opencascade/BRepExtrema_SupportType.hxx
// ./opencascade/BRepExtrema_TriangleSet.hxx
// ./opencascade/BRepExtrema_UnCompatibleShape.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_Sequence<BRepExtrema_SolutionElem>(m,"BRepExtrema_SeqOfSolution");
    register_template_NCollection_Vector<TopoDS_Shape>(m,"BRepExtrema_ShapeList");


// exceptions
register_occ_exception<BRepExtrema_UnCompatibleShape>(m, "BRepExtrema_UnCompatibleShape");

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

};

// user-defined post-inclusion per module

// user-defined post