File: Bnd.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 (1549 lines) | stat: -rw-r--r-- 98,193 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
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549

// 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 <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 <gp_Ax1.hxx>
#include <gp_Ax3.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Ax1.hxx>
#include <gp_Ax3.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Pln.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Lin.hxx>
#include <gp_Pln.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 <Bnd_Array1OfBox.hxx>
#include <Bnd_Array1OfBox2d.hxx>
#include <Bnd_Array1OfSphere.hxx>
#include <Bnd_B2d.hxx>
#include <Bnd_B2f.hxx>
#include <Bnd_B3d.hxx>
#include <Bnd_B3f.hxx>
#include <Bnd_BoundSortBox.hxx>
#include <Bnd_Box.hxx>
#include <Bnd_Box2d.hxx>
#include <Bnd_HArray1OfBox.hxx>
#include <Bnd_HArray1OfBox2d.hxx>
#include <Bnd_HArray1OfSphere.hxx>
#include <Bnd_OBB.hxx>
#include <Bnd_Range.hxx>
#include <Bnd_Sphere.hxx>
#include <Bnd_Tools.hxx>

// template related includes

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

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

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


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

// user-defined inclusion per module

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


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

//Python trampoline classes

// classes

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


    // nested enums

    static_cast<py::class_<Bnd_B2d , shared_ptr<Bnd_B2d>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_XY &,const gp_XY & >()  , py::arg("theCenter"),  py::arg("theHSize") )
    // custom constructors
    // methods
        .def("IsVoid",
             (Standard_Boolean (Bnd_B2d::*)() const) static_cast<Standard_Boolean (Bnd_B2d::*)() const>(&Bnd_B2d::IsVoid),
             R"#(Returns True if the box is void (non-initialized).)#" 
          )
        .def("Clear",
             (void (Bnd_B2d::*)() ) static_cast<void (Bnd_B2d::*)() >(&Bnd_B2d::Clear),
             R"#(Reset the box data.)#" 
          )
        .def("Add",
             (void (Bnd_B2d::*)( const gp_XY &  ) ) static_cast<void (Bnd_B2d::*)( const gp_XY &  ) >(&Bnd_B2d::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B2d::*)( const gp_Pnt2d &  ) ) static_cast<void (Bnd_B2d::*)( const gp_Pnt2d &  ) >(&Bnd_B2d::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B2d::*)( const Bnd_B2d &  ) ) static_cast<void (Bnd_B2d::*)( const Bnd_B2d &  ) >(&Bnd_B2d::Add),
             R"#(Update the box by another box.)#"  , py::arg("theBox")
          )
        .def("CornerMin",
             (gp_XY (Bnd_B2d::*)() const) static_cast<gp_XY (Bnd_B2d::*)() const>(&Bnd_B2d::CornerMin),
             R"#(Query a box corner: (Center - HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("CornerMax",
             (gp_XY (Bnd_B2d::*)() const) static_cast<gp_XY (Bnd_B2d::*)() const>(&Bnd_B2d::CornerMax),
             R"#(Query a box corner: (Center + HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_B2d::*)() const) static_cast<Standard_Real (Bnd_B2d::*)() const>(&Bnd_B2d::SquareExtent),
             R"#(Query the square diagonal. If the box is VOID (see method IsVoid()) then a very big real value is returned.)#" 
          )
        .def("Enlarge",
             (void (Bnd_B2d::*)( const Standard_Real  ) ) static_cast<void (Bnd_B2d::*)( const Standard_Real  ) >(&Bnd_B2d::Enlarge),
             R"#(Extend the Box by the absolute value of theDiff.)#"  , py::arg("theDiff")
          )
        .def("Limit",
             (Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d &  ) ) static_cast<Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d &  ) >(&Bnd_B2d::Limit),
             R"#(Limit the Box by the internals of theOtherBox. Returns True if the limitation takes place, otherwise False indicating that the boxes do not intersect.)#"  , py::arg("theOtherBox")
          )
        .def("Transformed",
             (Bnd_B2d (Bnd_B2d::*)( const gp_Trsf2d &  ) const) static_cast<Bnd_B2d (Bnd_B2d::*)( const gp_Trsf2d &  ) const>(&Bnd_B2d::Transformed),
             R"#(Transform the bounding box with the given transformation. The resulting box will be larger if theTrsf contains rotation.)#"  , py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2d::*)( const gp_XY &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const gp_XY &  ) const>(&Bnd_B2d::IsOut),
             R"#(Check the given point for the inclusion in the Box. Returns True if the point is outside.)#"  , py::arg("thePnt")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2d::*)( const gp_XY & ,  const Standard_Real ,  const Standard_Boolean  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const gp_XY & ,  const Standard_Real ,  const Standard_Boolean  ) const>(&Bnd_B2d::IsOut),
             R"#(Check a circle for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theCenter"),  py::arg("theRadius"),  py::arg("isCircleHollow")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d &  ) const>(&Bnd_B2d::IsOut),
             R"#(Check the given box for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d & ,  const gp_Trsf2d &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d & ,  const gp_Trsf2d &  ) const>(&Bnd_B2d::IsOut),
             R"#(Check the given box oriented by the given transformation for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox"),  py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2d::*)( const gp_Ax2d &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const gp_Ax2d &  ) const>(&Bnd_B2d::IsOut),
             R"#(Check the given Line for the intersection with the current box. Returns True if there is no intersection.)#"  , py::arg("theLine")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2d::*)( const gp_XY & ,  const gp_XY &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const gp_XY & ,  const gp_XY &  ) const>(&Bnd_B2d::IsOut),
             R"#(Check the Segment defined by the couple of input points for the intersection with the current box. Returns True if there is no intersection.)#"  , py::arg("theP0"),  py::arg("theP1")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d &  ) const>(&Bnd_B2d::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox'. Returns True if 'this' box is fully inside 'theBox'.)#"  , py::arg("theBox")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d & ,  const gp_Trsf2d &  ) const) static_cast<Standard_Boolean (Bnd_B2d::*)( const Bnd_B2d & ,  const gp_Trsf2d &  ) const>(&Bnd_B2d::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox' transformed by 'theTrsf'. Returns True if 'this' box is fully inside the transformed 'theBox'.)#"  , py::arg("theBox"),  py::arg("theTrsf")
          )
        .def("SetCenter",
             (void (Bnd_B2d::*)( const gp_XY &  ) ) static_cast<void (Bnd_B2d::*)( const gp_XY &  ) >(&Bnd_B2d::SetCenter),
             R"#(Set the Center coordinates)#"  , py::arg("theCenter")
          )
        .def("SetHSize",
             (void (Bnd_B2d::*)( const gp_XY &  ) ) static_cast<void (Bnd_B2d::*)( const gp_XY &  ) >(&Bnd_B2d::SetHSize),
             R"#(Set the HSize (half-diagonal) coordinates. All components of theHSize must be non-negative.)#"  , py::arg("theHSize")
          )
    // 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 Bnd_B2f from ./opencascade/Bnd_B2f.hxx
    klass = m.attr("Bnd_B2f");


    // nested enums

    static_cast<py::class_<Bnd_B2f , shared_ptr<Bnd_B2f>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_XY &,const gp_XY & >()  , py::arg("theCenter"),  py::arg("theHSize") )
    // custom constructors
    // methods
        .def("IsVoid",
             (Standard_Boolean (Bnd_B2f::*)() const) static_cast<Standard_Boolean (Bnd_B2f::*)() const>(&Bnd_B2f::IsVoid),
             R"#(Returns True if the box is void (non-initialized).)#" 
          )
        .def("Clear",
             (void (Bnd_B2f::*)() ) static_cast<void (Bnd_B2f::*)() >(&Bnd_B2f::Clear),
             R"#(Reset the box data.)#" 
          )
        .def("Add",
             (void (Bnd_B2f::*)( const gp_XY &  ) ) static_cast<void (Bnd_B2f::*)( const gp_XY &  ) >(&Bnd_B2f::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B2f::*)( const gp_Pnt2d &  ) ) static_cast<void (Bnd_B2f::*)( const gp_Pnt2d &  ) >(&Bnd_B2f::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B2f::*)( const Bnd_B2f &  ) ) static_cast<void (Bnd_B2f::*)( const Bnd_B2f &  ) >(&Bnd_B2f::Add),
             R"#(Update the box by another box.)#"  , py::arg("theBox")
          )
        .def("CornerMin",
             (gp_XY (Bnd_B2f::*)() const) static_cast<gp_XY (Bnd_B2f::*)() const>(&Bnd_B2f::CornerMin),
             R"#(Query a box corner: (Center - HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("CornerMax",
             (gp_XY (Bnd_B2f::*)() const) static_cast<gp_XY (Bnd_B2f::*)() const>(&Bnd_B2f::CornerMax),
             R"#(Query a box corner: (Center + HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_B2f::*)() const) static_cast<Standard_Real (Bnd_B2f::*)() const>(&Bnd_B2f::SquareExtent),
             R"#(Query the square diagonal. If the box is VOID (see method IsVoid()) then a very big real value is returned.)#" 
          )
        .def("Enlarge",
             (void (Bnd_B2f::*)( const Standard_Real  ) ) static_cast<void (Bnd_B2f::*)( const Standard_Real  ) >(&Bnd_B2f::Enlarge),
             R"#(Extend the Box by the absolute value of theDiff.)#"  , py::arg("theDiff")
          )
        .def("Limit",
             (Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f &  ) ) static_cast<Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f &  ) >(&Bnd_B2f::Limit),
             R"#(Limit the Box by the internals of theOtherBox. Returns True if the limitation takes place, otherwise False indicating that the boxes do not intersect.)#"  , py::arg("theOtherBox")
          )
        .def("Transformed",
             (Bnd_B2f (Bnd_B2f::*)( const gp_Trsf2d &  ) const) static_cast<Bnd_B2f (Bnd_B2f::*)( const gp_Trsf2d &  ) const>(&Bnd_B2f::Transformed),
             R"#(Transform the bounding box with the given transformation. The resulting box will be larger if theTrsf contains rotation.)#"  , py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2f::*)( const gp_XY &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const gp_XY &  ) const>(&Bnd_B2f::IsOut),
             R"#(Check the given point for the inclusion in the Box. Returns True if the point is outside.)#"  , py::arg("thePnt")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2f::*)( const gp_XY & ,  const Standard_Real ,  const Standard_Boolean  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const gp_XY & ,  const Standard_Real ,  const Standard_Boolean  ) const>(&Bnd_B2f::IsOut),
             R"#(Check a circle for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theCenter"),  py::arg("theRadius"),  py::arg("isCircleHollow")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f &  ) const>(&Bnd_B2f::IsOut),
             R"#(Check the given box for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f & ,  const gp_Trsf2d &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f & ,  const gp_Trsf2d &  ) const>(&Bnd_B2f::IsOut),
             R"#(Check the given box oriented by the given transformation for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox"),  py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2f::*)( const gp_Ax2d &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const gp_Ax2d &  ) const>(&Bnd_B2f::IsOut),
             R"#(Check the given Line for the intersection with the current box. Returns True if there is no intersection.)#"  , py::arg("theLine")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B2f::*)( const gp_XY & ,  const gp_XY &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const gp_XY & ,  const gp_XY &  ) const>(&Bnd_B2f::IsOut),
             R"#(Check the Segment defined by the couple of input points for the intersection with the current box. Returns True if there is no intersection.)#"  , py::arg("theP0"),  py::arg("theP1")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f &  ) const>(&Bnd_B2f::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox'. Returns True if 'this' box is fully inside 'theBox'.)#"  , py::arg("theBox")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f & ,  const gp_Trsf2d &  ) const) static_cast<Standard_Boolean (Bnd_B2f::*)( const Bnd_B2f & ,  const gp_Trsf2d &  ) const>(&Bnd_B2f::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox' transformed by 'theTrsf'. Returns True if 'this' box is fully inside the transformed 'theBox'.)#"  , py::arg("theBox"),  py::arg("theTrsf")
          )
        .def("SetCenter",
             (void (Bnd_B2f::*)( const gp_XY &  ) ) static_cast<void (Bnd_B2f::*)( const gp_XY &  ) >(&Bnd_B2f::SetCenter),
             R"#(Set the Center coordinates)#"  , py::arg("theCenter")
          )
        .def("SetHSize",
             (void (Bnd_B2f::*)( const gp_XY &  ) ) static_cast<void (Bnd_B2f::*)( const gp_XY &  ) >(&Bnd_B2f::SetHSize),
             R"#(Set the HSize (half-diagonal) coordinates. All components of theHSize must be non-negative.)#"  , py::arg("theHSize")
          )
    // 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 Bnd_B3d from ./opencascade/Bnd_B3d.hxx
    klass = m.attr("Bnd_B3d");


    // nested enums

    static_cast<py::class_<Bnd_B3d , shared_ptr<Bnd_B3d>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_XYZ &,const gp_XYZ & >()  , py::arg("theCenter"),  py::arg("theHSize") )
    // custom constructors
    // methods
        .def("IsVoid",
             (Standard_Boolean (Bnd_B3d::*)() const) static_cast<Standard_Boolean (Bnd_B3d::*)() const>(&Bnd_B3d::IsVoid),
             R"#(Returns True if the box is void (non-initialized).)#" 
          )
        .def("Clear",
             (void (Bnd_B3d::*)() ) static_cast<void (Bnd_B3d::*)() >(&Bnd_B3d::Clear),
             R"#(Reset the box data.)#" 
          )
        .def("Add",
             (void (Bnd_B3d::*)( const gp_XYZ &  ) ) static_cast<void (Bnd_B3d::*)( const gp_XYZ &  ) >(&Bnd_B3d::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B3d::*)( const gp_Pnt &  ) ) static_cast<void (Bnd_B3d::*)( const gp_Pnt &  ) >(&Bnd_B3d::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B3d::*)( const Bnd_B3d &  ) ) static_cast<void (Bnd_B3d::*)( const Bnd_B3d &  ) >(&Bnd_B3d::Add),
             R"#(Update the box by another box.)#"  , py::arg("theBox")
          )
        .def("CornerMin",
             (gp_XYZ (Bnd_B3d::*)() const) static_cast<gp_XYZ (Bnd_B3d::*)() const>(&Bnd_B3d::CornerMin),
             R"#(Query the lower corner: (Center - HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("CornerMax",
             (gp_XYZ (Bnd_B3d::*)() const) static_cast<gp_XYZ (Bnd_B3d::*)() const>(&Bnd_B3d::CornerMax),
             R"#(Query the upper corner: (Center + HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_B3d::*)() const) static_cast<Standard_Real (Bnd_B3d::*)() const>(&Bnd_B3d::SquareExtent),
             R"#(Query the square diagonal. If the box is VOID (see method IsVoid()) then a very big real value is returned.)#" 
          )
        .def("Enlarge",
             (void (Bnd_B3d::*)( const Standard_Real  ) ) static_cast<void (Bnd_B3d::*)( const Standard_Real  ) >(&Bnd_B3d::Enlarge),
             R"#(Extend the Box by the absolute value of theDiff.)#"  , py::arg("theDiff")
          )
        .def("Limit",
             (Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d &  ) ) static_cast<Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d &  ) >(&Bnd_B3d::Limit),
             R"#(Limit the Box by the internals of theOtherBox. Returns True if the limitation takes place, otherwise False indicating that the boxes do not intersect.)#"  , py::arg("theOtherBox")
          )
        .def("Transformed",
             (Bnd_B3d (Bnd_B3d::*)( const gp_Trsf &  ) const) static_cast<Bnd_B3d (Bnd_B3d::*)( const gp_Trsf &  ) const>(&Bnd_B3d::Transformed),
             R"#(Transform the bounding box with the given transformation. The resulting box will be larger if theTrsf contains rotation.)#"  , py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3d::*)( const gp_XYZ &  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const gp_XYZ &  ) const>(&Bnd_B3d::IsOut),
             R"#(Check the given point for the inclusion in the Box. Returns True if the point is outside.)#"  , py::arg("thePnt")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3d::*)( const gp_XYZ & ,  const Standard_Real ,  const Standard_Boolean  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const gp_XYZ & ,  const Standard_Real ,  const Standard_Boolean  ) const>(&Bnd_B3d::IsOut),
             R"#(Check a sphere for the intersection with the current box. Returns True if there is no intersection between boxes. If the parameter 'IsSphereHollow' is True, then the intersection is not reported for a box that is completely inside the sphere (otherwise this method would report an intersection).)#"  , py::arg("theCenter"),  py::arg("theRadius"),  py::arg("isSphereHollow")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d &  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d &  ) const>(&Bnd_B3d::IsOut),
             R"#(Check the given box for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d & ,  const gp_Trsf &  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d & ,  const gp_Trsf &  ) const>(&Bnd_B3d::IsOut),
             R"#(Check the given box oriented by the given transformation for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox"),  py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3d::*)( const gp_Ax1 & ,  const Standard_Boolean ,  const Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const gp_Ax1 & ,  const Standard_Boolean ,  const Standard_Real  ) const>(&Bnd_B3d::IsOut),
             R"#(Check the given Line for the intersection with the current box. Returns True if there is no intersection. isRay==True means intersection check with the positive half-line theOverthickness is the addition to the size of the current box (may be negative). If positive, it can be treated as the thickness of the line 'theLine' or the radius of the cylinder along 'theLine')#"  , py::arg("theLine"),  py::arg("isRay")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theOverthickness")=static_cast<const Standard_Real>(0.0)
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3d::*)( const gp_Ax3 &  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const gp_Ax3 &  ) const>(&Bnd_B3d::IsOut),
             R"#(Check the given Plane for the intersection with the current box. Returns True if there is no intersection.)#"  , py::arg("thePlane")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d &  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d &  ) const>(&Bnd_B3d::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox'. Returns True if 'this' box is fully inside 'theBox'.)#"  , py::arg("theBox")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d & ,  const gp_Trsf &  ) const) static_cast<Standard_Boolean (Bnd_B3d::*)( const Bnd_B3d & ,  const gp_Trsf &  ) const>(&Bnd_B3d::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox' transformed by 'theTrsf'. Returns True if 'this' box is fully inside the transformed 'theBox'.)#"  , py::arg("theBox"),  py::arg("theTrsf")
          )
        .def("SetCenter",
             (void (Bnd_B3d::*)( const gp_XYZ &  ) ) static_cast<void (Bnd_B3d::*)( const gp_XYZ &  ) >(&Bnd_B3d::SetCenter),
             R"#(Set the Center coordinates)#"  , py::arg("theCenter")
          )
        .def("SetHSize",
             (void (Bnd_B3d::*)( const gp_XYZ &  ) ) static_cast<void (Bnd_B3d::*)( const gp_XYZ &  ) >(&Bnd_B3d::SetHSize),
             R"#(Set the HSize (half-diagonal) coordinates. All components of theHSize must be non-negative.)#"  , py::arg("theHSize")
          )
    // 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 Bnd_B3f from ./opencascade/Bnd_B3f.hxx
    klass = m.attr("Bnd_B3f");


    // nested enums

    static_cast<py::class_<Bnd_B3f , shared_ptr<Bnd_B3f>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_XYZ &,const gp_XYZ & >()  , py::arg("theCenter"),  py::arg("theHSize") )
    // custom constructors
    // methods
        .def("IsVoid",
             (Standard_Boolean (Bnd_B3f::*)() const) static_cast<Standard_Boolean (Bnd_B3f::*)() const>(&Bnd_B3f::IsVoid),
             R"#(Returns True if the box is void (non-initialized).)#" 
          )
        .def("Clear",
             (void (Bnd_B3f::*)() ) static_cast<void (Bnd_B3f::*)() >(&Bnd_B3f::Clear),
             R"#(Reset the box data.)#" 
          )
        .def("Add",
             (void (Bnd_B3f::*)( const gp_XYZ &  ) ) static_cast<void (Bnd_B3f::*)( const gp_XYZ &  ) >(&Bnd_B3f::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B3f::*)( const gp_Pnt &  ) ) static_cast<void (Bnd_B3f::*)( const gp_Pnt &  ) >(&Bnd_B3f::Add),
             R"#(Update the box by a point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_B3f::*)( const Bnd_B3f &  ) ) static_cast<void (Bnd_B3f::*)( const Bnd_B3f &  ) >(&Bnd_B3f::Add),
             R"#(Update the box by another box.)#"  , py::arg("theBox")
          )
        .def("CornerMin",
             (gp_XYZ (Bnd_B3f::*)() const) static_cast<gp_XYZ (Bnd_B3f::*)() const>(&Bnd_B3f::CornerMin),
             R"#(Query the lower corner: (Center - HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("CornerMax",
             (gp_XYZ (Bnd_B3f::*)() const) static_cast<gp_XYZ (Bnd_B3f::*)() const>(&Bnd_B3f::CornerMax),
             R"#(Query the upper corner: (Center + HSize). You must make sure that the box is NOT VOID (see IsVoid()), otherwise the method returns irrelevant result.)#" 
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_B3f::*)() const) static_cast<Standard_Real (Bnd_B3f::*)() const>(&Bnd_B3f::SquareExtent),
             R"#(Query the square diagonal. If the box is VOID (see method IsVoid()) then a very big real value is returned.)#" 
          )
        .def("Enlarge",
             (void (Bnd_B3f::*)( const Standard_Real  ) ) static_cast<void (Bnd_B3f::*)( const Standard_Real  ) >(&Bnd_B3f::Enlarge),
             R"#(Extend the Box by the absolute value of theDiff.)#"  , py::arg("theDiff")
          )
        .def("Limit",
             (Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f &  ) ) static_cast<Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f &  ) >(&Bnd_B3f::Limit),
             R"#(Limit the Box by the internals of theOtherBox. Returns True if the limitation takes place, otherwise False indicating that the boxes do not intersect.)#"  , py::arg("theOtherBox")
          )
        .def("Transformed",
             (Bnd_B3f (Bnd_B3f::*)( const gp_Trsf &  ) const) static_cast<Bnd_B3f (Bnd_B3f::*)( const gp_Trsf &  ) const>(&Bnd_B3f::Transformed),
             R"#(Transform the bounding box with the given transformation. The resulting box will be larger if theTrsf contains rotation.)#"  , py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3f::*)( const gp_XYZ &  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const gp_XYZ &  ) const>(&Bnd_B3f::IsOut),
             R"#(Check the given point for the inclusion in the Box. Returns True if the point is outside.)#"  , py::arg("thePnt")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3f::*)( const gp_XYZ & ,  const Standard_Real ,  const Standard_Boolean  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const gp_XYZ & ,  const Standard_Real ,  const Standard_Boolean  ) const>(&Bnd_B3f::IsOut),
             R"#(Check a sphere for the intersection with the current box. Returns True if there is no intersection between boxes. If the parameter 'IsSphereHollow' is True, then the intersection is not reported for a box that is completely inside the sphere (otherwise this method would report an intersection).)#"  , py::arg("theCenter"),  py::arg("theRadius"),  py::arg("isSphereHollow")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f &  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f &  ) const>(&Bnd_B3f::IsOut),
             R"#(Check the given box for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f & ,  const gp_Trsf &  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f & ,  const gp_Trsf &  ) const>(&Bnd_B3f::IsOut),
             R"#(Check the given box oriented by the given transformation for the intersection with the current box. Returns True if there is no intersection between boxes.)#"  , py::arg("theOtherBox"),  py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3f::*)( const gp_Ax1 & ,  const Standard_Boolean ,  const Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const gp_Ax1 & ,  const Standard_Boolean ,  const Standard_Real  ) const>(&Bnd_B3f::IsOut),
             R"#(Check the given Line for the intersection with the current box. Returns True if there is no intersection. isRay==True means intersection check with the positive half-line theOverthickness is the addition to the size of the current box (may be negative). If positive, it can be treated as the thickness of the line 'theLine' or the radius of the cylinder along 'theLine')#"  , py::arg("theLine"),  py::arg("isRay")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("theOverthickness")=static_cast<const Standard_Real>(0.0)
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_B3f::*)( const gp_Ax3 &  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const gp_Ax3 &  ) const>(&Bnd_B3f::IsOut),
             R"#(Check the given Plane for the intersection with the current box. Returns True if there is no intersection.)#"  , py::arg("thePlane")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f &  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f &  ) const>(&Bnd_B3f::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox'. Returns True if 'this' box is fully inside 'theBox'.)#"  , py::arg("theBox")
          )
        .def("IsIn",
             (Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f & ,  const gp_Trsf &  ) const) static_cast<Standard_Boolean (Bnd_B3f::*)( const Bnd_B3f & ,  const gp_Trsf &  ) const>(&Bnd_B3f::IsIn),
             R"#(Check that the box 'this' is inside the given box 'theBox' transformed by 'theTrsf'. Returns True if 'this' box is fully inside the transformed 'theBox'.)#"  , py::arg("theBox"),  py::arg("theTrsf")
          )
        .def("SetCenter",
             (void (Bnd_B3f::*)( const gp_XYZ &  ) ) static_cast<void (Bnd_B3f::*)( const gp_XYZ &  ) >(&Bnd_B3f::SetCenter),
             R"#(Set the Center coordinates)#"  , py::arg("theCenter")
          )
        .def("SetHSize",
             (void (Bnd_B3f::*)( const gp_XYZ &  ) ) static_cast<void (Bnd_B3f::*)( const gp_XYZ &  ) >(&Bnd_B3f::SetHSize),
             R"#(Set the HSize (half-diagonal) coordinates. All components of theHSize must be non-negative.)#"  , py::arg("theHSize")
          )
    // 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 Bnd_BoundSortBox from ./opencascade/Bnd_BoundSortBox.hxx
    klass = m.attr("Bnd_BoundSortBox");


    // nested enums

    static_cast<py::class_<Bnd_BoundSortBox , shared_ptr<Bnd_BoundSortBox>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Initialize",
             (void (Bnd_BoundSortBox::*)( const Bnd_Box & ,  const opencascade::handle<Bnd_HArray1OfBox> &  ) ) static_cast<void (Bnd_BoundSortBox::*)( const Bnd_Box & ,  const opencascade::handle<Bnd_HArray1OfBox> &  ) >(&Bnd_BoundSortBox::Initialize),
             R"#(Initializes this comparison algorithm with - the set of bounding boxes SetOfBox.)#"  , py::arg("CompleteBox"),  py::arg("SetOfBox")
          )
        .def("Initialize",
             (void (Bnd_BoundSortBox::*)( const opencascade::handle<Bnd_HArray1OfBox> &  ) ) static_cast<void (Bnd_BoundSortBox::*)( const opencascade::handle<Bnd_HArray1OfBox> &  ) >(&Bnd_BoundSortBox::Initialize),
             R"#(Initializes this comparison algorithm with - the set of bounding boxes SetOfBox, where CompleteBox is given as the global bounding box of SetOfBox.)#"  , py::arg("SetOfBox")
          )
        .def("Initialize",
             (void (Bnd_BoundSortBox::*)( const Bnd_Box & ,  const Standard_Integer  ) ) static_cast<void (Bnd_BoundSortBox::*)( const Bnd_Box & ,  const Standard_Integer  ) >(&Bnd_BoundSortBox::Initialize),
             R"#(Initializes this comparison algorithm, giving it only - the maximum number nbComponents of the bounding boxes to be managed. Use the Add function to define the array of bounding boxes to be sorted by this algorithm.)#"  , py::arg("CompleteBox"),  py::arg("nbComponents")
          )
        .def("Add",
             (void (Bnd_BoundSortBox::*)( const Bnd_Box & ,  const Standard_Integer  ) ) static_cast<void (Bnd_BoundSortBox::*)( const Bnd_Box & ,  const Standard_Integer  ) >(&Bnd_BoundSortBox::Add),
             R"#(Adds the bounding box theBox at position boxIndex in the array of boxes to be sorted by this comparison algorithm. This function is used only in conjunction with the third syntax described in the synopsis of Initialize.)#"  , py::arg("theBox"),  py::arg("boxIndex")
          )
        .def("Compare",
             (const TColStd_ListOfInteger & (Bnd_BoundSortBox::*)( const Bnd_Box &  ) ) static_cast<const TColStd_ListOfInteger & (Bnd_BoundSortBox::*)( const Bnd_Box &  ) >(&Bnd_BoundSortBox::Compare),
             R"#(Compares the bounding box theBox, with the set of bounding boxes to be sorted by this comparison algorithm, and returns the list of intersecting bounding boxes as a list of indexes on the array of bounding boxes used by this algorithm.)#"  , py::arg("theBox")
          )
        .def("Compare",
             (const TColStd_ListOfInteger & (Bnd_BoundSortBox::*)( const gp_Pln &  ) ) static_cast<const TColStd_ListOfInteger & (Bnd_BoundSortBox::*)( const gp_Pln &  ) >(&Bnd_BoundSortBox::Compare),
             R"#(Compares the plane P with the set of bounding boxes to be sorted by this comparison algorithm, and returns the list of intersecting bounding boxes as a list of indexes on the array of bounding boxes used by this algorithm.)#"  , py::arg("P")
          )
        .def("Dump",
             (void (Bnd_BoundSortBox::*)() const) static_cast<void (Bnd_BoundSortBox::*)() const>(&Bnd_BoundSortBox::Dump),
             R"#(None)#" 
          )
        .def("Destroy",
             (void (Bnd_BoundSortBox::*)() ) static_cast<void (Bnd_BoundSortBox::*)() >(&Bnd_BoundSortBox::Destroy),
             R"#(None)#" 
          )
    // 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 Bnd_Box from ./opencascade/Bnd_Box.hxx
    klass = m.attr("Bnd_Box");


    // nested enums

    static_cast<py::class_<Bnd_Box , shared_ptr<Bnd_Box>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_Pnt &,const gp_Pnt & >()  , py::arg("theMin"),  py::arg("theMax") )
    // custom constructors
    // methods
        .def("SetWhole",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::SetWhole),
             R"#(Sets this bounding box so that it covers the whole of 3D space. It is infinitely long in all directions.)#" 
          )
        .def("SetVoid",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::SetVoid),
             R"#(Sets this bounding box so that it is empty. All points are outside a void box.)#" 
          )
        .def("Set",
             (void (Bnd_Box::*)( const gp_Pnt &  ) ) static_cast<void (Bnd_Box::*)( const gp_Pnt &  ) >(&Bnd_Box::Set),
             R"#(Sets this bounding box so that it bounds - the point P. This involves first setting this bounding box to be void and then adding the point P.)#"  , py::arg("P")
          )
        .def("Set",
             (void (Bnd_Box::*)( const gp_Pnt & ,  const gp_Dir &  ) ) static_cast<void (Bnd_Box::*)( const gp_Pnt & ,  const gp_Dir &  ) >(&Bnd_Box::Set),
             R"#(Sets this bounding box so that it bounds the half-line defined by point P and direction D, i.e. all points M defined by M=P+u*D, where u is greater than or equal to 0, are inside the bounding volume. This involves first setting this box to be void and then adding the half-line.)#"  , py::arg("P"),  py::arg("D")
          )
        .def("Update",
             (void (Bnd_Box::*)( const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (Bnd_Box::*)( const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&Bnd_Box::Update),
             R"#(Enlarges this bounding box, if required, so that it contains at least: - interval [ aXmin,aXmax ] in the "X Direction", - interval [ aYmin,aYmax ] in the "Y Direction", - interval [ aZmin,aZmax ] in the "Z Direction";)#"  , py::arg("aXmin"),  py::arg("aYmin"),  py::arg("aZmin"),  py::arg("aXmax"),  py::arg("aYmax"),  py::arg("aZmax")
          )
        .def("Update",
             (void (Bnd_Box::*)( const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (Bnd_Box::*)( const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&Bnd_Box::Update),
             R"#(Adds a point of coordinates (X,Y,Z) to this bounding box.)#"  , py::arg("X"),  py::arg("Y"),  py::arg("Z")
          )
        .def("GetGap",
             (Standard_Real (Bnd_Box::*)() const) static_cast<Standard_Real (Bnd_Box::*)() const>(&Bnd_Box::GetGap),
             R"#(Returns the gap of this bounding box.)#" 
          )
        .def("SetGap",
             (void (Bnd_Box::*)( const Standard_Real  ) ) static_cast<void (Bnd_Box::*)( const Standard_Real  ) >(&Bnd_Box::SetGap),
             R"#(Set the gap of this bounding box to abs(Tol).)#"  , py::arg("Tol")
          )
        .def("Enlarge",
             (void (Bnd_Box::*)( const Standard_Real  ) ) static_cast<void (Bnd_Box::*)( const Standard_Real  ) >(&Bnd_Box::Enlarge),
             R"#(Enlarges the box with a tolerance value. (minvalues-Abs(<tol>) and maxvalues+Abs(<tol>)) This means that the minimum values of its X, Y and Z intervals of definition, when they are finite, are reduced by the absolute value of Tol, while the maximum values are increased by the same amount.)#"  , py::arg("Tol")
          )
        .def("CornerMin",
             (gp_Pnt (Bnd_Box::*)() const) static_cast<gp_Pnt (Bnd_Box::*)() const>(&Bnd_Box::CornerMin),
             R"#(Returns the lower corner of this bounding box. The gap is included. If this bounding box is infinite (i.e. "open"), returned values may be equal to +/- Precision::Infinite(). Standard_ConstructionError exception will be thrown if the box is void. if IsVoid())#" 
          )
        .def("CornerMax",
             (gp_Pnt (Bnd_Box::*)() const) static_cast<gp_Pnt (Bnd_Box::*)() const>(&Bnd_Box::CornerMax),
             R"#(Returns the upper corner of this bounding box. The gap is included. If this bounding box is infinite (i.e. "open"), returned values may be equal to +/- Precision::Infinite(). Standard_ConstructionError exception will be thrown if the box is void. if IsVoid())#" 
          )
        .def("OpenXmin",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::OpenXmin),
             R"#(The Box will be infinitely long in the Xmin direction.)#" 
          )
        .def("OpenXmax",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::OpenXmax),
             R"#(The Box will be infinitely long in the Xmax direction.)#" 
          )
        .def("OpenYmin",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::OpenYmin),
             R"#(The Box will be infinitely long in the Ymin direction.)#" 
          )
        .def("OpenYmax",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::OpenYmax),
             R"#(The Box will be infinitely long in the Ymax direction.)#" 
          )
        .def("OpenZmin",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::OpenZmin),
             R"#(The Box will be infinitely long in the Zmin direction.)#" 
          )
        .def("OpenZmax",
             (void (Bnd_Box::*)() ) static_cast<void (Bnd_Box::*)() >(&Bnd_Box::OpenZmax),
             R"#(The Box will be infinitely long in the Zmax direction.)#" 
          )
        .def("IsOpen",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpen),
             R"#(Returns true if this bounding box has at least one open direction.)#" 
          )
        .def("IsOpenXmin",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpenXmin),
             R"#(Returns true if this bounding box is open in the Xmin direction.)#" 
          )
        .def("IsOpenXmax",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpenXmax),
             R"#(Returns true if this bounding box is open in the Xmax direction.)#" 
          )
        .def("IsOpenYmin",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpenYmin),
             R"#(Returns true if this bounding box is open in the Ymix direction.)#" 
          )
        .def("IsOpenYmax",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpenYmax),
             R"#(Returns true if this bounding box is open in the Ymax direction.)#" 
          )
        .def("IsOpenZmin",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpenZmin),
             R"#(Returns true if this bounding box is open in the Zmin direction.)#" 
          )
        .def("IsOpenZmax",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsOpenZmax),
             R"#(Returns true if this bounding box is open in the Zmax direction.)#" 
          )
        .def("IsWhole",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsWhole),
             R"#(Returns true if this bounding box is infinite in all 6 directions (WholeSpace flag).)#" 
          )
        .def("IsVoid",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::IsVoid),
             R"#(Returns true if this bounding box is empty (Void flag).)#" 
          )
        .def("IsXThin",
             (Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const>(&Bnd_Box::IsXThin),
             R"#(true if xmax-xmin < tol.)#"  , py::arg("tol")
          )
        .def("IsYThin",
             (Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const>(&Bnd_Box::IsYThin),
             R"#(true if ymax-ymin < tol.)#"  , py::arg("tol")
          )
        .def("IsZThin",
             (Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const>(&Bnd_Box::IsZThin),
             R"#(true if zmax-zmin < tol.)#"  , py::arg("tol")
          )
        .def("IsThin",
             (Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const Standard_Real  ) const>(&Bnd_Box::IsThin),
             R"#(Returns true if IsXThin, IsYThin and IsZThin are all true, i.e. if the box is thin in all three dimensions.)#"  , py::arg("tol")
          )
        .def("Transformed",
             (Bnd_Box (Bnd_Box::*)( const gp_Trsf &  ) const) static_cast<Bnd_Box (Bnd_Box::*)( const gp_Trsf &  ) const>(&Bnd_Box::Transformed),
             R"#(Returns a bounding box which is the result of applying the transformation T to this bounding box. Warning Applying a geometric transformation (for example, a rotation) to a bounding box generally increases its dimensions. This is not optimal for algorithms which use it.)#"  , py::arg("T")
          )
        .def("Add",
             (void (Bnd_Box::*)( const Bnd_Box &  ) ) static_cast<void (Bnd_Box::*)( const Bnd_Box &  ) >(&Bnd_Box::Add),
             R"#(Adds the box <Other> to <me>.)#"  , py::arg("Other")
          )
        .def("Add",
             (void (Bnd_Box::*)( const gp_Pnt &  ) ) static_cast<void (Bnd_Box::*)( const gp_Pnt &  ) >(&Bnd_Box::Add),
             R"#(Adds a Pnt to the box.)#"  , py::arg("P")
          )
        .def("Add",
             (void (Bnd_Box::*)( const gp_Pnt & ,  const gp_Dir &  ) ) static_cast<void (Bnd_Box::*)( const gp_Pnt & ,  const gp_Dir &  ) >(&Bnd_Box::Add),
             R"#(Extends <me> from the Pnt <P> in the direction <D>.)#"  , py::arg("P"),  py::arg("D")
          )
        .def("Add",
             (void (Bnd_Box::*)( const gp_Dir &  ) ) static_cast<void (Bnd_Box::*)( const gp_Dir &  ) >(&Bnd_Box::Add),
             R"#(Extends the Box in the given Direction, i.e. adds an half-line. The box may become infinite in 1,2 or 3 directions.)#"  , py::arg("D")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const gp_Pnt &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const gp_Pnt &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns True if the Pnt is out the box.)#"  , py::arg("P")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const gp_Lin &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const gp_Lin &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns False if the line intersects the box.)#"  , py::arg("L")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const gp_Pln &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const gp_Pln &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns False if the plane intersects the box.)#"  , py::arg("P")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const Bnd_Box &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const Bnd_Box &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns False if the <Box> intersects or is inside <me>.)#"  , py::arg("Other")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const Bnd_Box & ,  const gp_Trsf &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const Bnd_Box & ,  const gp_Trsf &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns False if the transformed <Box> intersects or is inside <me>.)#"  , py::arg("Other"),  py::arg("T")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const gp_Trsf & ,  const Bnd_Box & ,  const gp_Trsf &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const gp_Trsf & ,  const Bnd_Box & ,  const gp_Trsf &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns False if the transformed <Box> intersects or is inside the transformed box <me>.)#"  , py::arg("T1"),  py::arg("Other"),  py::arg("T2")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box::*)( const gp_Pnt & ,  const gp_Pnt & ,  const gp_Dir &  ) const) static_cast<Standard_Boolean (Bnd_Box::*)( const gp_Pnt & ,  const gp_Pnt & ,  const gp_Dir &  ) const>(&Bnd_Box::IsOut),
             R"#(Returns False if the flat band lying between two parallel lines represented by their reference points <P1>, <P2> and direction <D> intersects the box.)#"  , py::arg("P1"),  py::arg("P2"),  py::arg("D")
          )
        .def("Distance",
             (Standard_Real (Bnd_Box::*)( const Bnd_Box &  ) const) static_cast<Standard_Real (Bnd_Box::*)( const Bnd_Box &  ) const>(&Bnd_Box::Distance),
             R"#(Computes the minimum distance between two boxes.)#"  , py::arg("Other")
          )
        .def("Dump",
             (void (Bnd_Box::*)() const) static_cast<void (Bnd_Box::*)() const>(&Bnd_Box::Dump),
             R"#(None)#" 
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_Box::*)() const) static_cast<Standard_Real (Bnd_Box::*)() const>(&Bnd_Box::SquareExtent),
             R"#(Computes the squared diagonal of me.)#" 
          )
        .def("FinitePart",
             (Bnd_Box (Bnd_Box::*)() const) static_cast<Bnd_Box (Bnd_Box::*)() const>(&Bnd_Box::FinitePart),
             R"#(Returns a finite part of an infinite bounding box (returns self if this is already finite box). This can be a Void box in case if its sides has been defined as infinite (Open) without adding any finite points. WARNING! This method relies on Open flags, the infinite points added using Add() method will be returned as is.)#" 
          )
        .def("HasFinitePart",
             (Standard_Boolean (Bnd_Box::*)() const) static_cast<Standard_Boolean (Bnd_Box::*)() const>(&Bnd_Box::HasFinitePart),
             R"#(Returns TRUE if this box has finite part.)#" 
          )
        .def("DumpJson",
             (void (Bnd_Box::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (Bnd_Box::*)( std::ostream & ,  Standard_Integer  ) const>(&Bnd_Box::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
        .def("InitFromJson",
             (Standard_Boolean (Bnd_Box::*)(  const std::stringstream & ,  Standard_Integer &  ) ) static_cast<Standard_Boolean (Bnd_Box::*)(  const std::stringstream & ,  Standard_Integer &  ) >(&Bnd_Box::InitFromJson),
             R"#(Inits the content of me from the stream)#"  , py::arg("theSStream"),  py::arg("theStreamPos")
          )
    // methods using call by reference i.s.o. return
        .def("Get",
             []( Bnd_Box &self   ){
                 Standard_Real  theXmin;
                Standard_Real  theYmin;
                Standard_Real  theZmin;
                Standard_Real  theXmax;
                Standard_Real  theYmax;
                Standard_Real  theZmax;

                 self.Get(theXmin,theYmin,theZmin,theXmax,theYmax,theZmax);
                 
                 return std::make_tuple(theXmin,theYmin,theZmin,theXmax,theYmax,theZmax); },
             R"#(Returns the bounds of this bounding box. The gap is included. If this bounding box is infinite (i.e. "open"), returned values may be equal to +/- Precision::Infinite(). Standard_ConstructionError exception will be thrown if the box is void. if IsVoid())#" 
          )
    // 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 Bnd_Box2d from ./opencascade/Bnd_Box2d.hxx
    klass = m.attr("Bnd_Box2d");


    // nested enums

    static_cast<py::class_<Bnd_Box2d , shared_ptr<Bnd_Box2d>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("SetWhole",
             (void (Bnd_Box2d::*)() ) static_cast<void (Bnd_Box2d::*)() >(&Bnd_Box2d::SetWhole),
             R"#(Sets this bounding box so that it covers the whole 2D space, i.e. it is infinite in all directions.)#" 
          )
        .def("SetVoid",
             (void (Bnd_Box2d::*)() ) static_cast<void (Bnd_Box2d::*)() >(&Bnd_Box2d::SetVoid),
             R"#(Sets this 2D bounding box so that it is empty. All points are outside a void box.)#" 
          )
        .def("Set",
             (void (Bnd_Box2d::*)( const gp_Pnt2d &  ) ) static_cast<void (Bnd_Box2d::*)( const gp_Pnt2d &  ) >(&Bnd_Box2d::Set),
             R"#(Sets this 2D bounding box so that it bounds the point P. This involves first setting this bounding box to be void and then adding the point PThe rectangle bounds the point <P>.)#"  , py::arg("thePnt")
          )
        .def("Set",
             (void (Bnd_Box2d::*)( const gp_Pnt2d & ,  const gp_Dir2d &  ) ) static_cast<void (Bnd_Box2d::*)( const gp_Pnt2d & ,  const gp_Dir2d &  ) >(&Bnd_Box2d::Set),
             R"#(Sets this 2D bounding box so that it bounds the half-line defined by point P and direction D, i.e. all points M defined by M=P+u*D, where u is greater than or equal to 0, are inside the bounding area. This involves first setting this 2D box to be void and then adding the half-line.)#"  , py::arg("thePnt"),  py::arg("theDir")
          )
        .def("Update",
             (void (Bnd_Box2d::*)( const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (Bnd_Box2d::*)( const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&Bnd_Box2d::Update),
             R"#(Enlarges this 2D bounding box, if required, so that it contains at least: - interval [ aXmin,aXmax ] in the "X Direction", - interval [ aYmin,aYmax ] in the "Y Direction")#"  , py::arg("aXmin"),  py::arg("aYmin"),  py::arg("aXmax"),  py::arg("aYmax")
          )
        .def("Update",
             (void (Bnd_Box2d::*)( const Standard_Real ,  const Standard_Real  ) ) static_cast<void (Bnd_Box2d::*)( const Standard_Real ,  const Standard_Real  ) >(&Bnd_Box2d::Update),
             R"#(Adds a point of coordinates (X,Y) to this bounding box.)#"  , py::arg("X"),  py::arg("Y")
          )
        .def("GetGap",
             (Standard_Real (Bnd_Box2d::*)() const) static_cast<Standard_Real (Bnd_Box2d::*)() const>(&Bnd_Box2d::GetGap),
             R"#(Returns the gap of this 2D bounding box.)#" 
          )
        .def("SetGap",
             (void (Bnd_Box2d::*)( const Standard_Real  ) ) static_cast<void (Bnd_Box2d::*)( const Standard_Real  ) >(&Bnd_Box2d::SetGap),
             R"#(Set the gap of this 2D bounding box to abs(Tol).)#"  , py::arg("Tol")
          )
        .def("Enlarge",
             (void (Bnd_Box2d::*)( const Standard_Real  ) ) static_cast<void (Bnd_Box2d::*)( const Standard_Real  ) >(&Bnd_Box2d::Enlarge),
             R"#(Enlarges the box with a tolerance value. This means that the minimum values of its X and Y intervals of definition, when they are finite, are reduced by the absolute value of Tol, while the maximum values are increased by the same amount.)#"  , py::arg("theTol")
          )
        .def("OpenXmin",
             (void (Bnd_Box2d::*)() ) static_cast<void (Bnd_Box2d::*)() >(&Bnd_Box2d::OpenXmin),
             R"#(The Box will be infinitely long in the Xmin direction.)#" 
          )
        .def("OpenXmax",
             (void (Bnd_Box2d::*)() ) static_cast<void (Bnd_Box2d::*)() >(&Bnd_Box2d::OpenXmax),
             R"#(The Box will be infinitely long in the Xmax direction.)#" 
          )
        .def("OpenYmin",
             (void (Bnd_Box2d::*)() ) static_cast<void (Bnd_Box2d::*)() >(&Bnd_Box2d::OpenYmin),
             R"#(The Box will be infinitely long in the Ymin direction.)#" 
          )
        .def("OpenYmax",
             (void (Bnd_Box2d::*)() ) static_cast<void (Bnd_Box2d::*)() >(&Bnd_Box2d::OpenYmax),
             R"#(The Box will be infinitely long in the Ymax direction.)#" 
          )
        .def("IsOpenXmin",
             (Standard_Boolean (Bnd_Box2d::*)() const) static_cast<Standard_Boolean (Bnd_Box2d::*)() const>(&Bnd_Box2d::IsOpenXmin),
             R"#(Returns true if this bounding box is open in the Xmin direction.)#" 
          )
        .def("IsOpenXmax",
             (Standard_Boolean (Bnd_Box2d::*)() const) static_cast<Standard_Boolean (Bnd_Box2d::*)() const>(&Bnd_Box2d::IsOpenXmax),
             R"#(Returns true if this bounding box is open in the Xmax direction.)#" 
          )
        .def("IsOpenYmin",
             (Standard_Boolean (Bnd_Box2d::*)() const) static_cast<Standard_Boolean (Bnd_Box2d::*)() const>(&Bnd_Box2d::IsOpenYmin),
             R"#(Returns true if this bounding box is open in the Ymin direction.)#" 
          )
        .def("IsOpenYmax",
             (Standard_Boolean (Bnd_Box2d::*)() const) static_cast<Standard_Boolean (Bnd_Box2d::*)() const>(&Bnd_Box2d::IsOpenYmax),
             R"#(Returns true if this bounding box is open in the Ymax direction.)#" 
          )
        .def("IsWhole",
             (Standard_Boolean (Bnd_Box2d::*)() const) static_cast<Standard_Boolean (Bnd_Box2d::*)() const>(&Bnd_Box2d::IsWhole),
             R"#(Returns true if this bounding box is infinite in all 4 directions (Whole Space flag).)#" 
          )
        .def("IsVoid",
             (Standard_Boolean (Bnd_Box2d::*)() const) static_cast<Standard_Boolean (Bnd_Box2d::*)() const>(&Bnd_Box2d::IsVoid),
             R"#(Returns true if this 2D bounding box is empty (Void flag).)#" 
          )
        .def("Transformed",
             (Bnd_Box2d (Bnd_Box2d::*)( const gp_Trsf2d &  ) const) static_cast<Bnd_Box2d (Bnd_Box2d::*)( const gp_Trsf2d &  ) const>(&Bnd_Box2d::Transformed),
             R"#(Returns a bounding box which is the result of applying the transformation T to this bounding box. Warning Applying a geometric transformation (for example, a rotation) to a bounding box generally increases its dimensions. This is not optimal for algorithms which use it.)#"  , py::arg("T")
          )
        .def("Add",
             (void (Bnd_Box2d::*)( const Bnd_Box2d &  ) ) static_cast<void (Bnd_Box2d::*)( const Bnd_Box2d &  ) >(&Bnd_Box2d::Add),
             R"#(Adds the 2d box <Other> to <me>.)#"  , py::arg("Other")
          )
        .def("Add",
             (void (Bnd_Box2d::*)( const gp_Pnt2d &  ) ) static_cast<void (Bnd_Box2d::*)( const gp_Pnt2d &  ) >(&Bnd_Box2d::Add),
             R"#(Adds the 2d point.)#"  , py::arg("thePnt")
          )
        .def("Add",
             (void (Bnd_Box2d::*)( const gp_Pnt2d & ,  const gp_Dir2d &  ) ) static_cast<void (Bnd_Box2d::*)( const gp_Pnt2d & ,  const gp_Dir2d &  ) >(&Bnd_Box2d::Add),
             R"#(Extends bounding box from thePnt in the direction theDir.)#"  , py::arg("thePnt"),  py::arg("theDir")
          )
        .def("Add",
             (void (Bnd_Box2d::*)( const gp_Dir2d &  ) ) static_cast<void (Bnd_Box2d::*)( const gp_Dir2d &  ) >(&Bnd_Box2d::Add),
             R"#(Extends the Box in the given Direction, i.e. adds a half-line. The box may become infinite in 1 or 2 directions.)#"  , py::arg("D")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box2d::*)( const gp_Pnt2d &  ) const) static_cast<Standard_Boolean (Bnd_Box2d::*)( const gp_Pnt2d &  ) const>(&Bnd_Box2d::IsOut),
             R"#(Returns True if the 2d pnt <P> is out <me>.)#"  , py::arg("P")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box2d::*)( const gp_Lin2d &  ) const) static_cast<Standard_Boolean (Bnd_Box2d::*)( const gp_Lin2d &  ) const>(&Bnd_Box2d::IsOut),
             R"#(Returns True if the line doesn't intersect the box.)#"  , py::arg("theL")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box2d::*)( const gp_Pnt2d & ,  const gp_Pnt2d &  ) const) static_cast<Standard_Boolean (Bnd_Box2d::*)( const gp_Pnt2d & ,  const gp_Pnt2d &  ) const>(&Bnd_Box2d::IsOut),
             R"#(Returns True if the segment doesn't intersect the box.)#"  , py::arg("theP0"),  py::arg("theP1")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box2d::*)( const Bnd_Box2d &  ) const) static_cast<Standard_Boolean (Bnd_Box2d::*)( const Bnd_Box2d &  ) const>(&Bnd_Box2d::IsOut),
             R"#(Returns True if <Box2d> is out <me>.)#"  , py::arg("Other")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box2d::*)( const Bnd_Box2d & ,  const gp_Trsf2d &  ) const) static_cast<Standard_Boolean (Bnd_Box2d::*)( const Bnd_Box2d & ,  const gp_Trsf2d &  ) const>(&Bnd_Box2d::IsOut),
             R"#(Returns True if transformed <Box2d> is out <me>.)#"  , py::arg("theOther"),  py::arg("theTrsf")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Box2d::*)( const gp_Trsf2d & ,  const Bnd_Box2d & ,  const gp_Trsf2d &  ) const) static_cast<Standard_Boolean (Bnd_Box2d::*)( const gp_Trsf2d & ,  const Bnd_Box2d & ,  const gp_Trsf2d &  ) const>(&Bnd_Box2d::IsOut),
             R"#(Compares a transformed bounding with a transformed bounding. The default implementation is to make a copy of <me> and <Other>, to transform them and to test.)#"  , py::arg("T1"),  py::arg("Other"),  py::arg("T2")
          )
        .def("Dump",
             (void (Bnd_Box2d::*)() const) static_cast<void (Bnd_Box2d::*)() const>(&Bnd_Box2d::Dump),
             R"#(None)#" 
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_Box2d::*)() const) static_cast<Standard_Real (Bnd_Box2d::*)() const>(&Bnd_Box2d::SquareExtent),
             R"#(Computes the squared diagonal of me.)#" 
          )
    // methods using call by reference i.s.o. return
        .def("Get",
             []( Bnd_Box2d &self   ){
                 Standard_Real  aXmin;
                Standard_Real  aYmin;
                Standard_Real  aXmax;
                Standard_Real  aYmax;

                 self.Get(aXmin,aYmin,aXmax,aYmax);
                 
                 return std::make_tuple(aXmin,aYmin,aXmax,aYmax); },
             R"#(Returns the bounds of this 2D bounding box. The gap is included. If this bounding box is infinite (i.e. "open"), returned values may be equal to +/- Precision::Infinite(). if IsVoid())#" 
          )
    // 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 Bnd_HArray1OfBox from ./opencascade/Bnd_HArray1OfBox.hxx
    klass = m.attr("Bnd_HArray1OfBox");


    // nested enums

    static_cast<py::class_<Bnd_HArray1OfBox ,opencascade::handle<Bnd_HArray1OfBox>  , Bnd_Array1OfBox , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const Standard_Integer >()  , py::arg("theLower"),  py::arg("theUpper") )
        .def(py::init< const Standard_Integer,const Standard_Integer, const Bnd_Box & >()  , py::arg("theLower"),  py::arg("theUpper"),  py::arg("theValue") )
        .def(py::init<  const Bnd_Box &,const Standard_Integer,const Standard_Integer,const bool >()  , py::arg("theBegin"),  py::arg("theLower"),  py::arg("theUpper"),  py::arg("arg") )
        .def(py::init<  const NCollection_Array1<Bnd_Box> & >()  , py::arg("theOther") )
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&Bnd_HArray1OfBox::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Bnd_HArray1OfBox::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("Array1",
             (const Bnd_Array1OfBox & (Bnd_HArray1OfBox::*)() const) static_cast<const Bnd_Array1OfBox & (Bnd_HArray1OfBox::*)() const>(&Bnd_HArray1OfBox::Array1),
             R"#(None)#"
             
         )
       .def("ChangeArray1",
             (Bnd_Array1OfBox & (Bnd_HArray1OfBox::*)() ) static_cast<Bnd_Array1OfBox & (Bnd_HArray1OfBox::*)() >(&Bnd_HArray1OfBox::ChangeArray1),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (Bnd_HArray1OfBox::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Bnd_HArray1OfBox::*)() const>(&Bnd_HArray1OfBox::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<Bnd_HArray1OfBox2d ,opencascade::handle<Bnd_HArray1OfBox2d>  , Bnd_Array1OfBox2d , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const Standard_Integer >()  , py::arg("theLower"),  py::arg("theUpper") )
        .def(py::init< const Standard_Integer,const Standard_Integer, const Bnd_Box2d & >()  , py::arg("theLower"),  py::arg("theUpper"),  py::arg("theValue") )
        .def(py::init<  const Bnd_Box2d &,const Standard_Integer,const Standard_Integer,const bool >()  , py::arg("theBegin"),  py::arg("theLower"),  py::arg("theUpper"),  py::arg("arg") )
        .def(py::init<  const NCollection_Array1<Bnd_Box2d> & >()  , py::arg("theOther") )
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&Bnd_HArray1OfBox2d::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Bnd_HArray1OfBox2d::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("Array1",
             (const Bnd_Array1OfBox2d & (Bnd_HArray1OfBox2d::*)() const) static_cast<const Bnd_Array1OfBox2d & (Bnd_HArray1OfBox2d::*)() const>(&Bnd_HArray1OfBox2d::Array1),
             R"#(None)#"
             
         )
       .def("ChangeArray1",
             (Bnd_Array1OfBox2d & (Bnd_HArray1OfBox2d::*)() ) static_cast<Bnd_Array1OfBox2d & (Bnd_HArray1OfBox2d::*)() >(&Bnd_HArray1OfBox2d::ChangeArray1),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (Bnd_HArray1OfBox2d::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Bnd_HArray1OfBox2d::*)() const>(&Bnd_HArray1OfBox2d::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<Bnd_HArray1OfSphere ,opencascade::handle<Bnd_HArray1OfSphere>  , Bnd_Array1OfSphere , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const Standard_Integer >()  , py::arg("theLower"),  py::arg("theUpper") )
        .def(py::init< const Standard_Integer,const Standard_Integer, const Bnd_Sphere & >()  , py::arg("theLower"),  py::arg("theUpper"),  py::arg("theValue") )
        .def(py::init<  const Bnd_Sphere &,const Standard_Integer,const Standard_Integer,const bool >()  , py::arg("theBegin"),  py::arg("theLower"),  py::arg("theUpper"),  py::arg("arg") )
        .def(py::init<  const NCollection_Array1<Bnd_Sphere> & >()  , py::arg("theOther") )
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&Bnd_HArray1OfSphere::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Bnd_HArray1OfSphere::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("Array1",
             (const Bnd_Array1OfSphere & (Bnd_HArray1OfSphere::*)() const) static_cast<const Bnd_Array1OfSphere & (Bnd_HArray1OfSphere::*)() const>(&Bnd_HArray1OfSphere::Array1),
             R"#(None)#"
             
         )
       .def("ChangeArray1",
             (Bnd_Array1OfSphere & (Bnd_HArray1OfSphere::*)() ) static_cast<Bnd_Array1OfSphere & (Bnd_HArray1OfSphere::*)() >(&Bnd_HArray1OfSphere::ChangeArray1),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (Bnd_HArray1OfSphere::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Bnd_HArray1OfSphere::*)() const>(&Bnd_HArray1OfSphere::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<Bnd_OBB , shared_ptr<Bnd_OBB>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_Pnt &,const gp_Dir &,const gp_Dir &,const gp_Dir &,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("theCenter"),  py::arg("theXDirection"),  py::arg("theYDirection"),  py::arg("theZDirection"),  py::arg("theHXSize"),  py::arg("theHYSize"),  py::arg("theHZSize") )
        .def(py::init< const Bnd_Box & >()  , py::arg("theBox") )
    // custom constructors
    // methods
        .def("ReBuild",
             (void (Bnd_OBB::*)(  const NCollection_Array1<gp_Pnt> & ,   const NCollection_Array1<Standard_Real> * ,  const Standard_Boolean  ) ) static_cast<void (Bnd_OBB::*)(  const NCollection_Array1<gp_Pnt> & ,   const NCollection_Array1<Standard_Real> * ,  const Standard_Boolean  ) >(&Bnd_OBB::ReBuild),
             R"#(Creates new OBB covering every point in theListOfPoints. Tolerance of every such point is set by *theListOfTolerances array. If this array is not void (not null-pointer) then the resulted Bnd_OBB will be enlarged using tolerances of points lying on the box surface. <theIsOptimal> flag defines the mode in which the OBB will be built. Constructing Optimal box takes more time, but the resulting box is usually more tight. In case of construction of Optimal OBB more possible axes are checked.)#"  , py::arg("theListOfPoints"),  py::arg("theListOfTolerances")=static_cast< const NCollection_Array1<Standard_Real> *>(0),  py::arg("theIsOptimal")=static_cast<const Standard_Boolean>(Standard_False)
          )
        .def("SetCenter",
             (void (Bnd_OBB::*)( const gp_Pnt &  ) ) static_cast<void (Bnd_OBB::*)( const gp_Pnt &  ) >(&Bnd_OBB::SetCenter),
             R"#(Sets the center of OBB)#"  , py::arg("theCenter")
          )
        .def("SetXComponent",
             (void (Bnd_OBB::*)( const gp_Dir & ,  const Standard_Real  ) ) static_cast<void (Bnd_OBB::*)( const gp_Dir & ,  const Standard_Real  ) >(&Bnd_OBB::SetXComponent),
             R"#(Sets the X component of OBB - direction and size)#"  , py::arg("theXDirection"),  py::arg("theHXSize")
          )
        .def("SetYComponent",
             (void (Bnd_OBB::*)( const gp_Dir & ,  const Standard_Real  ) ) static_cast<void (Bnd_OBB::*)( const gp_Dir & ,  const Standard_Real  ) >(&Bnd_OBB::SetYComponent),
             R"#(Sets the Y component of OBB - direction and size)#"  , py::arg("theYDirection"),  py::arg("theHYSize")
          )
        .def("SetZComponent",
             (void (Bnd_OBB::*)( const gp_Dir & ,  const Standard_Real  ) ) static_cast<void (Bnd_OBB::*)( const gp_Dir & ,  const Standard_Real  ) >(&Bnd_OBB::SetZComponent),
             R"#(Sets the Z component of OBB - direction and size)#"  , py::arg("theZDirection"),  py::arg("theHZSize")
          )
        .def("Position",
             (gp_Ax3 (Bnd_OBB::*)() const) static_cast<gp_Ax3 (Bnd_OBB::*)() const>(&Bnd_OBB::Position),
             R"#(Returns the local coordinates system of this oriented box. So that applying it to axis-aligned box ((-XHSize, -YHSize, -ZHSize), (XHSize, YHSize, ZHSize)) will produce this oriented box.)#" 
          )
        .def("XHSize",
             (Standard_Real (Bnd_OBB::*)() const) static_cast<Standard_Real (Bnd_OBB::*)() const>(&Bnd_OBB::XHSize),
             R"#(Returns the X Dimension of OBB)#" 
          )
        .def("YHSize",
             (Standard_Real (Bnd_OBB::*)() const) static_cast<Standard_Real (Bnd_OBB::*)() const>(&Bnd_OBB::YHSize),
             R"#(Returns the Y Dimension of OBB)#" 
          )
        .def("ZHSize",
             (Standard_Real (Bnd_OBB::*)() const) static_cast<Standard_Real (Bnd_OBB::*)() const>(&Bnd_OBB::ZHSize),
             R"#(Returns the Z Dimension of OBB)#" 
          )
        .def("IsVoid",
             (Standard_Boolean (Bnd_OBB::*)() const) static_cast<Standard_Boolean (Bnd_OBB::*)() const>(&Bnd_OBB::IsVoid),
             R"#(Checks if the box is empty.)#" 
          )
        .def("SetVoid",
             (void (Bnd_OBB::*)() ) static_cast<void (Bnd_OBB::*)() >(&Bnd_OBB::SetVoid),
             R"#(Clears this box)#" 
          )
        .def("SetAABox",
             (void (Bnd_OBB::*)( const Standard_Boolean &  ) ) static_cast<void (Bnd_OBB::*)( const Standard_Boolean &  ) >(&Bnd_OBB::SetAABox),
             R"#(Sets the flag for axes aligned box)#"  , py::arg("theFlag")
          )
        .def("IsAABox",
             (Standard_Boolean (Bnd_OBB::*)() const) static_cast<Standard_Boolean (Bnd_OBB::*)() const>(&Bnd_OBB::IsAABox),
             R"#(Returns TRUE if the box is axes aligned)#" 
          )
        .def("Enlarge",
             (void (Bnd_OBB::*)( const Standard_Real  ) ) static_cast<void (Bnd_OBB::*)( const Standard_Real  ) >(&Bnd_OBB::Enlarge),
             R"#(Enlarges the box with the given value)#"  , py::arg("theGapAdd")
          )
        .def("GetVertex",
             (Standard_Boolean (Bnd_OBB::*)( gp_Pnt[8]  ) const) static_cast<Standard_Boolean (Bnd_OBB::*)( gp_Pnt[8]  ) const>(&Bnd_OBB::GetVertex),
             R"#(Returns the array of vertices in <this>. The local coordinate of the vertex depending on the index of the array are follow: Index == 0: (-XHSize(), -YHSize(), -ZHSize()) Index == 1: ( XHSize(), -YHSize(), -ZHSize()) Index == 2: (-XHSize(), YHSize(), -ZHSize()) Index == 3: ( XHSize(), YHSize(), -ZHSize()) Index == 4: (-XHSize(), -YHSize(), ZHSize()) Index == 5: ( XHSize(), -YHSize(), ZHSize()) Index == 6: (-XHSize(), YHSize(), ZHSize()) Index == 7: ( XHSize(), YHSize(), ZHSize()).)#"  , py::arg("theP")
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_OBB::*)() const) static_cast<Standard_Real (Bnd_OBB::*)() const>(&Bnd_OBB::SquareExtent),
             R"#(Returns square diagonal of this box)#" 
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_OBB::*)( const Bnd_OBB &  ) const) static_cast<Standard_Boolean (Bnd_OBB::*)( const Bnd_OBB &  ) const>(&Bnd_OBB::IsOut),
             R"#(Check if the box do not interfere the other box.)#"  , py::arg("theOther")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_OBB::*)( const gp_Pnt &  ) const) static_cast<Standard_Boolean (Bnd_OBB::*)( const gp_Pnt &  ) const>(&Bnd_OBB::IsOut),
             R"#(Check if the point is inside of <this>.)#"  , py::arg("theP")
          )
        .def("IsCompletelyInside",
             (Standard_Boolean (Bnd_OBB::*)( const Bnd_OBB &  ) const) static_cast<Standard_Boolean (Bnd_OBB::*)( const Bnd_OBB &  ) const>(&Bnd_OBB::IsCompletelyInside),
             R"#(Check if the theOther is completely inside *this.)#"  , py::arg("theOther")
          )
        .def("Add",
             (void (Bnd_OBB::*)( const Bnd_OBB &  ) ) static_cast<void (Bnd_OBB::*)( const Bnd_OBB &  ) >(&Bnd_OBB::Add),
             R"#(Rebuilds this in order to include all previous objects (which it was created from) and theOther.)#"  , py::arg("theOther")
          )
        .def("Add",
             (void (Bnd_OBB::*)( const gp_Pnt &  ) ) static_cast<void (Bnd_OBB::*)( const gp_Pnt &  ) >(&Bnd_OBB::Add),
             R"#(Rebuilds this in order to include all previous objects (which it was created from) and theP.)#"  , py::arg("theP")
          )
        .def("DumpJson",
             (void (Bnd_OBB::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (Bnd_OBB::*)( std::ostream & ,  Standard_Integer  ) const>(&Bnd_OBB::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("Center",
             (const gp_XYZ & (Bnd_OBB::*)() const) static_cast<const gp_XYZ & (Bnd_OBB::*)() const>(&Bnd_OBB::Center),
             R"#(Returns the center of OBB)#"
             
         )
       .def("XDirection",
             (const gp_XYZ & (Bnd_OBB::*)() const) static_cast<const gp_XYZ & (Bnd_OBB::*)() const>(&Bnd_OBB::XDirection),
             R"#(Returns the X Direction of OBB)#"
             
         )
       .def("YDirection",
             (const gp_XYZ & (Bnd_OBB::*)() const) static_cast<const gp_XYZ & (Bnd_OBB::*)() const>(&Bnd_OBB::YDirection),
             R"#(Returns the Y Direction of OBB)#"
             
         )
       .def("ZDirection",
             (const gp_XYZ & (Bnd_OBB::*)() const) static_cast<const gp_XYZ & (Bnd_OBB::*)() const>(&Bnd_OBB::ZDirection),
             R"#(Returns the Z Direction of OBB)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<Bnd_Range , shared_ptr<Bnd_Range>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_Real,const Standard_Real >()  , py::arg("theMin"),  py::arg("theMax") )
    // custom constructors
    // methods
        .def("Common",
             (void (Bnd_Range::*)( const Bnd_Range &  ) ) static_cast<void (Bnd_Range::*)( const Bnd_Range &  ) >(&Bnd_Range::Common),
             R"#(Replaces <this> with common-part of <this> and theOther)#"  , py::arg("theOther")
          )
        .def("Union",
             (Standard_Boolean (Bnd_Range::*)( const Bnd_Range &  ) ) static_cast<Standard_Boolean (Bnd_Range::*)( const Bnd_Range &  ) >(&Bnd_Range::Union),
             R"#(Joins *this and theOther to one interval. Replaces *this to the result. Returns false if the operation cannot be done (e.g. input arguments are empty or separated).)#"  , py::arg("theOther")
          )
        .def("Split",
             (void (Bnd_Range::*)( const Standard_Real ,  NCollection_List<Bnd_Range> & ,  const Standard_Real  ) const) static_cast<void (Bnd_Range::*)( const Standard_Real ,  NCollection_List<Bnd_Range> & ,  const Standard_Real  ) const>(&Bnd_Range::Split),
             R"#(Splits <this> to several sub-ranges by theVal value (e.g. range [3, 15] will be split by theVal==5 to the two ranges: [3, 5] and [5, 15]). New ranges will be pushed to theList (theList must be initialized correctly before calling this method). If thePeriod != 0.0 then at least one boundary of new ranges (if <*this> intersects theVal+k*thePeriod) will be equal to theVal+thePeriod*k, where k is an integer number (k = 0, +/-1, +/-2, ...). (let thePeriod in above example be 4 ==> we will obtain four ranges: [3, 5], [5, 9], [9, 13] and [13, 15].)#"  , py::arg("theVal"),  py::arg("theList"),  py::arg("thePeriod")=static_cast<const Standard_Real>(0.0)
          )
        .def("IsIntersected",
             (Standard_Integer (Bnd_Range::*)( const Standard_Real ,  const Standard_Real  ) const) static_cast<Standard_Integer (Bnd_Range::*)( const Standard_Real ,  const Standard_Real  ) const>(&Bnd_Range::IsIntersected),
             R"#(Checks if <this> intersects values like theVal+k*thePeriod, where k is an integer number (k = 0, +/-1, +/-2, ...). Returns: 0 - if <this> does not intersect the theVal+k*thePeriod. 1 - if <this> intersects theVal+k*thePeriod. 2 - if myFirst or/and myLast are equal to theVal+k*thePeriod.)#"  , py::arg("theVal"),  py::arg("thePeriod")=static_cast<const Standard_Real>(0.0)
          )
        .def("Add",
             (void (Bnd_Range::*)( const Standard_Real  ) ) static_cast<void (Bnd_Range::*)( const Standard_Real  ) >(&Bnd_Range::Add),
             R"#(Extends <this> to include theParameter)#"  , py::arg("theParameter")
          )
        .def("Add",
             (void (Bnd_Range::*)( const Bnd_Range &  ) ) static_cast<void (Bnd_Range::*)( const Bnd_Range &  ) >(&Bnd_Range::Add),
             R"#(Extends this range to include both ranges.)#"  , py::arg("theRange")
          )
        .def("GetMin",
             (Standard_Boolean (Bnd_Range::*)( Standard_Real &  ) const) static_cast<Standard_Boolean (Bnd_Range::*)( Standard_Real &  ) const>(&Bnd_Range::GetMin),
             R"#(Obtain MIN boundary of <this>. If <this> is VOID the method returns false.)#"  , py::arg("thePar")
          )
        .def("GetMax",
             (Standard_Boolean (Bnd_Range::*)( Standard_Real &  ) const) static_cast<Standard_Boolean (Bnd_Range::*)( Standard_Real &  ) const>(&Bnd_Range::GetMax),
             R"#(Obtain MAX boundary of <this>. If <this> is VOID the method returns false.)#"  , py::arg("thePar")
          )
        .def("GetBounds",
             (Standard_Boolean (Bnd_Range::*)( Standard_Real & ,  Standard_Real &  ) const) static_cast<Standard_Boolean (Bnd_Range::*)( Standard_Real & ,  Standard_Real &  ) const>(&Bnd_Range::GetBounds),
             R"#(Obtain first and last boundary of <this>. If <this> is VOID the method returns false.)#"  , py::arg("theFirstPar"),  py::arg("theLastPar")
          )
        .def("GetIntermediatePoint",
             (Standard_Boolean (Bnd_Range::*)( const Standard_Real ,  Standard_Real &  ) const) static_cast<Standard_Boolean (Bnd_Range::*)( const Standard_Real ,  Standard_Real &  ) const>(&Bnd_Range::GetIntermediatePoint),
             R"#(Obtain theParameter satisfied to the equation (theParameter-MIN)/(MAX-MIN) == theLambda. * theLambda == 0 --> MIN boundary will be returned; * theLambda == 0.5 --> Middle point will be returned; * theLambda == 1 --> MAX boundary will be returned; * theLambda < 0 --> the value less than MIN will be returned; * theLambda > 1 --> the value greater than MAX will be returned. If <this> is VOID the method returns false.)#"  , py::arg("theLambda"),  py::arg("theParameter")
          )
        .def("Delta",
             (Standard_Real (Bnd_Range::*)() const) static_cast<Standard_Real (Bnd_Range::*)() const>(&Bnd_Range::Delta),
             R"#(Returns range value (MAX-MIN). Returns negative value for VOID range.)#" 
          )
        .def("IsVoid",
             (Standard_Boolean (Bnd_Range::*)() const) static_cast<Standard_Boolean (Bnd_Range::*)() const>(&Bnd_Range::IsVoid),
             R"#(Is <this> initialized.)#" 
          )
        .def("SetVoid",
             (void (Bnd_Range::*)() ) static_cast<void (Bnd_Range::*)() >(&Bnd_Range::SetVoid),
             R"#(Initializes <this> by default parameters. Makes <this> VOID.)#" 
          )
        .def("Enlarge",
             (void (Bnd_Range::*)( const Standard_Real  ) ) static_cast<void (Bnd_Range::*)( const Standard_Real  ) >(&Bnd_Range::Enlarge),
             R"#(Extends this to the given value (in both side))#"  , py::arg("theDelta")
          )
        .def("Shifted",
             (Bnd_Range (Bnd_Range::*)( const Standard_Real  ) const) static_cast<Bnd_Range (Bnd_Range::*)( const Standard_Real  ) const>(&Bnd_Range::Shifted),
             R"#(Returns the copy of <*this> shifted by theVal)#"  , py::arg("theVal")
          )
        .def("Shift",
             (void (Bnd_Range::*)( const Standard_Real  ) ) static_cast<void (Bnd_Range::*)( const Standard_Real  ) >(&Bnd_Range::Shift),
             R"#(Shifts <*this> by theVal)#"  , py::arg("theVal")
          )
        .def("TrimFrom",
             (void (Bnd_Range::*)( const Standard_Real  ) ) static_cast<void (Bnd_Range::*)( const Standard_Real  ) >(&Bnd_Range::TrimFrom),
             R"#(Trims the First value in range by the given lower limit. Marks range as Void if the given Lower value is greater than range Max.)#"  , py::arg("theValLower")
          )
        .def("TrimTo",
             (void (Bnd_Range::*)( const Standard_Real  ) ) static_cast<void (Bnd_Range::*)( const Standard_Real  ) >(&Bnd_Range::TrimTo),
             R"#(Trim the Last value in range by the given Upper limit. Marks range as Void if the given Upper value is smaller than range Max.)#"  , py::arg("theValUpper")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Range::*)( Standard_Real  ) const) static_cast<Standard_Boolean (Bnd_Range::*)( Standard_Real  ) const>(&Bnd_Range::IsOut),
             R"#(Returns True if the value is out of this range.)#"  , py::arg("theValue")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Range::*)( const Bnd_Range &  ) const) static_cast<Standard_Boolean (Bnd_Range::*)( const Bnd_Range &  ) const>(&Bnd_Range::IsOut),
             R"#(Returns True if the given range is out of this range.)#"  , py::arg("theRange")
          )
        .def("DumpJson",
             (void (Bnd_Range::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (Bnd_Range::*)( std::ostream & ,  Standard_Integer  ) const>(&Bnd_Range::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

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


    // nested enums

    static_cast<py::class_<Bnd_Sphere , shared_ptr<Bnd_Sphere>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_XYZ &,const Standard_Real,const Standard_Integer,const Standard_Integer >()  , py::arg("theCntr"),  py::arg("theRad"),  py::arg("theU"),  py::arg("theV") )
    // custom constructors
    // methods
        .def("U",
             (Standard_Integer (Bnd_Sphere::*)() const) static_cast<Standard_Integer (Bnd_Sphere::*)() const>(&Bnd_Sphere::U),
             R"#(Returns the U parameter on shape)#" 
          )
        .def("V",
             (Standard_Integer (Bnd_Sphere::*)() const) static_cast<Standard_Integer (Bnd_Sphere::*)() const>(&Bnd_Sphere::V),
             R"#(Returns the V parameter on shape)#" 
          )
        .def("IsValid",
             (Standard_Boolean (Bnd_Sphere::*)() const) static_cast<Standard_Boolean (Bnd_Sphere::*)() const>(&Bnd_Sphere::IsValid),
             R"#(Returns validity status, indicating that this sphere corresponds to a real entity)#" 
          )
        .def("SetValid",
             (void (Bnd_Sphere::*)( const Standard_Boolean  ) ) static_cast<void (Bnd_Sphere::*)( const Standard_Boolean  ) >(&Bnd_Sphere::SetValid),
             R"#(None)#"  , py::arg("isValid")
          )
        .def("Radius",
             (Standard_Real (Bnd_Sphere::*)() const) static_cast<Standard_Real (Bnd_Sphere::*)() const>(&Bnd_Sphere::Radius),
             R"#(Returns the radius value)#" 
          )
        .def("Project",
             (Standard_Boolean (Bnd_Sphere::*)( const gp_XYZ & ,  gp_XYZ & ,  Standard_Real & ,  Standard_Boolean &  ) const) static_cast<Standard_Boolean (Bnd_Sphere::*)( const gp_XYZ & ,  gp_XYZ & ,  Standard_Real & ,  Standard_Boolean &  ) const>(&Bnd_Sphere::Project),
             R"#(Projects a point on entity. Returns true if success)#"  , py::arg("theNode"),  py::arg("theProjNode"),  py::arg("theDist"),  py::arg("theInside")
          )
        .def("Distance",
             (Standard_Real (Bnd_Sphere::*)( const gp_XYZ &  ) const) static_cast<Standard_Real (Bnd_Sphere::*)( const gp_XYZ &  ) const>(&Bnd_Sphere::Distance),
             R"#(None)#"  , py::arg("theNode")
          )
        .def("SquareDistance",
             (Standard_Real (Bnd_Sphere::*)( const gp_XYZ &  ) const) static_cast<Standard_Real (Bnd_Sphere::*)( const gp_XYZ &  ) const>(&Bnd_Sphere::SquareDistance),
             R"#(None)#"  , py::arg("theNode")
          )
        .def("Add",
             (void (Bnd_Sphere::*)( const Bnd_Sphere &  ) ) static_cast<void (Bnd_Sphere::*)( const Bnd_Sphere &  ) >(&Bnd_Sphere::Add),
             R"#(None)#"  , py::arg("theOther")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Sphere::*)( const Bnd_Sphere &  ) const) static_cast<Standard_Boolean (Bnd_Sphere::*)( const Bnd_Sphere &  ) const>(&Bnd_Sphere::IsOut),
             R"#(None)#"  , py::arg("theOther")
          )
        .def("IsOut",
             (Standard_Boolean (Bnd_Sphere::*)( const gp_XYZ & ,  Standard_Real &  ) const) static_cast<Standard_Boolean (Bnd_Sphere::*)( const gp_XYZ & ,  Standard_Real &  ) const>(&Bnd_Sphere::IsOut),
             R"#(None)#"  , py::arg("thePnt"),  py::arg("theMaxDist")
          )
        .def("SquareExtent",
             (Standard_Real (Bnd_Sphere::*)() const) static_cast<Standard_Real (Bnd_Sphere::*)() const>(&Bnd_Sphere::SquareExtent),
             R"#(None)#" 
          )
        .def("U",
             (Standard_Integer (Bnd_Sphere::*)() const) static_cast<Standard_Integer (Bnd_Sphere::*)() const>(&Bnd_Sphere::U),
             R"#(Returns the U parameter on shape)#" 
          )
        .def("V",
             (Standard_Integer (Bnd_Sphere::*)() const) static_cast<Standard_Integer (Bnd_Sphere::*)() const>(&Bnd_Sphere::V),
             R"#(Returns the V parameter on shape)#" 
          )
        .def("IsValid",
             (Standard_Boolean (Bnd_Sphere::*)() const) static_cast<Standard_Boolean (Bnd_Sphere::*)() const>(&Bnd_Sphere::IsValid),
             R"#(Returns validity status, indicating that this sphere corresponds to a real entity)#" 
          )
        .def("SetValid",
             (void (Bnd_Sphere::*)( const Standard_Boolean  ) ) static_cast<void (Bnd_Sphere::*)( const Standard_Boolean  ) >(&Bnd_Sphere::SetValid),
             R"#(None)#"  , py::arg("isValid")
          )
        .def("Radius",
             (Standard_Real (Bnd_Sphere::*)() const) static_cast<Standard_Real (Bnd_Sphere::*)() const>(&Bnd_Sphere::Radius),
             R"#(Returns the radius value)#" 
          )
    // methods using call by reference i.s.o. return
        .def("Distances",
             []( Bnd_Sphere &self , const gp_XYZ & theXYZ ){
                 Standard_Real  theMin;
                Standard_Real  theMax;

                 self.Distances(theXYZ,theMin,theMax);
                 
                 return std::make_tuple(theMin,theMax); },
             R"#(Calculate and return minimal and maximal distance to sphere. NOTE: This function is tightly optimized; any modifications may affect performance!)#"  , py::arg("theXYZ")
          )
        .def("SquareDistances",
             []( Bnd_Sphere &self , const gp_XYZ & theXYZ ){
                 Standard_Real  theMin;
                Standard_Real  theMax;

                 self.SquareDistances(theXYZ,theMin,theMax);
                 
                 return std::make_tuple(theMin,theMax); },
             R"#(Calculate and return minimal and maximal distance to sphere. NOTE: This function is tightly optimized; any modifications may affect performance!)#"  , py::arg("theXYZ")
          )
    // 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("Center",
             (const gp_XYZ & (Bnd_Sphere::*)() const) static_cast<const gp_XYZ & (Bnd_Sphere::*)() const>(&Bnd_Sphere::Center),
             R"#(Returns center of sphere object)#"
             
         )
       .def("Center",
             (const gp_XYZ & (Bnd_Sphere::*)() const) static_cast<const gp_XYZ & (Bnd_Sphere::*)() const>(&Bnd_Sphere::Center),
             R"#(Returns center of sphere object)#"
             
         )
;

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

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

    // nested enums

    static_cast<py::class_<Bnd_Tools , shared_ptr<Bnd_Tools>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Bnd2BVH_s",
                    (BVH_Box<Standard_Real, 2> (*)( const Bnd_Box2d &  ) ) static_cast<BVH_Box<Standard_Real, 2> (*)( const Bnd_Box2d &  ) >(&Bnd_Tools::Bnd2BVH),
                    R"#(Converts the given Bnd_Box2d to BVH_Box)#"  , py::arg("theBox")
          )
        .def_static("Bnd2BVH_s",
                    (BVH_Box<Standard_Real, 3> (*)( const Bnd_Box &  ) ) static_cast<BVH_Box<Standard_Real, 3> (*)( const Bnd_Box &  ) >(&Bnd_Tools::Bnd2BVH),
                    R"#(Converts the given Bnd_Box to BVH_Box)#"  , py::arg("theBox")
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

// functions
// ./opencascade/Bnd_Array1OfBox.hxx
// ./opencascade/Bnd_Array1OfBox2d.hxx
// ./opencascade/Bnd_Array1OfSphere.hxx
// ./opencascade/Bnd_B2d.hxx
// ./opencascade/Bnd_B2f.hxx
// ./opencascade/Bnd_B3d.hxx
// ./opencascade/Bnd_B3f.hxx
// ./opencascade/Bnd_BoundSortBox.hxx
// ./opencascade/Bnd_Box.hxx
// ./opencascade/Bnd_Box2d.hxx
// ./opencascade/Bnd_HArray1OfBox.hxx
// ./opencascade/Bnd_HArray1OfBox2d.hxx
// ./opencascade/Bnd_HArray1OfSphere.hxx
// ./opencascade/Bnd_OBB.hxx
// ./opencascade/Bnd_Range.hxx
// ./opencascade/Bnd_Sphere.hxx
// ./opencascade/Bnd_Tools.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_Array1<Bnd_Box>(m,"Bnd_Array1OfBox");
    register_template_NCollection_Array1<Bnd_Box2d>(m,"Bnd_Array1OfBox2d");
    register_template_NCollection_Array1<Bnd_Sphere>(m,"Bnd_Array1OfSphere");


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post