File: NCollection_tmpl.hxx

package info (click to toggle)
python-ocp 7.8.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 64,724 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (2786 lines) | stat: -rw-r--r-- 206,597 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
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
#pragma once

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

namespace py = pybind11;

// Standard Handle
#include <Standard_Handle.hxx>

// user-defined inclusion per module before includes
#include <gp_XYZ.hxx>
#include <gp_XY.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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#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 <Standard_Mutex.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#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 <NCollection_AccAllocator.hxx>
#include <NCollection_AliasedArray.hxx>
#include <NCollection_AlignedAllocator.hxx>
#include <NCollection_Allocator.hxx>
#include <NCollection_Array1.hxx>
#include <NCollection_Array2.hxx>
#include <NCollection_BaseAllocator.hxx>
#include <NCollection_BaseList.hxx>
#include <NCollection_BaseMap.hxx>
#include <NCollection_BasePointerVector.hxx>
#include <NCollection_BaseSequence.hxx>
#include <NCollection_Buffer.hxx>
#include <NCollection_CellFilter.hxx>
#include <NCollection_DataMap.hxx>
#include <NCollection_DefaultHasher.hxx>
#include <NCollection_DefineAlloc.hxx>
#include <NCollection_DefineHArray1.hxx>
#include <NCollection_DefineHArray2.hxx>
#include <NCollection_DefineHSequence.hxx>
#include <NCollection_DefineHasher.hxx>
#include <NCollection_DoubleMap.hxx>
#include <NCollection_DynamicArray.hxx>
#include <NCollection_EBTree.hxx>
#include <NCollection_HArray1.hxx>
#include <NCollection_HArray2.hxx>
#include <NCollection_HSequence.hxx>
#include <NCollection_Handle.hxx>
#include <NCollection_HeapAllocator.hxx>
#include <NCollection_IncAllocator.hxx>
#include <NCollection_IndexedDataMap.hxx>
#include <NCollection_IndexedIterator.hxx>
#include <NCollection_IndexedMap.hxx>
#include <NCollection_Iterator.hxx>
#include <NCollection_Lerp.hxx>
#include <NCollection_List.hxx>
#include <NCollection_ListNode.hxx>
#include <NCollection_LocalArray.hxx>
#include <NCollection_Map.hxx>
#include <NCollection_Mat3.hxx>
#include <NCollection_Mat4.hxx>
#include <NCollection_OccAllocator.hxx>
#include <NCollection_Sequence.hxx>
#include <NCollection_SparseArray.hxx>
#include <NCollection_SparseArrayBase.hxx>
#include <NCollection_StlIterator.hxx>
#include <NCollection_String.hxx>
#include <NCollection_TListIterator.hxx>
#include <NCollection_TListNode.hxx>
#include <NCollection_TypeDef.hxx>
#include <NCollection_UBTree.hxx>
#include <NCollection_UBTreeFiller.hxx>
#include <NCollection_UtfIterator.hxx>
#include <NCollection_UtfString.hxx>
#include <NCollection_Vec2.hxx>
#include <NCollection_Vec3.hxx>
#include <NCollection_Vec4.hxx>
#include <NCollection_Vector.hxx>
#include <NCollection_WinHeapAllocator.hxx>

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

// Class template handling functions

template <typename TheItemType>
void preregister_template_NCollection_DynamicArray(py::object &m, const char *name){
    py::class_<NCollection_DynamicArray<TheItemType> , shared_ptr<NCollection_DynamicArray<TheItemType>> >(m,name,R"#(Class NCollection_DynamicArray (dynamic array of objects))#");
}

template <typename TheItemType>
void register_template_NCollection_DynamicArray(py::object &m, const char *name){
    static_cast<py::class_<NCollection_DynamicArray<TheItemType> , shared_ptr<NCollection_DynamicArray<TheItemType>> >>(m.attr(name))
        .def(py::init< const Standard_Integer >() ,py::arg("theIncrement")=static_cast<const Standard_Integer>(256) )
        .def(py::init< const Standard_Integer,const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theIncrement"), py::arg("theAllocator") )
        .def(py::init< const Standard_Integer, const NCollection_OccAllocator<TheItemType> & >() ,py::arg("theIncrement"), py::arg("theAllocator") )
        .def(py::init< const NCollection_DynamicArray<TheItemType> & >() ,py::arg("theOther") )
        .def("Length",
             (Standard_Integer (NCollection_DynamicArray<TheItemType>::*)() const) &NCollection_DynamicArray<TheItemType>::Length,
             R"#(Total number of items)#" )
        .def("Size",
             (Standard_Integer (NCollection_DynamicArray<TheItemType>::*)() const) &NCollection_DynamicArray<TheItemType>::Size,
             R"#(Total number of items in the vector)#" )
        .def("Lower",
             (Standard_Integer (NCollection_DynamicArray<TheItemType>::*)() const) &NCollection_DynamicArray<TheItemType>::Lower,
             R"#(Method for consistency with other collections.)#" )
        .def("Upper",
             (Standard_Integer (NCollection_DynamicArray<TheItemType>::*)() const) &NCollection_DynamicArray<TheItemType>::Upper,
             R"#(Method for consistency with other collections.)#" )
        .def("IsEmpty",
             (Standard_Boolean (NCollection_DynamicArray<TheItemType>::*)() const) &NCollection_DynamicArray<TheItemType>::IsEmpty,
             R"#(Empty query)#" )
        .def("Assign",
             (NCollection_DynamicArray<TheItemType> & (NCollection_DynamicArray<TheItemType>::*)( const NCollection_DynamicArray<TheItemType> & ,  const bool  ) ) &NCollection_DynamicArray<TheItemType>::Assign,
             R"#(Assignment to the collection of the same type)#" ,py::arg("theOther"), py::arg("theOwnAllocator")=static_cast<const bool>(true))
        .def("EraseLast",
             (void (NCollection_DynamicArray<TheItemType>::*)() ) &NCollection_DynamicArray<TheItemType>::EraseLast,
             R"#(None)#" )
        .def("Clear",
             (void (NCollection_DynamicArray<TheItemType>::*)( const bool  ) ) &NCollection_DynamicArray<TheItemType>::Clear,
             R"#(None)#" ,py::arg("theReleaseMemory")=static_cast<const bool>(false))
        .def("SetIncrement",
             (void (NCollection_DynamicArray<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_DynamicArray<TheItemType>::SetIncrement,
             R"#(None)#" ,py::arg("theIncrement"))
        .def("__call__",
             (typename NCollection_DynamicArray<TheItemType>::const_reference (NCollection_DynamicArray<TheItemType>::*)( const Standard_Integer  ) const) &NCollection_DynamicArray<TheItemType>::operator(),
             py::is_operator(),
             R"#(Operator() - query the const value)#" ,py::arg("theIndex"))
        .def("__call__",
             (typename NCollection_DynamicArray<TheItemType>::reference (NCollection_DynamicArray<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_DynamicArray<TheItemType>::operator(),
             py::is_operator(),
             R"#(Operator() - query the value)#" ,py::arg("theIndex"))
        .def("__iter__",[](const NCollection_DynamicArray<TheItemType> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.begin(), self.end()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_DynamicArray<TheItemType> &self)
             { return self.Size(); }
             )
        .def("__bool__",[](const NCollection_DynamicArray<TheItemType> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename TheKeyType,typename TheItemType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void preregister_template_NCollection_DataMap(py::object &m, const char *name){
    py::class_<NCollection_DataMap<TheKeyType,TheItemType,Hasher> , shared_ptr<NCollection_DataMap<TheKeyType,TheItemType,Hasher>> , NCollection_BaseMap >(m,name,R"#(Purpose: The DataMap is a Map to store keys with associated Items. See Map from NCollection for a discussion about the number of buckets.)#");
}

template <typename TheKeyType,typename TheItemType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void register_template_NCollection_DataMap(py::object &m, const char *name){
    static_cast<py::class_<NCollection_DataMap<TheKeyType,TheItemType,Hasher> , shared_ptr<NCollection_DataMap<TheKeyType,TheItemType,Hasher>> , NCollection_BaseMap >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theNbBuckets"), py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L) )
        .def(py::init< const NCollection_DataMap<TheKeyType, TheItemType, Hasher> & >() ,py::arg("theOther") )
        .def("Exchange",
             (void (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( NCollection_DataMap<TheKeyType, TheItemType, Hasher> &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Exchange,
             R"#(Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!)#" ,py::arg("theOther"))
        .def("Assign",
             (NCollection_DataMap<TheKeyType, TheItemType, Hasher> & (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const NCollection_DataMap<TheKeyType, TheItemType, Hasher> &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Assign,
             R"#(Assignment. This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("ReSize",
             (void (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::ReSize,
             R"#(ReSize)#" ,py::arg("N"))
        .def("Bind",
             (Standard_Boolean (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType & ,  const TheItemType &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Bind,
             R"#(Bind binds Item to Key in map.)#" ,py::arg("theKey"), py::arg("theItem"))
        .def("Bound",
             (TheItemType * (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType & ,  const TheItemType &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Bound,
             R"#(Bound binds Item to Key in map.)#" ,py::arg("theKey"), py::arg("theItem"))
        .def("IsBound",
             (Standard_Boolean (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::IsBound,
             R"#(IsBound)#" ,py::arg("theKey"))
        .def("UnBind",
             (Standard_Boolean (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::UnBind,
             R"#(UnBind removes Item Key pair from map)#" ,py::arg("theKey"))
        .def("Seek",
             (const TheItemType * (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Seek,
             R"#(Seek returns pointer to Item by Key. Returns NULL is Key was not bound.)#" ,py::arg("theKey"))
        .def("Find",
             (const TheItemType & (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Find,
             R"#(Find returns the Item for Key. Raises if Key was not bound)#" ,py::arg("theKey"))
        .def("Find",
             (Standard_Boolean (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType & ,  TheItemType &  ) const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Find,
             R"#(Find Item for key with copying.)#" ,py::arg("theKey"), py::arg("theValue"))
        .def("ChangeSeek",
             (TheItemType * (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::ChangeSeek,
             R"#(ChangeSeek returns modifiable pointer to Item by Key. Returns NULL is Key was not bound.)#" ,py::arg("theKey"))
        .def("ChangeFind",
             (TheItemType & (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::ChangeFind,
             R"#(ChangeFind returns mofifiable Item by Key. Raises if Key was not bound)#" ,py::arg("theKey"))
        .def("Clear",
             (void (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Boolean  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Clear,
             R"#(Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.)#" ,py::arg("doReleaseMemory")=static_cast<const Standard_Boolean>(Standard_False))
        .def("Clear",
             (void (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Clear,
             R"#(Clear data and reset allocator)#" ,py::arg("theAllocator"))
        .def("Size",
             (Standard_Integer (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::Size,
             R"#(Size)#" )
        .def("__call__",
             (const TheItemType & (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::operator(),
             py::is_operator(),
             R"#(operator ())#" ,py::arg("theKey"))
        .def("__call__",
             (TheItemType & (NCollection_DataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_DataMap<TheKeyType,TheItemType,Hasher>::operator(),
             py::is_operator(),
             R"#(operator ())#" ,py::arg("theKey"))
        .def("__iter__",[](const NCollection_DataMap<TheKeyType,TheItemType,Hasher> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.begin(), self.end()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_DataMap<TheKeyType,TheItemType,Hasher> &self)
             { return self.Size(); }
             )
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_Array1(py::object &m, const char *name){
    py::class_<NCollection_Array1<TheItemType> , shared_ptr<NCollection_Array1<TheItemType>> >(m,name,R"#(The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.)#");
}

template <typename TheItemType>
void register_template_NCollection_Array1(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Array1<TheItemType> , shared_ptr<NCollection_Array1<TheItemType>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const Standard_Integer >() ,py::arg("theLower"), py::arg("theUpper") )
        .def(py::init<  const NCollection_Allocator<TheItemType> &,const Standard_Integer,const Standard_Integer >() ,py::arg("theAlloc"), py::arg("theLower"), py::arg("theUpper") )
        .def(py::init< const NCollection_Array1<TheItemType> & >() ,py::arg("theOther") )
        .def("Init",
             (void (NCollection_Array1<TheItemType>::*)( const TheItemType &  ) ) &NCollection_Array1<TheItemType>::Init,
             R"#(Initialise the items with theValue)#" ,py::arg("theValue"))
        .def("Size",
             (Standard_Integer (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::Size,
             R"#(Size query)#" )
        .def("Length",
             (Standard_Integer (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::Length,
             R"#(Length query (the same))#" )
        .def("IsEmpty",
             (Standard_Boolean (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::IsEmpty,
             R"#(Return TRUE if array has zero length.)#" )
        .def("Lower",
             (Standard_Integer (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::Lower,
             R"#(Lower bound)#" )
        .def("Upper",
             (Standard_Integer (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::Upper,
             R"#(Upper bound)#" )
        .def("Assign",
             (NCollection_Array1<TheItemType> & (NCollection_Array1<TheItemType>::*)( const NCollection_Array1<TheItemType> &  ) ) &NCollection_Array1<TheItemType>::Assign,
             R"#(Copies data of theOther array to this. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.)#" ,py::arg("theOther"))
        .def("Move",
             (NCollection_Array1<TheItemType> & (NCollection_Array1<TheItemType>::*)( NCollection_Array1<TheItemType> &  ) ) &NCollection_Array1<TheItemType>::Move,
             R"#(None)#" ,py::arg("theOther"))
        .def("SetValue",
             (void (NCollection_Array1<TheItemType>::*)( const Standard_Integer ,   const TheItemType &  ) ) &NCollection_Array1<TheItemType>::SetValue,
             R"#(Set value)#" ,py::arg("theIndex"), py::arg("theItem"))
        .def("UpdateLowerBound",
             (void (NCollection_Array1<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_Array1<TheItemType>::UpdateLowerBound,
             R"#(Changes the lowest bound. Do not move data)#" ,py::arg("theLower"))
        .def("UpdateUpperBound",
             (void (NCollection_Array1<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_Array1<TheItemType>::UpdateUpperBound,
             R"#(Changes the upper bound. Do not move data)#" ,py::arg("theUpper"))
        .def("Resize",
             (void (NCollection_Array1<TheItemType>::*)( const Standard_Integer ,  const Standard_Integer ,  const Standard_Boolean  ) ) &NCollection_Array1<TheItemType>::Resize,
             R"#(Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.)#" ,py::arg("theLower"), py::arg("theUpper"), py::arg("theToCopyData"))
        .def("IsDeletable",
             (bool (NCollection_Array1<TheItemType>::*)() const) &NCollection_Array1<TheItemType>::IsDeletable,
             R"#(None)#" )
        .def("__call__",
             (typename NCollection_Array1<TheItemType>::const_reference (NCollection_Array1<TheItemType>::*)( const Standard_Integer  ) const) &NCollection_Array1<TheItemType>::operator(),
             py::is_operator(),
             R"#(operator() - alias to Value)#" ,py::arg("theIndex"))
        .def("__call__",
             (typename NCollection_Array1<TheItemType>::reference (NCollection_Array1<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_Array1<TheItemType>::operator(),
             py::is_operator(),
             R"#(operator() - alias to ChangeValue)#" ,py::arg("theIndex"))
        .def("__iter__",[](const NCollection_Array1<TheItemType> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.begin(), self.end()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_Array1<TheItemType> &self)
             { return self.Size(); }
             )
        .def("__bool__",[](const NCollection_Array1<TheItemType> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename Container>
void preregister_template_NCollection_Iterator(py::object &m, const char *name){
    py::class_<NCollection_Iterator<Container> , shared_ptr<NCollection_Iterator<Container>> >(m,name,R"#(Helper class that allows to use NCollection iterators as STL iterators. NCollection iterator can be extended to STL iterator of any category by adding necessary methods: STL forward iterator requires IsEqual method, STL bidirectional iterator requires Previous method, and STL random access iterator requires Offset and Differ methods. See NCollection_Vector as example of declaring custom STL iterators.)#");
}

template <typename Container>
void register_template_NCollection_Iterator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Iterator<Container> , shared_ptr<NCollection_Iterator<Container>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const NCollection_Iterator<Container> & >() ,py::arg("theOther") )
        .def(py::init< const Container & >() ,py::arg("theList") )
        .def(py::init< const Container &,const typename Container::iterator & >() ,py::arg("theList"), py::arg("theOther") )
        .def("Init",
             (void (NCollection_Iterator<Container>::*)( Container &  ) ) &NCollection_Iterator<Container>::Init,
             R"#(None)#" ,py::arg("theList"))
        .def("Init",
             (void (NCollection_Iterator<Container>::*)( const Container &  ) ) &NCollection_Iterator<Container>::Init,
             R"#(None)#" ,py::arg("theList"))
        .def("More",
             (bool (NCollection_Iterator<Container>::*)() const) &NCollection_Iterator<Container>::More,
             R"#(None)#" )
        .def("Initialize",
             (void (NCollection_Iterator<Container>::*)( Container &  ) ) &NCollection_Iterator<Container>::Initialize,
             R"#(None)#" ,py::arg("theList"))
        .def("Initialize",
             (void (NCollection_Iterator<Container>::*)( const Container &  ) ) &NCollection_Iterator<Container>::Initialize,
             R"#(None)#" ,py::arg("theList"))
        .def("ValueIter",
             (const typename Container::iterator & (NCollection_Iterator<Container>::*)() const) &NCollection_Iterator<Container>::ValueIter,
             R"#(None)#" )
        .def("ChangeValueIter",
             (typename Container::iterator & (NCollection_Iterator<Container>::*)() ) &NCollection_Iterator<Container>::ChangeValueIter,
             R"#(None)#" )
        .def("EndIter",
             (const typename Container::iterator & (NCollection_Iterator<Container>::*)() const) &NCollection_Iterator<Container>::EndIter,
             R"#(None)#" )
        .def("ChangeEndIter",
             (typename Container::iterator & (NCollection_Iterator<Container>::*)() ) &NCollection_Iterator<Container>::ChangeEndIter,
             R"#(None)#" )
        .def("Next",
             (void (NCollection_Iterator<Container>::*)() ) &NCollection_Iterator<Container>::Next,
             R"#(None)#" )
        .def("Value",
             (const typename Container::const_reference (NCollection_Iterator<Container>::*)() const) &NCollection_Iterator<Container>::Value,
             R"#(None)#" )
        .def("ChangeValue",
             (const typename Container::reference (NCollection_Iterator<Container>::*)() ) &NCollection_Iterator<Container>::ChangeValue,
             R"#(None)#" )
    ;
};

template <typename Category,typename BaseIndexedMap,typename ItemType,bool IsConstant>
void preregister_template_NCollection_IndexedIterator(py::object &m, const char *name){
    py::class_<NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant> , shared_ptr<NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>> >(m,name,R"#(Helper class that allows to use NCollection iterators as STL iterators. NCollection iterator can be extended to STL iterator of any category by adding necessary methods: STL forward iterator requires IsEqual method, STL bidirectional iterator requires Previous method, and STL random access iterator requires Offset and Differ methods. See NCollection_Vector as example of declaring custom STL iterators.)#");
}

template <typename Category,typename BaseIndexedMap,typename ItemType,bool IsConstant>
void register_template_NCollection_IndexedIterator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant> , shared_ptr<NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const BaseIndexedMap & >() ,py::arg("theMap") )
        .def(py::init< const size_t,const BaseIndexedMap & >() ,py::arg("theIndex"), py::arg("theMap") )
        .def(py::init< const NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, false> & >() ,py::arg("theOther") )
        .def("__mul__",
             (typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::reference (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)() const) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator*,
             py::is_operator(),
             R"#(Get reference to current item)#" )
        .def("__rmul__",
             (typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::reference (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)() const) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator*,
             py::is_operator(),
             R"#(Get reference to current item)#" )
        .def("__iadd__",
             (NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant> & (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)( typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::difference_type  ) ) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator+=,
             py::is_operator(),
             R"#(Move forward)#" ,py::arg("theOffset"))
        .def("__add__",
             (NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant> (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)( typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::difference_type  ) const) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator+,
             py::is_operator(),
             R"#(Addition)#" ,py::arg("theOffset"))
        .def("__isub__",
             (NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant> & (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)( typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::difference_type  ) ) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator-=,
             py::is_operator(),
             R"#(Move backward)#" ,py::arg("theOffset"))
        .def("__sub__",
             (NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant> (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)( typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::difference_type  ) const) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator-,
             py::is_operator(),
             R"#(Decrease)#" ,py::arg("theOffset"))
        .def("__sub__",
             (typename NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant>::difference_type (NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::*)( const NCollection_IndexedIterator<Category, BaseIndexedMap, ItemType, IsConstant> &  ) const) &NCollection_IndexedIterator<Category,BaseIndexedMap,ItemType,IsConstant>::operator-,
             py::is_operator(),
             R"#(Difference)#" ,py::arg("theOther"))
    ;
};

template <typename TheKeyType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void preregister_template_NCollection_Map(py::object &m, const char *name){
    py::class_<NCollection_Map<TheKeyType,Hasher> , shared_ptr<NCollection_Map<TheKeyType,Hasher>> , NCollection_BaseMap >(m,name,R"#(Purpose: Single hashed Map. This Map is used to store and retrieve keys in linear time.)#");
}

template <typename TheKeyType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void register_template_NCollection_Map(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Map<TheKeyType,Hasher> , shared_ptr<NCollection_Map<TheKeyType,Hasher>> , NCollection_BaseMap >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theNbBuckets"), py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L) )
        .def(py::init< const NCollection_Map<TheKeyType, Hasher> & >() ,py::arg("theOther") )
        .def("Exchange",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Exchange,
             R"#(Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!)#" ,py::arg("theOther"))
        .def("Assign",
             (NCollection_Map<TheKeyType, Hasher> & (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Assign,
             R"#(Assign. This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("ReSize",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_Map<TheKeyType,Hasher>::ReSize,
             R"#(ReSize)#" ,py::arg("N"))
        .def("Add",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_Map<TheKeyType,Hasher>::Add,
             R"#(Add)#" ,py::arg("theKey"))
        .def("Added",
             (const TheKeyType & (NCollection_Map<TheKeyType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_Map<TheKeyType,Hasher>::Added,
             R"#(Added: add a new key if not yet in the map, and return reference to either newly added or previously existing object)#" ,py::arg("theKey"))
        .def("Contains",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_Map<TheKeyType,Hasher>::Contains,
             R"#(Contains)#" ,py::arg("theKey"))
        .def("Remove",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_Map<TheKeyType,Hasher>::Remove,
             R"#(Remove)#" ,py::arg("K"))
        .def("Clear",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const Standard_Boolean  ) ) &NCollection_Map<TheKeyType,Hasher>::Clear,
             R"#(Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.)#" ,py::arg("doReleaseMemory")=static_cast<const Standard_Boolean>(Standard_False))
        .def("Clear",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Clear,
             R"#(Clear data and reset allocator)#" ,py::arg("theAllocator"))
        .def("Size",
             (Standard_Integer (NCollection_Map<TheKeyType,Hasher>::*)() const) &NCollection_Map<TheKeyType,Hasher>::Size,
             R"#(Size)#" )
        .def("IsEqual",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) const) &NCollection_Map<TheKeyType,Hasher>::IsEqual,
             R"#(Returns true if two maps contains exactly the same keys)#" ,py::arg("theOther"))
        .def("Contains",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) const) &NCollection_Map<TheKeyType,Hasher>::Contains,
             R"#(Returns true if this map contains ALL keys of another map.)#" ,py::arg("theOther"))
        .def("Union",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> & ,  const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Union,
             R"#(Sets this Map to be the result of union (aka addition, fuse, merge, boolean OR) operation between two given Maps The new Map contains the values that are contained either in the first map or in the second map or in both. All previous content of this Map is cleared. This map (result of the boolean operation) can also be passed as one of operands.)#" ,py::arg("theLeft"), py::arg("theRight"))
        .def("Unite",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Unite,
             R"#(Apply to this Map the boolean operation union (aka addition, fuse, merge, boolean OR) with another (given) Map. The result contains the values that were previously contained in this map or contained in the given (operand) map. This algorithm is similar to method Union(). Returns True if contents of this map is changed.)#" ,py::arg("theOther"))
        .def("HasIntersection",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) const) &NCollection_Map<TheKeyType,Hasher>::HasIntersection,
             R"#(Returns true if this and theMap have common elements.)#" ,py::arg("theMap"))
        .def("Intersection",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> & ,  const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Intersection,
             R"#(Sets this Map to be the result of intersection (aka multiplication, common, boolean AND) operation between two given Maps. The new Map contains only the values that are contained in both map operands. All previous content of this Map is cleared. This same map (result of the boolean operation) can also be used as one of operands.)#" ,py::arg("theLeft"), py::arg("theRight"))
        .def("Intersect",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Intersect,
             R"#(Apply to this Map the intersection operation (aka multiplication, common, boolean AND) with another (given) Map. The result contains only the values that are contained in both this and the given maps. This algorithm is similar to method Intersection(). Returns True if contents of this map is changed.)#" ,py::arg("theOther"))
        .def("Subtraction",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> & ,  const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Subtraction,
             R"#(Sets this Map to be the result of subtraction (aka set-theoretic difference, relative complement, exclude, cut, boolean NOT) operation between two given Maps. The new Map contains only the values that are contained in the first map operands and not contained in the second one. All previous content of this Map is cleared.)#" ,py::arg("theLeft"), py::arg("theRight"))
        .def("Subtract",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Subtract,
             R"#(Apply to this Map the subtraction (aka set-theoretic difference, relative complement, exclude, cut, boolean NOT) operation with another (given) Map. The result contains only the values that were previously contained in this map and not contained in this map. This algorithm is similar to method Subtract() with two operands. Returns True if contents of this map is changed.)#" ,py::arg("theOther"))
        .def("Difference",
             (void (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> & ,  const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Difference,
             R"#(Sets this Map to be the result of symmetric difference (aka exclusive disjunction, boolean XOR) operation between two given Maps. The new Map contains the values that are contained only in the first or the second operand maps but not in both. All previous content of this Map is cleared. This map (result of the boolean operation) can also be used as one of operands.)#" ,py::arg("theLeft"), py::arg("theRight"))
        .def("Differ",
             (Standard_Boolean (NCollection_Map<TheKeyType,Hasher>::*)( const NCollection_Map<TheKeyType, Hasher> &  ) ) &NCollection_Map<TheKeyType,Hasher>::Differ,
             R"#(Apply to this Map the symmetric difference (aka exclusive disjunction, boolean XOR) operation with another (given) Map. The result contains the values that are contained only in this or the operand map, but not in both. This algorithm is similar to method Difference(). Returns True if contents of this map is changed.)#" ,py::arg("theOther"))
        .def("__iter__",[](const NCollection_Map<TheKeyType,Hasher> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.cbegin(), self.cend()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_Map<TheKeyType,Hasher> &self)
             { return self.Size(); }
             )
    ;
};

template <typename Element_t>
void preregister_template_NCollection_Mat3(py::object &m, const char *name){
    py::class_<NCollection_Mat3<Element_t> , shared_ptr<NCollection_Mat3<Element_t>> >(m,name,R"#(3x3 Matrix class. Warning, empty constructor returns an identity matrix.)#");
}

template <typename Element_t>
void register_template_NCollection_Mat3(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Mat3<Element_t> , shared_ptr<NCollection_Mat3<Element_t>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def("GetValue",
             (Element_t (NCollection_Mat3<Element_t>::*)( const size_t ,  const size_t  ) const) &NCollection_Mat3<Element_t>::GetValue,
             R"#(Get element at the specified row and column.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("ChangeValue",
             (Element_t & (NCollection_Mat3<Element_t>::*)( const size_t ,  const size_t  ) ) &NCollection_Mat3<Element_t>::ChangeValue,
             R"#(Access element at the specified row and column.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("SetValue",
             (void (NCollection_Mat3<Element_t>::*)( const size_t ,  const size_t ,  const Element_t  ) ) &NCollection_Mat3<Element_t>::SetValue,
             R"#(Set value for the element specified by row and columns.)#" ,py::arg("theRow"), py::arg("theCol"), py::arg("theValue"))
        .def("GetRow",
             (NCollection_Vec3<Element_t> (NCollection_Mat3<Element_t>::*)( const size_t  ) const) &NCollection_Mat3<Element_t>::GetRow,
             R"#(Return the row.)#" ,py::arg("theRow"))
        .def("SetRow",
             (void (NCollection_Mat3<Element_t>::*)( const size_t ,  const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::SetRow,
             R"#(Change first 3 row values by the passed vector.)#" ,py::arg("theRow"), py::arg("theVec"))
        .def("GetColumn",
             (NCollection_Vec3<Element_t> (NCollection_Mat3<Element_t>::*)( const size_t  ) const) &NCollection_Mat3<Element_t>::GetColumn,
             R"#(Return the column.)#" ,py::arg("theCol"))
        .def("SetColumn",
             (void (NCollection_Mat3<Element_t>::*)( const size_t ,  const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::SetColumn,
             R"#(Change first 3 column values by the passed vector.)#" ,py::arg("theCol"), py::arg("theVec"))
        .def("GetDiagonal",
             (NCollection_Vec3<Element_t> (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::GetDiagonal,
             R"#(Get vector of diagonal elements.)#" )
        .def("SetDiagonal",
             (void (NCollection_Mat3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::SetDiagonal,
             R"#(Change first 3 elements of the diagonal matrix.)#" ,py::arg("theVec"))
        .def("InitZero",
             (void (NCollection_Mat3<Element_t>::*)() ) &NCollection_Mat3<Element_t>::InitZero,
             R"#(Initialize the zero matrix.)#" )
        .def("IsZero",
             (bool (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::IsZero,
             R"#(Checks the matrix for zero (without tolerance).)#" )
        .def("InitIdentity",
             (void (NCollection_Mat3<Element_t>::*)() ) &NCollection_Mat3<Element_t>::InitIdentity,
             R"#(Initialize the identity matrix.)#" )
        .def("IsIdentity",
             (bool (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::IsIdentity,
             R"#(Checks the matrix for identity (without tolerance).)#" )
        .def("IsEqual",
             (bool (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::IsEqual,
             R"#(Check this matrix for equality with another matrix (without tolerance!).)#" ,py::arg("theOther"))
        .def("GetData",
             (const Element_t * (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::GetData,
             R"#(Raw access to the data (for OpenGL exchange). the data is returned in column-major order.)#" )
        .def("ChangeData",
             (Element_t * (NCollection_Mat3<Element_t>::*)() ) &NCollection_Mat3<Element_t>::ChangeData,
             R"#(None)#" )
        .def("Multiply",
             (void (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::Multiply,
             R"#(Compute matrix multiplication.)#" ,py::arg("theMat"))
        .def("Multiplied",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::Multiplied,
             R"#(Compute matrix multiplication product.)#" ,py::arg("theMat"))
        .def("Multiply",
             (void (NCollection_Mat3<Element_t>::*)( const Element_t  ) ) &NCollection_Mat3<Element_t>::Multiply,
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("Multiplied",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const Element_t  ) const) &NCollection_Mat3<Element_t>::Multiplied,
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("Divide",
             (void (NCollection_Mat3<Element_t>::*)( const Element_t  ) ) &NCollection_Mat3<Element_t>::Divide,
             R"#(Compute per-component division.)#" ,py::arg("theFactor"))
        .def("Divided",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const Element_t  ) const) &NCollection_Mat3<Element_t>::Divided,
             R"#(Divides all the coefficients of the matrix by scalar.)#" ,py::arg("theScalar"))
        .def("Add",
             (void (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::Add,
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("Subtract",
             (void (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::Subtract,
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("Added",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::Added,
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("Subtracted",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::Subtracted,
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("Negated",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::Negated,
             R"#(Returns matrix with all components negated.)#" )
        .def("Transposed",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::Transposed,
             R"#(Transpose the matrix.)#" )
        .def("Transpose",
             (void (NCollection_Mat3<Element_t>::*)() ) &NCollection_Mat3<Element_t>::Transpose,
             R"#(Transpose the matrix.)#" )
        .def("Determinant",
             (Element_t (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::Determinant,
             R"#(Return determinant of the matrix.)#" )
        .def("Adjoint",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::Adjoint,
             R"#(Return adjoint (adjugate matrix, e.g. conjugate transpose).)#" )
        .def("Inverted",
             (bool (NCollection_Mat3<Element_t>::*)( NCollection_Mat3<Element_t> & ,  Element_t &  ) const) &NCollection_Mat3<Element_t>::Inverted,
             R"#(Compute inverted matrix.)#" ,py::arg("theInv"), py::arg("theDet"))
        .def("Inverted",
             (bool (NCollection_Mat3<Element_t>::*)( NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::Inverted,
             R"#(Compute inverted matrix.)#" ,py::arg("theInv"))
        .def("Inverted",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::Inverted,
             R"#(Return inverted matrix.)#" )
        .def("DumpJson",
             (void (NCollection_Mat3<Element_t>::*)( std::ostream & ,  Standard_Integer  ) const) &NCollection_Mat3<Element_t>::DumpJson,
             R"#(Dumps the content of me into the stream)#" ,py::arg("theOStream"), py::arg("arg"))
        .def_static("Identity_s",
                    (NCollection_Mat3<Element_t> (*)() ) &NCollection_Mat3<Element_t>::Identity,
                    R"#(Return identity matrix.)#" )
        .def_static("Zero_s",
                    (NCollection_Mat3<Element_t> (*)() ) &NCollection_Mat3<Element_t>::Zero,
                    R"#(Return zero matrix.)#" )
        .def_static("Multiply_s",
                    (NCollection_Mat3<Element_t> (*)( const NCollection_Mat3<Element_t> & ,  const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::Multiply,
                    R"#(Compute matrix multiplication product: A * B.)#" ,py::arg("theMatA"), py::arg("theMatB"))
        .def_static("Map_s",
                    (NCollection_Mat3<Element_t> & (*)( Element_t *  ) ) &NCollection_Mat3<Element_t>::Map,
                    R"#(Maps plain C array to matrix type.)#" ,py::arg("theData"))
        .def_static("Map_s",
                    (const NCollection_Mat3<Element_t> & (*)( const Element_t *  ) ) &NCollection_Mat3<Element_t>::Map,
                    R"#(Maps plain C array to matrix type.)#" ,py::arg("theData"))
        .def("__call__",
             (Element_t & (NCollection_Mat3<Element_t>::*)( const size_t ,  const size_t  ) ) &NCollection_Mat3<Element_t>::operator(),
             py::is_operator(),
             R"#(Return value.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("__call__",
             (Element_t (NCollection_Mat3<Element_t>::*)( const size_t ,  const size_t  ) const) &NCollection_Mat3<Element_t>::operator(),
             py::is_operator(),
             R"#(Return value.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("__mul__",
             (NCollection_Vec3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::operator*,
             py::is_operator(),
             R"#(Multiply by the vector (M * V).)#" ,py::arg("theVec"))
        .def("__rmul__",
             (NCollection_Vec3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::operator*,
             py::is_operator(),
             R"#(Multiply by the vector (M * V).)#" ,py::arg("theVec"))
        .def("__imul__",
             (NCollection_Mat3<Element_t> & (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::operator*=,
             py::is_operator(),
             R"#(Multiply by the another matrix.)#" ,py::arg("theMat"))
        .def("__mul__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute matrix multiplication product.)#" ,py::arg("theMat"))
        .def("__rmul__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute matrix multiplication product.)#" ,py::arg("theMat"))
        .def("__imul__",
             (NCollection_Mat3<Element_t> & (NCollection_Mat3<Element_t>::*)( const Element_t  ) ) &NCollection_Mat3<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("__mul__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const Element_t  ) const) &NCollection_Mat3<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("__rmul__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const Element_t  ) const) &NCollection_Mat3<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("__itruediv__",
             (NCollection_Mat3<Element_t> & (NCollection_Mat3<Element_t>::*)( const Element_t  ) ) &NCollection_Mat3<Element_t>::operator/=,
             py::is_operator(),
             R"#(Per-component division.)#" ,py::arg("theScalar"))
        .def("__truediv__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const Element_t  ) const) &NCollection_Mat3<Element_t>::operator/,
             py::is_operator(),
             R"#(Divides all the coefficients of the matrix by scalar.)#" ,py::arg("theScalar"))
        .def("__iadd__",
             (NCollection_Mat3<Element_t> & (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::operator+=,
             py::is_operator(),
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("__isub__",
             (NCollection_Mat3<Element_t> & (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) ) &NCollection_Mat3<Element_t>::operator-=,
             py::is_operator(),
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("__add__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::operator+,
             py::is_operator(),
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("__sub__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)( const NCollection_Mat3<Element_t> &  ) const) &NCollection_Mat3<Element_t>::operator-,
             py::is_operator(),
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("__sub__",
             (NCollection_Mat3<Element_t> (NCollection_Mat3<Element_t>::*)() const) &NCollection_Mat3<Element_t>::operator-,
             py::is_operator(),
             R"#(Returns matrix with all components negated.)#" )
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_Array2(py::object &m, const char *name){
    py::class_<NCollection_Array2<TheItemType> , shared_ptr<NCollection_Array2<TheItemType>> >(m,name,R"#(Purpose: The class Array2 represents bi-dimensional arrays of fixed size known at run time. The ranges of indices are user defined.)#");
}

template <typename TheItemType>
void register_template_NCollection_Array2(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Array2<TheItemType> , shared_ptr<NCollection_Array2<TheItemType>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Integer >() ,py::arg("theRowLower"), py::arg("theRowUpper"), py::arg("theColLower"), py::arg("theColUpper") )
        .def(py::init<  const NCollection_Allocator<TheItemType> &,const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Integer >() ,py::arg("theAlloc"), py::arg("theRowLower"), py::arg("theRowUpper"), py::arg("theColLower"), py::arg("theColUpper") )
        .def(py::init< const NCollection_Array2<TheItemType> & >() ,py::arg("theOther") )
        .def(py::init< const TheItemType &,const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Integer >() ,py::arg("theBegin"), py::arg("theRowLower"), py::arg("theRowUpper"), py::arg("theColLower"), py::arg("theColUpper") )
        .def("Size",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::Size,
             R"#(Size (number of items))#" )
        .def("Length",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::Length,
             R"#(Length (number of items))#" )
        .def("NbRows",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::NbRows,
             R"#(Returns number of rows)#" )
        .def("NbColumns",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::NbColumns,
             R"#(Returns number of columns)#" )
        .def("RowLength",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::RowLength,
             R"#(Returns length of the row, i.e. number of columns)#" )
        .def("ColLength",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::ColLength,
             R"#(Returns length of the column, i.e. number of rows)#" )
        .def("LowerRow",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::LowerRow,
             R"#(LowerRow)#" )
        .def("UpperRow",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::UpperRow,
             R"#(UpperRow)#" )
        .def("LowerCol",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::LowerCol,
             R"#(LowerCol)#" )
        .def("UpperCol",
             (Standard_Integer (NCollection_Array2<TheItemType>::*)() const) &NCollection_Array2<TheItemType>::UpperCol,
             R"#(UpperCol)#" )
        .def("Assign",
             (NCollection_Array2<TheItemType> & (NCollection_Array2<TheItemType>::*)( const NCollection_Array2<TheItemType> &  ) ) &NCollection_Array2<TheItemType>::Assign,
             R"#(Assignment)#" ,py::arg("theOther"))
        .def("Move",
             (NCollection_Array2<TheItemType> & (NCollection_Array2<TheItemType>::*)( NCollection_Array2<TheItemType> &  ) ) &NCollection_Array2<TheItemType>::Move,
             R"#(Move assignment. This array will borrow all the data from theOther. The moved object will be left uninitialized and should not be used anymore.)#" ,py::arg("theOther"))
        .def("SetValue",
             (void (NCollection_Array2<TheItemType>::*)( const Standard_Integer ,  const Standard_Integer ,  const TheItemType &  ) ) &NCollection_Array2<TheItemType>::SetValue,
             R"#(SetValue)#" ,py::arg("theRow"), py::arg("theCol"), py::arg("theItem"))
        .def("Resize",
             (void (NCollection_Array2<TheItemType>::*)( Standard_Integer ,  Standard_Integer ,  Standard_Integer ,  Standard_Integer ,  Standard_Boolean  ) ) &NCollection_Array2<TheItemType>::Resize,
             R"#(Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.)#" ,py::arg("theRowLower"), py::arg("theRowUpper"), py::arg("theColLower"), py::arg("theColUpper"), py::arg("theToCopyData"))
        .def_static("BeginPosition_s",
                    (int (*)( Standard_Integer ,  Standard_Integer ,  Standard_Integer ,  Standard_Integer  ) ) &NCollection_Array2<TheItemType>::BeginPosition,
                    R"#(None)#" ,py::arg("theRowLower"), py::arg("arg"), py::arg("theColLower"), py::arg("theColUpper"))
        .def_static("LastPosition_s",
                    (int (*)( Standard_Integer ,  Standard_Integer ,  Standard_Integer ,  Standard_Integer  ) ) &NCollection_Array2<TheItemType>::LastPosition,
                    R"#(None)#" ,py::arg("theRowLower"), py::arg("theRowUpper"), py::arg("theColLower"), py::arg("theColUpper"))
        .def("__call__",
             (typename NCollection_Array2<TheItemType>::const_reference (NCollection_Array2<TheItemType>::*)( const Standard_Integer ,  const Standard_Integer  ) const) &NCollection_Array2<TheItemType>::operator(),
             py::is_operator(),
             R"#(operator() - alias to ChangeValue)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("__call__",
             (typename NCollection_Array2<TheItemType>::reference (NCollection_Array2<TheItemType>::*)( const Standard_Integer ,  const Standard_Integer  ) ) &NCollection_Array2<TheItemType>::operator(),
             py::is_operator(),
             R"#(operator() - alias to ChangeValue)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("__len__",[](const NCollection_Array2<TheItemType> &self)
             { return self.Size(); }
             )
    ;
};

template <typename ItemType>
void preregister_template_NCollection_Allocator(py::object &m, const char *name){
    py::class_<NCollection_Allocator<ItemType> , shared_ptr<NCollection_Allocator<ItemType>> >(m,name,R"#(Implements allocator requirements as defined in ISO C++ Standard 2003, section 20.1.5. The allocator uses a standard OCCT mechanism for memory allocation and deallocation. It can be used with standard containers (std::vector, std::map, etc.) to take advantage of OCCT memory optimizations.)#");
}

template <typename ItemType>
void register_template_NCollection_Allocator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Allocator<ItemType> , shared_ptr<NCollection_Allocator<ItemType>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("arg") )
    ;
};

template <typename Element_t>
void preregister_template_NCollection_Vec4(py::object &m, const char *name){
    py::class_<NCollection_Vec4<Element_t> , shared_ptr<NCollection_Vec4<Element_t>> >(m,name,R"#(Generic 4-components vector. To be used as RGBA color vector or XYZW 3D-point with special W-component for operations with projection / model view matrices. Use this class for 3D-points carefully because declared W-component may results in incorrect results if used without matrices.)#");
}

template <typename Element_t>
void register_template_NCollection_Vec4(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Vec4<Element_t> , shared_ptr<NCollection_Vec4<Element_t>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Element_t >() ,py::arg("theValue") )
        .def(py::init< const Element_t,const Element_t,const Element_t,const Element_t >() ,py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theW") )
        .def(py::init< const NCollection_Vec2<Element_t> & >() ,py::arg("theVec2") )
        .def(py::init< const NCollection_Vec3<Element_t> &,const Element_t >() ,py::arg("theVec3"), py::arg("theW")=static_cast<const Element_t>(Element_t ( 0 )) )
        .def("SetValues",
             (void (NCollection_Vec4<Element_t>::*)( const Element_t ,  const Element_t ,  const Element_t ,  const Element_t  ) ) &NCollection_Vec4<Element_t>::SetValues,
             R"#(Assign new values to the vector.)#" ,py::arg("theX"), py::arg("theY"), py::arg("theZ"), py::arg("theW"))
        .def("SetValues",
             (void (NCollection_Vec4<Element_t>::*)( const NCollection_Vec3<Element_t> & ,  const Element_t  ) ) &NCollection_Vec4<Element_t>::SetValues,
             R"#(Assign new values as 3-component vector and a 4-th value.)#" ,py::arg("theVec3"), py::arg("theW"))
        .def("x",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::x,
             R"#(Alias to 1st component as X coordinate in XYZW.)#" )
        .def("r",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::r,
             R"#(Alias to 1st component as RED channel in RGBA.)#" )
        .def("y",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::y,
             R"#(Alias to 2nd component as Y coordinate in XYZW.)#" )
        .def("g",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::g,
             R"#(Alias to 2nd component as GREEN channel in RGBA.)#" )
        .def("z",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::z,
             R"#(Alias to 3rd component as Z coordinate in XYZW.)#" )
        .def("b",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::b,
             R"#(Alias to 3rd component as BLUE channel in RGBA.)#" )
        .def("w",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::w,
             R"#(Alias to 4th component as W coordinate in XYZW.)#" )
        .def("a",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::a,
             R"#(Alias to 4th component as ALPHA channel in RGBA.)#" )
        .def("xy",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xy,
             R"#(None)#" )
        .def("yx",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yx,
             R"#(None)#" )
        .def("xz",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xz,
             R"#(None)#" )
        .def("zx",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zx,
             R"#(None)#" )
        .def("xw",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xw,
             R"#(None)#" )
        .def("wx",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wx,
             R"#(None)#" )
        .def("yz",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yz,
             R"#(None)#" )
        .def("zy",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zy,
             R"#(None)#" )
        .def("yw",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yw,
             R"#(None)#" )
        .def("wy",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wy,
             R"#(None)#" )
        .def("zw",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zw,
             R"#(None)#" )
        .def("wz",
             (const NCollection_Vec2<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wz,
             R"#(None)#" )
        .def("xyz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xyz,
             R"#(None)#" )
        .def("xzy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xzy,
             R"#(None)#" )
        .def("yxz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yxz,
             R"#(None)#" )
        .def("yzx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yzx,
             R"#(None)#" )
        .def("zyx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zyx,
             R"#(None)#" )
        .def("zxy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zxy,
             R"#(None)#" )
        .def("xyw",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xyw,
             R"#(None)#" )
        .def("xwy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xwy,
             R"#(None)#" )
        .def("yxw",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yxw,
             R"#(None)#" )
        .def("ywx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::ywx,
             R"#(None)#" )
        .def("wyx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wyx,
             R"#(None)#" )
        .def("wxy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wxy,
             R"#(None)#" )
        .def("xzw",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xzw,
             R"#(None)#" )
        .def("xwz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::xwz,
             R"#(None)#" )
        .def("zxw",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zxw,
             R"#(None)#" )
        .def("zwx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zwx,
             R"#(None)#" )
        .def("wzx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wzx,
             R"#(None)#" )
        .def("wxz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wxz,
             R"#(None)#" )
        .def("yzw",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::yzw,
             R"#(None)#" )
        .def("ywz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::ywz,
             R"#(None)#" )
        .def("zyw",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zyw,
             R"#(None)#" )
        .def("zwy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::zwy,
             R"#(None)#" )
        .def("wzy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wzy,
             R"#(None)#" )
        .def("wyz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::wyz,
             R"#(None)#" )
        .def("rgb",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::rgb,
             R"#(None)#" )
        .def("rbg",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::rbg,
             R"#(None)#" )
        .def("grb",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::grb,
             R"#(None)#" )
        .def("gbr",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::gbr,
             R"#(None)#" )
        .def("bgr",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::bgr,
             R"#(None)#" )
        .def("brg",
             (const NCollection_Vec3<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::brg,
             R"#(None)#" )
        .def("x",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::x,
             R"#(Alias to 1st component as X coordinate in XYZW.)#" )
        .def("r",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::r,
             R"#(Alias to 1st component as RED channel in RGBA.)#" )
        .def("y",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::y,
             R"#(Alias to 2nd component as Y coordinate in XYZW.)#" )
        .def("g",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::g,
             R"#(Alias to 2nd component as GREEN channel in RGBA.)#" )
        .def("z",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::z,
             R"#(Alias to 3rd component as Z coordinate in XYZW.)#" )
        .def("b",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::b,
             R"#(Alias to 3rd component as BLUE channel in RGBA.)#" )
        .def("w",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::w,
             R"#(Alias to 4th component as W coordinate in XYZW.)#" )
        .def("a",
             (Element_t & (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::a,
             R"#(Alias to 4th component as ALPHA channel in RGBA.)#" )
        .def("IsEqual",
             (bool (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) const) &NCollection_Vec4<Element_t>::IsEqual,
             R"#(Check this vector with another vector for equality (without tolerance!).)#" ,py::arg("theOther"))
        .def("GetData",
             (const Element_t * (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::GetData,
             R"#(Raw access to the data (for OpenGL exchange).)#" )
        .def("ChangeData",
             (Element_t * (NCollection_Vec4<Element_t>::*)() ) &NCollection_Vec4<Element_t>::ChangeData,
             R"#(None)#" )
        .def("Multiply",
             (void (NCollection_Vec4<Element_t>::*)( const Element_t  ) ) &NCollection_Vec4<Element_t>::Multiply,
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("Multiplied",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)( const Element_t  ) const) &NCollection_Vec4<Element_t>::Multiplied,
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("cwiseMin",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) const) &NCollection_Vec4<Element_t>::cwiseMin,
             R"#(Compute component-wise minimum of two vectors.)#" ,py::arg("theVec"))
        .def("cwiseMax",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) const) &NCollection_Vec4<Element_t>::cwiseMax,
             R"#(Compute component-wise maximum of two vectors.)#" ,py::arg("theVec"))
        .def("cwiseAbs",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::cwiseAbs,
             R"#(Compute component-wise modulus of the vector.)#" )
        .def("maxComp",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::maxComp,
             R"#(Compute maximum component of the vector.)#" )
        .def("minComp",
             (Element_t (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::minComp,
             R"#(Compute minimum component of the vector.)#" )
        .def("Dot",
             (Element_t (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) const) &NCollection_Vec4<Element_t>::Dot,
             R"#(Computes the dot product.)#" ,py::arg("theOther"))
        .def("DumpJson",
             (void (NCollection_Vec4<Element_t>::*)( std::ostream & ,  Standard_Integer  ) const) &NCollection_Vec4<Element_t>::DumpJson,
             R"#(Dumps the content of me into the stream)#" ,py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1))
        .def_static("Length_s",
                    (int (*)() ) &NCollection_Vec4<Element_t>::Length,
                    R"#(Returns the number of components.)#" )
        .def("__iadd__",
             (NCollection_Vec4<Element_t> & (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) ) &NCollection_Vec4<Element_t>::operator+=,
             py::is_operator(),
             R"#(Compute per-component summary.)#" ,py::arg("theAdd"))
        .def("__sub__",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)() const) &NCollection_Vec4<Element_t>::operator-,
             py::is_operator(),
             R"#(Unary -.)#" )
        .def("__isub__",
             (NCollection_Vec4<Element_t> & (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) ) &NCollection_Vec4<Element_t>::operator-=,
             py::is_operator(),
             R"#(Compute per-component subtraction.)#" ,py::arg("theDec"))
        .def("__imul__",
             (NCollection_Vec4<Element_t> & (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) ) &NCollection_Vec4<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-component multiplication.)#" ,py::arg("theRight"))
        .def("__imul__",
             (NCollection_Vec4<Element_t> & (NCollection_Vec4<Element_t>::*)( const Element_t  ) ) &NCollection_Vec4<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("__mul__",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)( const Element_t  ) const) &NCollection_Vec4<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("__rmul__",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)( const Element_t  ) const) &NCollection_Vec4<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("__itruediv__",
             (NCollection_Vec4<Element_t> & (NCollection_Vec4<Element_t>::*)( const Element_t  ) ) &NCollection_Vec4<Element_t>::operator/=,
             py::is_operator(),
             R"#(Compute per-component division by scale factor.)#" ,py::arg("theInvFactor"))
        .def("__itruediv__",
             (NCollection_Vec4<Element_t> & (NCollection_Vec4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) ) &NCollection_Vec4<Element_t>::operator/=,
             py::is_operator(),
             R"#(Compute per-component division.)#" ,py::arg("theRight"))
        .def("__truediv__",
             (NCollection_Vec4<Element_t> (NCollection_Vec4<Element_t>::*)( const Element_t  ) ) &NCollection_Vec4<Element_t>::operator/,
             py::is_operator(),
             R"#(Compute per-component division by scale factor.)#" ,py::arg("theInvFactor"))
    ;
};

template <typename TheObjType,typename TheBndType>
void preregister_template_NCollection_UBTreeFiller(py::object &m, const char *name){
    py::class_<NCollection_UBTreeFiller<TheObjType,TheBndType> , shared_ptr<NCollection_UBTreeFiller<TheObjType,TheBndType>> >(m,name,R"#(This class is used to fill an UBTree in a random order. The quality of a tree is much better (from the point of view of the search time) if objects are added to it in a random order to avoid adding a chain of neerby objects one following each other.)#");
}

template <typename TheObjType,typename TheBndType>
void register_template_NCollection_UBTreeFiller(py::object &m, const char *name){
    static_cast<py::class_<NCollection_UBTreeFiller<TheObjType,TheBndType> , shared_ptr<NCollection_UBTreeFiller<TheObjType,TheBndType>> >>(m.attr(name))
        .def(py::init< NCollection_UBTree<TheObjType, TheBndType> &,const opencascade::handle<NCollection_BaseAllocator> &,const Standard_Boolean >() ,py::arg("theTree"), py::arg("theAlloc")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L), py::arg("isFullRandom")=static_cast<const Standard_Boolean>(Standard_True) )
        .def("Add",
             (void (NCollection_UBTreeFiller<TheObjType,TheBndType>::*)( const TheObjType & ,  const TheBndType &  ) ) &NCollection_UBTreeFiller<TheObjType,TheBndType>::Add,
             R"#(Adds a pair (theObj, theBnd) to my sequence)#" ,py::arg("theObj"), py::arg("theBnd"))
        .def("Fill",
             (Standard_Integer (NCollection_UBTreeFiller<TheObjType,TheBndType>::*)() ) &NCollection_UBTreeFiller<TheObjType,TheBndType>::Fill,
             R"#(Fills the tree with the objects from my sequence. This method clears the internal buffer of added items making sure that no item would be added twice.)#" )
        .def("Reset",
             (void (NCollection_UBTreeFiller<TheObjType,TheBndType>::*)() ) &NCollection_UBTreeFiller<TheObjType,TheBndType>::Reset,
             R"#(Remove all data from Filler, partculary if the Tree no more needed so the destructor of this Filler should not populate the useless Tree.)#" )
        .def("CheckTree",
             (Standard_Integer (NCollection_UBTreeFiller<TheObjType,TheBndType>::*)( std::ostream &  ) ) &NCollection_UBTreeFiller<TheObjType,TheBndType>::CheckTree,
             R"#(Check the filled tree for the total number of items and the balance outputting these results to std::ostream.)#" ,py::arg("theStream"))
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_Sequence(py::object &m, const char *name){
    py::class_<NCollection_Sequence<TheItemType> , shared_ptr<NCollection_Sequence<TheItemType>> , NCollection_BaseSequence >(m,name,R"#(Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n)#");
}

template <typename TheItemType>
void register_template_NCollection_Sequence(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Sequence<TheItemType> , shared_ptr<NCollection_Sequence<TheItemType>> , NCollection_BaseSequence >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theAllocator") )
        .def(py::init< const NCollection_Sequence<TheItemType> & >() ,py::arg("theOther") )
        .def("Size",
             (Standard_Integer (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::Size,
             R"#(Number of items)#" )
        .def("Length",
             (Standard_Integer (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::Length,
             R"#(Number of items)#" )
        .def("Lower",
             (Standard_Integer (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::Lower,
             R"#(Method for consistency with other collections.)#" )
        .def("Upper",
             (Standard_Integer (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::Upper,
             R"#(Method for consistency with other collections.)#" )
        .def("IsEmpty",
             (Standard_Boolean (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::IsEmpty,
             R"#(Empty query)#" )
        .def("Reverse",
             (void (NCollection_Sequence<TheItemType>::*)() ) &NCollection_Sequence<TheItemType>::Reverse,
             R"#(Reverse sequence)#" )
        .def("Exchange",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  const Standard_Integer  ) ) &NCollection_Sequence<TheItemType>::Exchange,
             R"#(Exchange two members)#" ,py::arg("I"), py::arg("J"))
        .def("Clear",
             (void (NCollection_Sequence<TheItemType>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_Sequence<TheItemType>::Clear,
             R"#(Clear the items out, take a new allocator if non null)#" ,py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L))
        .def("Assign",
             (NCollection_Sequence<TheItemType> & (NCollection_Sequence<TheItemType>::*)( const NCollection_Sequence<TheItemType> &  ) ) &NCollection_Sequence<TheItemType>::Assign,
             R"#(Replace this sequence by the items of theOther. This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("Remove",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_Sequence<TheItemType>::Remove,
             R"#(Remove one item)#" ,py::arg("theIndex"))
        .def("Remove",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  const Standard_Integer  ) ) &NCollection_Sequence<TheItemType>::Remove,
             R"#(Remove range of items)#" ,py::arg("theFromIndex"), py::arg("theToIndex"))
        .def("Append",
             (void (NCollection_Sequence<TheItemType>::*)( const TheItemType &  ) ) &NCollection_Sequence<TheItemType>::Append,
             R"#(Append one item)#" ,py::arg("theItem"))
        .def("Append",
             (void (NCollection_Sequence<TheItemType>::*)( NCollection_Sequence<TheItemType> &  ) ) &NCollection_Sequence<TheItemType>::Append,
             R"#(Append another sequence (making it empty))#" ,py::arg("theSeq"))
        .def("Prepend",
             (void (NCollection_Sequence<TheItemType>::*)( const TheItemType &  ) ) &NCollection_Sequence<TheItemType>::Prepend,
             R"#(Prepend one item)#" ,py::arg("theItem"))
        .def("Prepend",
             (void (NCollection_Sequence<TheItemType>::*)( NCollection_Sequence<TheItemType> &  ) ) &NCollection_Sequence<TheItemType>::Prepend,
             R"#(Prepend another sequence (making it empty))#" ,py::arg("theSeq"))
        .def("InsertBefore",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  const TheItemType &  ) ) &NCollection_Sequence<TheItemType>::InsertBefore,
             R"#(InsertBefore theIndex theItem)#" ,py::arg("theIndex"), py::arg("theItem"))
        .def("InsertBefore",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  NCollection_Sequence<TheItemType> &  ) ) &NCollection_Sequence<TheItemType>::InsertBefore,
             R"#(InsertBefore theIndex another sequence (making it empty))#" ,py::arg("theIndex"), py::arg("theSeq"))
        .def("InsertAfter",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  NCollection_Sequence<TheItemType> &  ) ) &NCollection_Sequence<TheItemType>::InsertAfter,
             R"#(InsertAfter theIndex another sequence (making it empty))#" ,py::arg("theIndex"), py::arg("theSeq"))
        .def("InsertAfter",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  const TheItemType &  ) ) &NCollection_Sequence<TheItemType>::InsertAfter,
             R"#(InsertAfter theIndex theItem)#" ,py::arg("theIndex"), py::arg("theItem"))
        .def("Split",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  NCollection_Sequence<TheItemType> &  ) ) &NCollection_Sequence<TheItemType>::Split,
             R"#(Split in two sequences)#" ,py::arg("theIndex"), py::arg("theSeq"))
        .def("First",
             (const TheItemType & (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::First,
             R"#(First item access)#" )
        .def("ChangeFirst",
             (TheItemType & (NCollection_Sequence<TheItemType>::*)() ) &NCollection_Sequence<TheItemType>::ChangeFirst,
             R"#(First item access)#" )
        .def("Last",
             (const TheItemType & (NCollection_Sequence<TheItemType>::*)() const) &NCollection_Sequence<TheItemType>::Last,
             R"#(Last item access)#" )
        .def("ChangeLast",
             (TheItemType & (NCollection_Sequence<TheItemType>::*)() ) &NCollection_Sequence<TheItemType>::ChangeLast,
             R"#(Last item access)#" )
        .def("Value",
             (const TheItemType & (NCollection_Sequence<TheItemType>::*)( const Standard_Integer  ) const) &NCollection_Sequence<TheItemType>::Value,
             R"#(Constant item access by theIndex)#" ,py::arg("theIndex"))
        .def("ChangeValue",
             (TheItemType & (NCollection_Sequence<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_Sequence<TheItemType>::ChangeValue,
             R"#(Variable item access by theIndex)#" ,py::arg("theIndex"))
        .def("SetValue",
             (void (NCollection_Sequence<TheItemType>::*)( const Standard_Integer ,  const TheItemType &  ) ) &NCollection_Sequence<TheItemType>::SetValue,
             R"#(Set item value by theIndex)#" ,py::arg("theIndex"), py::arg("theItem"))
        .def_static("delNode_s",
                    (void (*)( NCollection_SeqNode * ,  opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_Sequence<TheItemType>::delNode,
                    R"#(Static deleter to be passed to BaseSequence)#" ,py::arg("theNode"), py::arg("theAl"))
        .def("__call__",
             (const TheItemType & (NCollection_Sequence<TheItemType>::*)( const Standard_Integer  ) const) &NCollection_Sequence<TheItemType>::operator(),
             py::is_operator(),
             R"#(Constant operator())#" ,py::arg("theIndex"))
        .def("__call__",
             (TheItemType & (NCollection_Sequence<TheItemType>::*)( const Standard_Integer  ) ) &NCollection_Sequence<TheItemType>::operator(),
             py::is_operator(),
             R"#(Variable operator())#" ,py::arg("theIndex"))
        .def("__iter__",[](const NCollection_Sequence<TheItemType> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.begin(), self.end()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_Sequence<TheItemType> &self)
             { return self.Size(); }
             )
        .def("__bool__",[](const NCollection_Sequence<TheItemType> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename TheKeyType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void preregister_template_NCollection_IndexedMap(py::object &m, const char *name){
    py::class_<NCollection_IndexedMap<TheKeyType,Hasher> , shared_ptr<NCollection_IndexedMap<TheKeyType,Hasher>> , NCollection_BaseMap >(m,name,R"#(Purpose: An indexed map is used to store keys and to bind an index to them. Each new key stored in the map gets an index. Index are incremented as keys are stored in the map. A key can be found by the index and an index by the key. No key but the last can be removed so the indices are in the range 1..Extent. See the class Map from NCollection for a discussion about the number of buckets.)#");
}

template <typename TheKeyType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void register_template_NCollection_IndexedMap(py::object &m, const char *name){
    static_cast<py::class_<NCollection_IndexedMap<TheKeyType,Hasher> , shared_ptr<NCollection_IndexedMap<TheKeyType,Hasher>> , NCollection_BaseMap >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theNbBuckets"), py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L) )
        .def(py::init< const NCollection_IndexedMap<TheKeyType, Hasher> & >() ,py::arg("theOther") )
        .def("Exchange",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( NCollection_IndexedMap<TheKeyType, Hasher> &  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Exchange,
             R"#(Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!)#" ,py::arg("theOther"))
        .def("Assign",
             (NCollection_IndexedMap<TheKeyType, Hasher> & (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const NCollection_IndexedMap<TheKeyType, Hasher> &  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Assign,
             R"#(Assign. This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("ReSize",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::ReSize,
             R"#(ReSize)#" ,py::arg("theExtent"))
        .def("Add",
             (Standard_Integer (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Add,
             R"#(Add)#" ,py::arg("theKey1"))
        .def("Contains",
             (Standard_Boolean (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_IndexedMap<TheKeyType,Hasher>::Contains,
             R"#(Contains)#" ,py::arg("theKey1"))
        .def("Substitute",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Integer ,  const TheKeyType &  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Substitute,
             R"#(Substitute)#" ,py::arg("theIndex"), py::arg("theKey1"))
        .def("Swap",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Integer ,  const Standard_Integer  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Swap,
             R"#(Swaps two elements with the given indices.)#" ,py::arg("theIndex1"), py::arg("theIndex2"))
        .def("RemoveLast",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)() ) &NCollection_IndexedMap<TheKeyType,Hasher>::RemoveLast,
             R"#(RemoveLast)#" )
        .def("RemoveFromIndex",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::RemoveFromIndex,
             R"#(Remove the key of the given index. Caution! The index of the last key can be changed.)#" ,py::arg("theIndex"))
        .def("RemoveKey",
             (Standard_Boolean (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::RemoveKey,
             R"#(Remove the given key. Caution! The index of the last key can be changed.)#" ,py::arg("theKey1"))
        .def("FindKey",
             (const TheKeyType & (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Integer  ) const) &NCollection_IndexedMap<TheKeyType,Hasher>::FindKey,
             R"#(FindKey)#" ,py::arg("theIndex"))
        .def("FindIndex",
             (Standard_Integer (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_IndexedMap<TheKeyType,Hasher>::FindIndex,
             R"#(FindIndex)#" ,py::arg("theKey1"))
        .def("Clear",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Boolean  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Clear,
             R"#(Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.)#" ,py::arg("doReleaseMemory")=static_cast<const Standard_Boolean>(Standard_False))
        .def("Clear",
             (void (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_IndexedMap<TheKeyType,Hasher>::Clear,
             R"#(Clear data and reset allocator)#" ,py::arg("theAllocator"))
        .def("Size",
             (Standard_Integer (NCollection_IndexedMap<TheKeyType,Hasher>::*)() const) &NCollection_IndexedMap<TheKeyType,Hasher>::Size,
             R"#(Size)#" )
        .def("__call__",
             (const TheKeyType & (NCollection_IndexedMap<TheKeyType,Hasher>::*)( const Standard_Integer  ) const) &NCollection_IndexedMap<TheKeyType,Hasher>::operator(),
             py::is_operator(),
             R"#(operator ())#" ,py::arg("theIndex"))
        .def("__iter__",[](const NCollection_IndexedMap<TheKeyType,Hasher> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.cbegin(), self.cend()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_IndexedMap<TheKeyType,Hasher> &self)
             { return self.Size(); }
             )
    ;
};

template <typename Element_t>
void preregister_template_NCollection_Vec3(py::object &m, const char *name){
    py::class_<NCollection_Vec3<Element_t> , shared_ptr<NCollection_Vec3<Element_t>> >(m,name,R"#(Generic 3-components vector. To be used as RGB color pixel or XYZ 3D-point. The main target for this class - to handle raw low-level arrays (from/to graphic driver etc.).)#");
}

template <typename Element_t>
void register_template_NCollection_Vec3(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Vec3<Element_t> , shared_ptr<NCollection_Vec3<Element_t>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< Element_t >() ,py::arg("theValue") )
        .def(py::init< const Element_t,const Element_t,const Element_t >() ,py::arg("theX"), py::arg("theY"), py::arg("theZ") )
        .def(py::init< const NCollection_Vec2<Element_t> &,Element_t >() ,py::arg("theVec2"), py::arg("theZ")=static_cast<Element_t>(Element_t ( 0 )) )
        .def("SetValues",
             (void (NCollection_Vec3<Element_t>::*)( const Element_t ,  const Element_t ,  const Element_t  ) ) &NCollection_Vec3<Element_t>::SetValues,
             R"#(Assign new values to the vector.)#" ,py::arg("theX"), py::arg("theY"), py::arg("theZ"))
        .def("SetValues",
             (void (NCollection_Vec3<Element_t>::*)( const NCollection_Vec2<Element_t> & ,  Element_t  ) ) &NCollection_Vec3<Element_t>::SetValues,
             R"#(Assign new values to the vector.)#" ,py::arg("theVec2"), py::arg("theZ"))
        .def("x",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::x,
             R"#(Alias to 1st component as X coordinate in XYZ.)#" )
        .def("r",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::r,
             R"#(Alias to 1st component as RED channel in RGB.)#" )
        .def("y",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::y,
             R"#(Alias to 2nd component as Y coordinate in XYZ.)#" )
        .def("g",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::g,
             R"#(Alias to 2nd component as GREEN channel in RGB.)#" )
        .def("z",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::z,
             R"#(Alias to 3rd component as Z coordinate in XYZ.)#" )
        .def("b",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::b,
             R"#(Alias to 3rd component as BLUE channel in RGB.)#" )
        .def("xy",
             (const NCollection_Vec2<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::xy,
             R"#(None)#" )
        .def("yx",
             (const NCollection_Vec2<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::yx,
             R"#(None)#" )
        .def("xz",
             (const NCollection_Vec2<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::xz,
             R"#(None)#" )
        .def("zx",
             (const NCollection_Vec2<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::zx,
             R"#(None)#" )
        .def("yz",
             (const NCollection_Vec2<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::yz,
             R"#(None)#" )
        .def("zy",
             (const NCollection_Vec2<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::zy,
             R"#(None)#" )
        .def("xyz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::xyz,
             R"#(None)#" )
        .def("xzy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::xzy,
             R"#(None)#" )
        .def("yxz",
             (const NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::yxz,
             R"#(None)#" )
        .def("yzx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::yzx,
             R"#(None)#" )
        .def("zyx",
             (const NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::zyx,
             R"#(None)#" )
        .def("zxy",
             (const NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::zxy,
             R"#(None)#" )
        .def("x",
             (Element_t & (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::x,
             R"#(Alias to 1st component as X coordinate in XYZ.)#" )
        .def("r",
             (Element_t & (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::r,
             R"#(Alias to 1st component as RED channel in RGB.)#" )
        .def("y",
             (Element_t & (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::y,
             R"#(Alias to 2nd component as Y coordinate in XYZ.)#" )
        .def("g",
             (Element_t & (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::g,
             R"#(Alias to 2nd component as GREEN channel in RGB.)#" )
        .def("z",
             (Element_t & (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::z,
             R"#(Alias to 3rd component as Z coordinate in XYZ.)#" )
        .def("b",
             (Element_t & (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::b,
             R"#(Alias to 3rd component as BLUE channel in RGB.)#" )
        .def("IsEqual",
             (bool (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) const) &NCollection_Vec3<Element_t>::IsEqual,
             R"#(Check this vector with another vector for equality (without tolerance!).)#" ,py::arg("theOther"))
        .def("GetData",
             (const Element_t * (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::GetData,
             R"#(Raw access to the data (for OpenGL exchange).)#" )
        .def("ChangeData",
             (Element_t * (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::ChangeData,
             R"#(None)#" )
        .def("Multiply",
             (void (NCollection_Vec3<Element_t>::*)( const Element_t  ) ) &NCollection_Vec3<Element_t>::Multiply,
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("Multiplied",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)( const Element_t  ) const) &NCollection_Vec3<Element_t>::Multiplied,
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("cwiseMin",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) const) &NCollection_Vec3<Element_t>::cwiseMin,
             R"#(Compute component-wise minimum of two vectors.)#" ,py::arg("theVec"))
        .def("cwiseMax",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) const) &NCollection_Vec3<Element_t>::cwiseMax,
             R"#(Compute component-wise maximum of two vectors.)#" ,py::arg("theVec"))
        .def("cwiseAbs",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::cwiseAbs,
             R"#(Compute component-wise modulus of the vector.)#" )
        .def("maxComp",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::maxComp,
             R"#(Compute maximum component of the vector.)#" )
        .def("minComp",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::minComp,
             R"#(Compute minimum component of the vector.)#" )
        .def("Dot",
             (Element_t (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) const) &NCollection_Vec3<Element_t>::Dot,
             R"#(Computes the dot product.)#" ,py::arg("theOther"))
        .def("Modulus",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::Modulus,
             R"#(Computes the vector modulus (magnitude, length).)#" )
        .def("SquareModulus",
             (Element_t (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::SquareModulus,
             R"#(Computes the square of vector modulus (magnitude, length). This method may be used for performance tricks.)#" )
        .def("Normalize",
             (void (NCollection_Vec3<Element_t>::*)() ) &NCollection_Vec3<Element_t>::Normalize,
             R"#(Normalize the vector.)#" )
        .def("Normalized",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::Normalized,
             R"#(Normalize the vector.)#" )
        .def("DumpJson",
             (void (NCollection_Vec3<Element_t>::*)( std::ostream & ,  Standard_Integer  ) const) &NCollection_Vec3<Element_t>::DumpJson,
             R"#(Dumps the content of me into the stream)#" ,py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1))
        .def_static("Length_s",
                    (int (*)() ) &NCollection_Vec3<Element_t>::Length,
                    R"#(Returns the number of components.)#" )
        .def_static("Cross_s",
                    (NCollection_Vec3<Element_t> (*)( const NCollection_Vec3<Element_t> & ,  const NCollection_Vec3<Element_t> &  ) ) &NCollection_Vec3<Element_t>::Cross,
                    R"#(Computes the cross product.)#" ,py::arg("theVec1"), py::arg("theVec2"))
        .def_static("GetLERP_s",
                    (NCollection_Vec3<Element_t> (*)( const NCollection_Vec3<Element_t> & ,  const NCollection_Vec3<Element_t> & ,  const Element_t  ) ) &NCollection_Vec3<Element_t>::GetLERP,
                    R"#(Compute linear interpolation between to vectors.)#" ,py::arg("theFrom"), py::arg("theTo"), py::arg("theT"))
        .def_static("DX_s",
                    (NCollection_Vec3<Element_t> (*)() ) &NCollection_Vec3<Element_t>::DX,
                    R"#(Construct DX unit vector.)#" )
        .def_static("DY_s",
                    (NCollection_Vec3<Element_t> (*)() ) &NCollection_Vec3<Element_t>::DY,
                    R"#(Construct DY unit vector.)#" )
        .def_static("DZ_s",
                    (NCollection_Vec3<Element_t> (*)() ) &NCollection_Vec3<Element_t>::DZ,
                    R"#(Construct DZ unit vector.)#" )
        .def("__iadd__",
             (NCollection_Vec3<Element_t> & (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Vec3<Element_t>::operator+=,
             py::is_operator(),
             R"#(Compute per-component summary.)#" ,py::arg("theAdd"))
        .def("__sub__",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)() const) &NCollection_Vec3<Element_t>::operator-,
             py::is_operator(),
             R"#(Unary -.)#" )
        .def("__isub__",
             (NCollection_Vec3<Element_t> & (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Vec3<Element_t>::operator-=,
             py::is_operator(),
             R"#(Compute per-component subtraction.)#" ,py::arg("theDec"))
        .def("__imul__",
             (NCollection_Vec3<Element_t> & (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Vec3<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-component multiplication.)#" ,py::arg("theRight"))
        .def("__imul__",
             (NCollection_Vec3<Element_t> & (NCollection_Vec3<Element_t>::*)( const Element_t  ) ) &NCollection_Vec3<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("__mul__",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)( const Element_t  ) const) &NCollection_Vec3<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("__rmul__",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)( const Element_t  ) const) &NCollection_Vec3<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("__itruediv__",
             (NCollection_Vec3<Element_t> & (NCollection_Vec3<Element_t>::*)( const Element_t  ) ) &NCollection_Vec3<Element_t>::operator/=,
             py::is_operator(),
             R"#(Compute per-component division by scale factor.)#" ,py::arg("theInvFactor"))
        .def("__itruediv__",
             (NCollection_Vec3<Element_t> & (NCollection_Vec3<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Vec3<Element_t>::operator/=,
             py::is_operator(),
             R"#(Compute per-component division.)#" ,py::arg("theRight"))
        .def("__truediv__",
             (NCollection_Vec3<Element_t> (NCollection_Vec3<Element_t>::*)( const Element_t  ) const) &NCollection_Vec3<Element_t>::operator/,
             py::is_operator(),
             R"#(Compute per-component division by scale factor.)#" ,py::arg("theInvFactor"))
    ;
};

template <typename T>
void preregister_template_NCollection_Lerp(py::object &m, const char *name){
    py::class_<NCollection_Lerp<T> , shared_ptr<NCollection_Lerp<T>> >(m,name,R"#(Simple linear interpolation tool (also known as mix() in GLSL). The main purpose of this template class is making interpolation routines more readable.)#");
}

template <typename T>
void register_template_NCollection_Lerp(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Lerp<T> , shared_ptr<NCollection_Lerp<T>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const T &,const T & >() ,py::arg("theStart"), py::arg("theEnd") )
        .def("Init",
             (void (NCollection_Lerp<T>::*)( const T & ,  const T &  ) ) &NCollection_Lerp<T>::Init,
             R"#(Initialize values.)#" ,py::arg("theStart"), py::arg("theEnd"))
        .def("Interpolate",
             (void (NCollection_Lerp<T>::*)( double ,  T &  ) const) &NCollection_Lerp<T>::Interpolate,
             R"#(Compute interpolated value between two values.)#" ,py::arg("theT"), py::arg("theResult"))
        .def_static("Interpolate_s",
                    (T (*)( const T & ,  const T & ,  double  ) ) &NCollection_Lerp<T>::Interpolate,
                    R"#(Compute interpolated value between two values.)#" ,py::arg("theStart"), py::arg("theEnd"), py::arg("theT"))
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_SparseArray(py::object &m, const char *name){
    py::class_<NCollection_SparseArray<TheItemType> , shared_ptr<NCollection_SparseArray<TheItemType>> , NCollection_SparseArrayBase >(m,name,R"#(Dynamically resizable sparse array of objects)#");
}

template <typename TheItemType>
void register_template_NCollection_SparseArray(py::object &m, const char *name){
    static_cast<py::class_<NCollection_SparseArray<TheItemType> , shared_ptr<NCollection_SparseArray<TheItemType>> , NCollection_SparseArrayBase >>(m.attr(name))
        .def(py::init< Standard_Size >() ,py::arg("theIncrement") )
        .def("Assign",
             (NCollection_SparseArray<TheItemType> & (NCollection_SparseArray<TheItemType>::*)( const NCollection_SparseArray<TheItemType> &  ) ) &NCollection_SparseArray<TheItemType>::Assign,
             R"#(Explicit assignment operator)#" ,py::arg("theOther"))
        .def("Exchange",
             (void (NCollection_SparseArray<TheItemType>::*)( NCollection_SparseArray<TheItemType> &  ) ) &NCollection_SparseArray<TheItemType>::Exchange,
             R"#(Exchange the data of two arrays; can be used primarily to move contents of theOther into the new array in a fast way (without creation of duplicated data))#" ,py::arg("theOther"))
        .def("Value",
             (const TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) const) &NCollection_SparseArray<TheItemType>::Value,
             R"#(Direct const access to the item)#" ,py::arg("theIndex"))
        .def("ChangeValue",
             (TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) ) &NCollection_SparseArray<TheItemType>::ChangeValue,
             R"#(Modification access to the item)#" ,py::arg("theIndex"))
        .def("SetValue",
             (TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size ,  const TheItemType &  ) ) &NCollection_SparseArray<TheItemType>::SetValue,
             R"#(Set a value at specified index method)#" ,py::arg("theIndex"), py::arg("theValue"))
        .def("Extent",
             (Standard_Size (NCollection_SparseArray<TheItemType>::*)() const) &NCollection_SparseArray<TheItemType>::Extent,
             R"#(Returns number of items in the array)#" )
        .def("IsEmpty",
             (Standard_Boolean (NCollection_SparseArray<TheItemType>::*)() const) &NCollection_SparseArray<TheItemType>::IsEmpty,
             R"#(Returns True if array is empty)#" )
        .def("Find",
             (const TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) const) &NCollection_SparseArray<TheItemType>::Find,
             R"#(Direct const access to the item)#" ,py::arg("theIndex"))
        .def("ChangeFind",
             (TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) ) &NCollection_SparseArray<TheItemType>::ChangeFind,
             R"#(Modification access to the item)#" ,py::arg("theIndex"))
        .def("Bind",
             (TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size ,  const TheItemType &  ) ) &NCollection_SparseArray<TheItemType>::Bind,
             R"#(Set a value as explicit method)#" ,py::arg("theIndex"), py::arg("theValue"))
        .def("IsBound",
             (Standard_Boolean (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) const) &NCollection_SparseArray<TheItemType>::IsBound,
             R"#(Returns True if the item is defined)#" ,py::arg("theIndex"))
        .def("UnBind",
             (Standard_Boolean (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) ) &NCollection_SparseArray<TheItemType>::UnBind,
             R"#(Remove the item from array)#" ,py::arg("theIndex"))
        .def("__call__",
             (const TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) const) &NCollection_SparseArray<TheItemType>::operator(),
             py::is_operator(),
             R"#(Const access to the item - operator())#" ,py::arg("theIndex"))
        .def("__call__",
             (TheItemType & (NCollection_SparseArray<TheItemType>::*)( const Standard_Size  ) ) &NCollection_SparseArray<TheItemType>::operator(),
             py::is_operator(),
             R"#(Access to the item - operator())#" ,py::arg("theIndex"))
        .def("__len__",[](const NCollection_SparseArray<TheItemType> &self)
             { return self.Extent(); }
             )
        .def("__bool__",[](const NCollection_SparseArray<TheItemType> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename Element_t>
void preregister_template_NCollection_Mat4(py::object &m, const char *name){
    py::class_<NCollection_Mat4<Element_t> , shared_ptr<NCollection_Mat4<Element_t>> >(m,name,R"#(Generic matrix of 4 x 4 elements. To be used in conjunction with NCollection_Vec4 entities. Originally introduced for 3D space projection and orientation operations. Warning, empty constructor returns an identity matrix.)#");
}

template <typename Element_t>
void register_template_NCollection_Mat4(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Mat4<Element_t> , shared_ptr<NCollection_Mat4<Element_t>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def("GetValue",
             (Element_t (NCollection_Mat4<Element_t>::*)( const size_t ,  const size_t  ) const) &NCollection_Mat4<Element_t>::GetValue,
             R"#(Get element at the specified row and column.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("ChangeValue",
             (Element_t & (NCollection_Mat4<Element_t>::*)( const size_t ,  const size_t  ) ) &NCollection_Mat4<Element_t>::ChangeValue,
             R"#(Access element at the specified row and column.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("SetValue",
             (void (NCollection_Mat4<Element_t>::*)( const size_t ,  const size_t ,  const Element_t  ) ) &NCollection_Mat4<Element_t>::SetValue,
             R"#(Set value for the element specified by row and columns.)#" ,py::arg("theRow"), py::arg("theCol"), py::arg("theValue"))
        .def("GetRow",
             (NCollection_Vec4<Element_t> (NCollection_Mat4<Element_t>::*)( const size_t  ) const) &NCollection_Mat4<Element_t>::GetRow,
             R"#(Get vector of elements for the specified row.)#" ,py::arg("theRow"))
        .def("SetRow",
             (void (NCollection_Mat4<Element_t>::*)( const size_t ,  const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat4<Element_t>::SetRow,
             R"#(Change first 3 row values by the passed vector.)#" ,py::arg("theRow"), py::arg("theVec"))
        .def("SetRow",
             (void (NCollection_Mat4<Element_t>::*)( const size_t ,  const NCollection_Vec4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::SetRow,
             R"#(Set row values by the passed 4 element vector.)#" ,py::arg("theRow"), py::arg("theVec"))
        .def("GetColumn",
             (NCollection_Vec4<Element_t> (NCollection_Mat4<Element_t>::*)( const size_t  ) const) &NCollection_Mat4<Element_t>::GetColumn,
             R"#(Get vector of elements for the specified column.)#" ,py::arg("theCol"))
        .def("SetColumn",
             (void (NCollection_Mat4<Element_t>::*)( const size_t ,  const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat4<Element_t>::SetColumn,
             R"#(Change first 3 column values by the passed vector.)#" ,py::arg("theCol"), py::arg("theVec"))
        .def("SetColumn",
             (void (NCollection_Mat4<Element_t>::*)( const size_t ,  const NCollection_Vec4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::SetColumn,
             R"#(Set column values by the passed 4 element vector.)#" ,py::arg("theCol"), py::arg("theVec"))
        .def("GetDiagonal",
             (NCollection_Vec4<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::GetDiagonal,
             R"#(Get vector of diagonal elements.)#" )
        .def("SetDiagonal",
             (void (NCollection_Mat4<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat4<Element_t>::SetDiagonal,
             R"#(Change first 3 elements of the diagonal matrix.)#" ,py::arg("theVec"))
        .def("SetDiagonal",
             (void (NCollection_Mat4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::SetDiagonal,
             R"#(Set diagonal elements of the matrix by the passed vector.)#" ,py::arg("theVec"))
        .def("GetMat3",
             (NCollection_Mat3<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::GetMat3,
             R"#(Return 3x3 sub-matrix.)#" )
        .def("InitZero",
             (void (NCollection_Mat4<Element_t>::*)() ) &NCollection_Mat4<Element_t>::InitZero,
             R"#(Initialize the zero matrix.)#" )
        .def("IsZero",
             (bool (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::IsZero,
             R"#(Checks the matrix for zero (without tolerance).)#" )
        .def("InitIdentity",
             (void (NCollection_Mat4<Element_t>::*)() ) &NCollection_Mat4<Element_t>::InitIdentity,
             R"#(Initialize the identity matrix.)#" )
        .def("IsIdentity",
             (bool (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::IsIdentity,
             R"#(Checks the matrix for identity (without tolerance).)#" )
        .def("IsEqual",
             (bool (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::IsEqual,
             R"#(Check this matrix for equality with another matrix (without tolerance!).)#" ,py::arg("theOther"))
        .def("GetData",
             (const Element_t * (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::GetData,
             R"#(Raw access to the data (for OpenGL exchange); the data is returned in column-major order.)#" )
        .def("ChangeData",
             (Element_t * (NCollection_Mat4<Element_t>::*)() ) &NCollection_Mat4<Element_t>::ChangeData,
             R"#(None)#" )
        .def("Multiply",
             (void (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::Multiply,
             R"#(Compute matrix multiplication.)#" ,py::arg("theMat"))
        .def("Multiplied",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::Multiplied,
             R"#(Compute matrix multiplication product.)#" ,py::arg("theMat"))
        .def("Multiply",
             (void (NCollection_Mat4<Element_t>::*)( const Element_t  ) ) &NCollection_Mat4<Element_t>::Multiply,
             R"#(Compute per-component multiplication.)#" ,py::arg("theFactor"))
        .def("Multiplied",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const Element_t  ) const) &NCollection_Mat4<Element_t>::Multiplied,
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("Divide",
             (void (NCollection_Mat4<Element_t>::*)( const Element_t  ) ) &NCollection_Mat4<Element_t>::Divide,
             R"#(Compute per-component division.)#" ,py::arg("theFactor"))
        .def("Divided",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const Element_t  ) const) &NCollection_Mat4<Element_t>::Divided,
             R"#(Divides all the coefficients of the matrix by scalar.)#" ,py::arg("theScalar"))
        .def("Add",
             (void (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::Add,
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("Subtract",
             (void (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::Subtract,
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("Added",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::Added,
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("Subtracted",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::Subtracted,
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("Negated",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::Negated,
             R"#(Returns matrix with all components negated.)#" )
        .def("Translate",
             (void (NCollection_Mat4<Element_t>::*)( const NCollection_Vec3<Element_t> &  ) ) &NCollection_Mat4<Element_t>::Translate,
             R"#(Translate the matrix on the passed vector.)#" ,py::arg("theVec"))
        .def("Transposed",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::Transposed,
             R"#(Transpose the matrix.)#" )
        .def("Transpose",
             (void (NCollection_Mat4<Element_t>::*)() ) &NCollection_Mat4<Element_t>::Transpose,
             R"#(Transpose the matrix.)#" )
        .def("Inverted",
             (bool (NCollection_Mat4<Element_t>::*)( NCollection_Mat4<Element_t> & ,  Element_t &  ) const) &NCollection_Mat4<Element_t>::Inverted,
             R"#(Compute inverted matrix.)#" ,py::arg("theOutMx"), py::arg("theDet"))
        .def("Inverted",
             (bool (NCollection_Mat4<Element_t>::*)( NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::Inverted,
             R"#(Compute inverted matrix.)#" ,py::arg("theOutMx"))
        .def("Inverted",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::Inverted,
             R"#(Return inverted matrix.)#" )
        .def("DeterminantMat3",
             (Element_t (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::DeterminantMat3,
             R"#(Return determinant of the 3x3 sub-matrix.)#" )
        .def("Adjoint",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::Adjoint,
             R"#(Return adjoint (adjugate matrix, e.g. conjugate transpose).)#" )
        .def("DumpJson",
             (void (NCollection_Mat4<Element_t>::*)( std::ostream & ,  Standard_Integer  ) const) &NCollection_Mat4<Element_t>::DumpJson,
             R"#(Dumps the content of me into the stream)#" ,py::arg("theOStream"), py::arg("arg"))
        .def_static("Rows_s",
                    (size_t (*)() ) &NCollection_Mat4<Element_t>::Rows,
                    R"#(Get number of rows.)#" )
        .def_static("Cols_s",
                    (size_t (*)() ) &NCollection_Mat4<Element_t>::Cols,
                    R"#(Get number of columns.)#" )
        .def_static("Identity_s",
                    (NCollection_Mat4<Element_t> (*)() ) &NCollection_Mat4<Element_t>::Identity,
                    R"#(Return identity matrix.)#" )
        .def_static("Zero_s",
                    (NCollection_Mat4<Element_t> (*)() ) &NCollection_Mat4<Element_t>::Zero,
                    R"#(Return zero matrix.)#" )
        .def_static("Multiply_s",
                    (NCollection_Mat4<Element_t> (*)( const NCollection_Mat4<Element_t> & ,  const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::Multiply,
                    R"#(Compute matrix multiplication product: A * B.)#" ,py::arg("theMatA"), py::arg("theMatB"))
        .def_static("Map_s",
                    (NCollection_Mat4<Element_t> & (*)( Element_t *  ) ) &NCollection_Mat4<Element_t>::Map,
                    R"#(Maps plain C array to matrix type.)#" ,py::arg("theData"))
        .def_static("Map_s",
                    (const NCollection_Mat4<Element_t> & (*)( const Element_t *  ) ) &NCollection_Mat4<Element_t>::Map,
                    R"#(Maps plain C array to matrix type.)#" ,py::arg("theData"))
        .def("__call__",
             (Element_t & (NCollection_Mat4<Element_t>::*)( const size_t ,  const size_t  ) ) &NCollection_Mat4<Element_t>::operator(),
             py::is_operator(),
             R"#(Return value.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("__call__",
             (Element_t (NCollection_Mat4<Element_t>::*)( const size_t ,  const size_t  ) const) &NCollection_Mat4<Element_t>::operator(),
             py::is_operator(),
             R"#(Return value.)#" ,py::arg("theRow"), py::arg("theCol"))
        .def("__mul__",
             (NCollection_Vec4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::operator*,
             py::is_operator(),
             R"#(Multiply by the vector (M * V).)#" ,py::arg("theVec"))
        .def("__rmul__",
             (NCollection_Vec4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Vec4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::operator*,
             py::is_operator(),
             R"#(Multiply by the vector (M * V).)#" ,py::arg("theVec"))
        .def("__imul__",
             (NCollection_Mat4<Element_t> & (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::operator*=,
             py::is_operator(),
             R"#(Multiply by the another matrix.)#" ,py::arg("theMat"))
        .def("__mul__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute matrix multiplication product.)#" ,py::arg("theMat"))
        .def("__rmul__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute matrix multiplication product.)#" ,py::arg("theMat"))
        .def("__imul__",
             (NCollection_Mat4<Element_t> & (NCollection_Mat4<Element_t>::*)( const Element_t  ) ) &NCollection_Mat4<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("__mul__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const Element_t  ) const) &NCollection_Mat4<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("__rmul__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const Element_t  ) const) &NCollection_Mat4<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-element multiplication.)#" ,py::arg("theFactor"))
        .def("__itruediv__",
             (NCollection_Mat4<Element_t> & (NCollection_Mat4<Element_t>::*)( const Element_t  ) ) &NCollection_Mat4<Element_t>::operator/=,
             py::is_operator(),
             R"#(Per-component division.)#" ,py::arg("theScalar"))
        .def("__truediv__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const Element_t  ) const) &NCollection_Mat4<Element_t>::operator/,
             py::is_operator(),
             R"#(Divides all the coefficients of the matrix by scalar.)#" ,py::arg("theScalar"))
        .def("__iadd__",
             (NCollection_Mat4<Element_t> & (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::operator+=,
             py::is_operator(),
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("__isub__",
             (NCollection_Mat4<Element_t> & (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) ) &NCollection_Mat4<Element_t>::operator-=,
             py::is_operator(),
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("__add__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::operator+,
             py::is_operator(),
             R"#(Per-component addition of another matrix.)#" ,py::arg("theMat"))
        .def("__sub__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)( const NCollection_Mat4<Element_t> &  ) const) &NCollection_Mat4<Element_t>::operator-,
             py::is_operator(),
             R"#(Per-component subtraction of another matrix.)#" ,py::arg("theMat"))
        .def("__sub__",
             (NCollection_Mat4<Element_t> (NCollection_Mat4<Element_t>::*)() const) &NCollection_Mat4<Element_t>::operator-,
             py::is_operator(),
             R"#(Returns matrix with all components negated.)#" )
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_TListNode(py::object &m, const char *name){
    py::class_<NCollection_TListNode<TheItemType> , shared_ptr<NCollection_TListNode<TheItemType>> >(m,name,R"#(Purpose: Abstract list node class. Used by BaseList Remark: Internal class)#");
}

template <typename TheItemType>
void register_template_NCollection_TListNode(py::object &m, const char *name){
    static_cast<py::class_<NCollection_TListNode<TheItemType> , shared_ptr<NCollection_TListNode<TheItemType>> >>(m.attr(name))
        .def(py::init< const TheItemType &,NCollection_ListNode * >() ,py::arg("theItem"), py::arg("theNext")=static_cast<NCollection_ListNode *>(NULL) )
        .def("Value",
             (const TheItemType & (NCollection_TListNode<TheItemType>::*)() const) &NCollection_TListNode<TheItemType>::Value,
             R"#(Constant value access)#" )
        .def("ChangeValue",
             (TheItemType & (NCollection_TListNode<TheItemType>::*)() ) &NCollection_TListNode<TheItemType>::ChangeValue,
             R"#(Variable value access)#" )
        .def_static("delNode_s",
                    (void (*)( NCollection_ListNode * ,  opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_TListNode<TheItemType>::delNode,
                    R"#(Static deleter to be passed to BaseList)#" ,py::arg("theNode"), py::arg("theAl"))
    ;
};

template <typename TheKeyType>
void preregister_template_NCollection_DefaultHasher(py::object &m, const char *name){
    py::class_<NCollection_DefaultHasher<TheKeyType> , shared_ptr<NCollection_DefaultHasher<TheKeyType>> >(m,name,R"#(Purpose: The DefaultHasher is a Hasher that is used by default in NCollection maps. To compute the hash code of the key is used the global function HashCode. To compare two keys is used the global function IsEqual.)#");
}

template <typename TheKeyType>
void register_template_NCollection_DefaultHasher(py::object &m, const char *name){
    static_cast<py::class_<NCollection_DefaultHasher<TheKeyType> , shared_ptr<NCollection_DefaultHasher<TheKeyType>> >>(m.attr(name))
        .def("__call__",
             (size_t (NCollection_DefaultHasher<TheKeyType>::*)( const TheKeyType &  ) const) &NCollection_DefaultHasher<TheKeyType>::operator(),
             py::is_operator(),
             R"#(None)#" ,py::arg("theKey"))
        .def("__call__",
             (bool (NCollection_DefaultHasher<TheKeyType>::*)( const TheKeyType & ,  const TheKeyType &  ) const) &NCollection_DefaultHasher<TheKeyType>::operator(),
             py::is_operator(),
             R"#(None)#" ,py::arg("theK1"), py::arg("theK2"))
    ;
};

template <typename Element_t>
void preregister_template_NCollection_Vec2(py::object &m, const char *name){
    py::class_<NCollection_Vec2<Element_t> , shared_ptr<NCollection_Vec2<Element_t>> >(m,name,R"#(Defines the 2D-vector template. The main target for this class - to handle raw low-level arrays (from/to graphic driver etc.).)#");
}

template <typename Element_t>
void register_template_NCollection_Vec2(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Vec2<Element_t> , shared_ptr<NCollection_Vec2<Element_t>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Element_t >() ,py::arg("theXY") )
        .def(py::init< const Element_t,const Element_t >() ,py::arg("theX"), py::arg("theY") )
        .def("SetValues",
             (void (NCollection_Vec2<Element_t>::*)( const Element_t ,  const Element_t  ) ) &NCollection_Vec2<Element_t>::SetValues,
             R"#(Assign new values to the vector.)#" ,py::arg("theX"), py::arg("theY"))
        .def("x",
             (Element_t (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::x,
             R"#(Alias to 1st component as X coordinate in XY.)#" )
        .def("y",
             (Element_t (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::y,
             R"#(Alias to 2nd component as Y coordinate in XY.)#" )
        .def("xy",
             (const NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::xy,
             R"#(None)#" )
        .def("yx",
             (const NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::yx,
             R"#(None)#" )
        .def("x",
             (Element_t & (NCollection_Vec2<Element_t>::*)() ) &NCollection_Vec2<Element_t>::x,
             R"#(Alias to 1st component as X coordinate in XY.)#" )
        .def("y",
             (Element_t & (NCollection_Vec2<Element_t>::*)() ) &NCollection_Vec2<Element_t>::y,
             R"#(Alias to 2nd component as Y coordinate in XY.)#" )
        .def("IsEqual",
             (bool (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) const) &NCollection_Vec2<Element_t>::IsEqual,
             R"#(Check this vector with another vector for equality (without tolerance!).)#" ,py::arg("theOther"))
        .def("GetData",
             (const Element_t * (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::GetData,
             R"#(Raw access to the data (for OpenGL exchange).)#" )
        .def("ChangeData",
             (Element_t * (NCollection_Vec2<Element_t>::*)() ) &NCollection_Vec2<Element_t>::ChangeData,
             R"#(None)#" )
        .def("Multiply",
             (void (NCollection_Vec2<Element_t>::*)( const Element_t  ) ) &NCollection_Vec2<Element_t>::Multiply,
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("Multiplied",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)( const Element_t  ) const) &NCollection_Vec2<Element_t>::Multiplied,
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("cwiseMin",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) const) &NCollection_Vec2<Element_t>::cwiseMin,
             R"#(Compute component-wise minimum of two vectors.)#" ,py::arg("theVec"))
        .def("cwiseMax",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) const) &NCollection_Vec2<Element_t>::cwiseMax,
             R"#(Compute component-wise maximum of two vectors.)#" ,py::arg("theVec"))
        .def("cwiseAbs",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::cwiseAbs,
             R"#(Compute component-wise modulus of the vector.)#" )
        .def("maxComp",
             (Element_t (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::maxComp,
             R"#(Compute maximum component of the vector.)#" )
        .def("minComp",
             (Element_t (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::minComp,
             R"#(Compute minimum component of the vector.)#" )
        .def("Dot",
             (Element_t (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) const) &NCollection_Vec2<Element_t>::Dot,
             R"#(Computes the dot product.)#" ,py::arg("theOther"))
        .def("Modulus",
             (Element_t (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::Modulus,
             R"#(Computes the vector modulus (magnitude, length).)#" )
        .def("SquareModulus",
             (Element_t (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::SquareModulus,
             R"#(Computes the square of vector modulus (magnitude, length). This method may be used for performance tricks.)#" )
        .def("DumpJson",
             (void (NCollection_Vec2<Element_t>::*)( std::ostream & ,  Standard_Integer  ) const) &NCollection_Vec2<Element_t>::DumpJson,
             R"#(Dumps the content of me into the stream)#" ,py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1))
        .def_static("Length_s",
                    (int (*)() ) &NCollection_Vec2<Element_t>::Length,
                    R"#(Returns the number of components.)#" )
        .def_static("DX_s",
                    (NCollection_Vec2<Element_t> (*)() ) &NCollection_Vec2<Element_t>::DX,
                    R"#(Construct DX unit vector.)#" )
        .def_static("DY_s",
                    (NCollection_Vec2<Element_t> (*)() ) &NCollection_Vec2<Element_t>::DY,
                    R"#(Construct DY unit vector.)#" )
        .def("__iadd__",
             (NCollection_Vec2<Element_t> & (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) ) &NCollection_Vec2<Element_t>::operator+=,
             py::is_operator(),
             R"#(Compute per-component summary.)#" ,py::arg("theAdd"))
        .def("__isub__",
             (NCollection_Vec2<Element_t> & (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) ) &NCollection_Vec2<Element_t>::operator-=,
             py::is_operator(),
             R"#(Compute per-component subtraction.)#" ,py::arg("theDec"))
        .def("__sub__",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)() const) &NCollection_Vec2<Element_t>::operator-,
             py::is_operator(),
             R"#(Unary -.)#" )
        .def("__imul__",
             (NCollection_Vec2<Element_t> & (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) ) &NCollection_Vec2<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-component multiplication.)#" ,py::arg("theRight"))
        .def("__imul__",
             (NCollection_Vec2<Element_t> & (NCollection_Vec2<Element_t>::*)( const Element_t  ) ) &NCollection_Vec2<Element_t>::operator*=,
             py::is_operator(),
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("__itruediv__",
             (NCollection_Vec2<Element_t> & (NCollection_Vec2<Element_t>::*)( const Element_t  ) ) &NCollection_Vec2<Element_t>::operator/=,
             py::is_operator(),
             R"#(Compute per-component division by scale factor.)#" ,py::arg("theInvFactor"))
        .def("__itruediv__",
             (NCollection_Vec2<Element_t> & (NCollection_Vec2<Element_t>::*)( const NCollection_Vec2<Element_t> &  ) ) &NCollection_Vec2<Element_t>::operator/=,
             py::is_operator(),
             R"#(Compute per-component division.)#" ,py::arg("theRight"))
        .def("__mul__",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)( const Element_t  ) const) &NCollection_Vec2<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("__rmul__",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)( const Element_t  ) const) &NCollection_Vec2<Element_t>::operator*,
             py::is_operator(),
             R"#(Compute per-component multiplication by scale factor.)#" ,py::arg("theFactor"))
        .def("__truediv__",
             (NCollection_Vec2<Element_t> (NCollection_Vec2<Element_t>::*)( const Element_t  ) const) &NCollection_Vec2<Element_t>::operator/,
             py::is_operator(),
             R"#(Compute per-component division by scale factor.)#" ,py::arg("theInvFactor"))
    ;
};

template <typename Inspector>
void preregister_template_NCollection_CellFilter(py::object &m, const char *name){
    py::class_<NCollection_CellFilter<Inspector> , shared_ptr<NCollection_CellFilter<Inspector>> >(m,name,R"#(A data structure for sorting geometric objects (called targets) in n-dimensional space into cells, with associated algorithm for fast checking of coincidence (overlapping, intersection, etc.) with other objects (called here bullets).)#");
}

template <typename Inspector>
void register_template_NCollection_CellFilter(py::object &m, const char *name){
    static_cast<py::class_<NCollection_CellFilter<Inspector> , shared_ptr<NCollection_CellFilter<Inspector>> >>(m.attr(name))
        .def(py::init< const Standard_Integer,const Standard_Real,const opencascade::handle<NCollection_IncAllocator> & >() ,py::arg("theDim"), py::arg("theCellSize")=static_cast<const Standard_Real>(0), py::arg("theAlloc")=static_cast<const opencascade::handle<NCollection_IncAllocator> &>(0) )
        .def(py::init< const Standard_Real,const opencascade::handle<NCollection_IncAllocator> & >() ,py::arg("theCellSize")=static_cast<const Standard_Real>(0), py::arg("theAlloc")=static_cast<const opencascade::handle<NCollection_IncAllocator> &>(0) )
        .def("Reset",
             (void (NCollection_CellFilter<Inspector>::*)( Standard_Real ,  const opencascade::handle<NCollection_IncAllocator> &  ) ) &NCollection_CellFilter<Inspector>::Reset,
             R"#(Clear the data structures, set new cell size and allocator)#" ,py::arg("theCellSize"), py::arg("theAlloc")=static_cast<const opencascade::handle<NCollection_IncAllocator> &>(0))
        .def("Reset",
             (void (NCollection_CellFilter<Inspector>::*)( NCollection_Array1<Standard_Real> & ,  const opencascade::handle<NCollection_IncAllocator> &  ) ) &NCollection_CellFilter<Inspector>::Reset,
             R"#(Clear the data structures and set new cell sizes and allocator)#" ,py::arg("theCellSize"), py::arg("theAlloc")=static_cast<const opencascade::handle<NCollection_IncAllocator> &>(0))
        .def("Add",
             (void (NCollection_CellFilter<Inspector>::*)(  const typename Inspector::Target & ,   const typename Inspector::Point &  ) ) &NCollection_CellFilter<Inspector>::Add,
             R"#(Adds a target object for further search at a point (into only one cell))#" ,py::arg("theTarget"), py::arg("thePnt"))
        .def("Add",
             (void (NCollection_CellFilter<Inspector>::*)(  const typename Inspector::Target & ,   const typename Inspector::Point & ,   const typename Inspector::Point &  ) ) &NCollection_CellFilter<Inspector>::Add,
             R"#(Adds a target object for further search in the range of cells defined by two points (the first point must have all coordinates equal or less than the same coordinate of the second point))#" ,py::arg("theTarget"), py::arg("thePntMin"), py::arg("thePntMax"))
        .def("Remove",
             (void (NCollection_CellFilter<Inspector>::*)(  const typename Inspector::Target & ,   const typename Inspector::Point &  ) ) &NCollection_CellFilter<Inspector>::Remove,
             R"#(Find a target object at a point and remove it from the structures. For usage of this method "operator ==" should be defined for Target.)#" ,py::arg("theTarget"), py::arg("thePnt"))
        .def("Remove",
             (void (NCollection_CellFilter<Inspector>::*)(  const typename Inspector::Target & ,   const typename Inspector::Point & ,   const typename Inspector::Point &  ) ) &NCollection_CellFilter<Inspector>::Remove,
             R"#(Find a target object in the range of cells defined by two points and remove it from the structures (the first point must have all coordinates equal or less than the same coordinate of the second point). For usage of this method "operator ==" should be defined for Target.)#" ,py::arg("theTarget"), py::arg("thePntMin"), py::arg("thePntMax"))
        .def("Inspect",
             (void (NCollection_CellFilter<Inspector>::*)(  const typename Inspector::Point & ,  Inspector &  ) ) &NCollection_CellFilter<Inspector>::Inspect,
             R"#(Inspect all targets in the cell corresponding to the given point)#" ,py::arg("thePnt"), py::arg("theInspector"))
        .def("Inspect",
             (void (NCollection_CellFilter<Inspector>::*)(  const typename Inspector::Point & ,   const typename Inspector::Point & ,  Inspector &  ) ) &NCollection_CellFilter<Inspector>::Inspect,
             R"#(Inspect all targets in the cells range limited by two given points (the first point must have all coordinates equal or less than the same coordinate of the second point))#" ,py::arg("thePntMin"), py::arg("thePntMax"), py::arg("theInspector"))
    ;
};

template <typename Type>
void preregister_template_NCollection_UtfIterator(py::object &m, const char *name){
    py::class_<NCollection_UtfIterator<Type> , shared_ptr<NCollection_UtfIterator<Type>> >(m,name,R"#(Template class for Unicode strings support.)#");
}

template <typename Type>
void register_template_NCollection_UtfIterator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_UtfIterator<Type> , shared_ptr<NCollection_UtfIterator<Type>> >>(m.attr(name))
        .def(py::init< const Type * >() ,py::arg("theString") )
        .def("Init",
             (void (NCollection_UtfIterator<Type>::*)( const Type *  ) ) &NCollection_UtfIterator<Type>::Init,
             R"#(Initialize iterator within specified NULL-terminated string.)#" ,py::arg("theString"))
        .def("IsValid",
             (bool (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::IsValid,
             R"#(Return true if Unicode symbol is within valid range.)#" )
        .def("BufferHere",
             (const Type * (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::BufferHere,
             R"#(Buffer-fetching getter.)#" )
        .def("ChangeBufferHere",
             (Type * (NCollection_UtfIterator<Type>::*)() ) &NCollection_UtfIterator<Type>::ChangeBufferHere,
             R"#(Buffer-fetching getter. Dangerous! Iterator should be reinitialized on buffer change.)#" )
        .def("BufferNext",
             (const Type * (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::BufferNext,
             R"#(Buffer-fetching getter.)#" )
        .def("Index",
             (Standard_Integer (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::Index,
             R"#(Returns the index displacement from iterator initialization (first symbol has index 0))#" )
        .def("AdvanceBytesUtf8",
             (Standard_Integer (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::AdvanceBytesUtf8,
             R"#(Returns the advance in bytes to store current symbol in UTF-8. 0 means an invalid symbol; 1-4 bytes are valid range.)#" )
        .def("AdvanceBytesUtf16",
             (Standard_Integer (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::AdvanceBytesUtf16,
             R"#(Returns the advance in bytes to store current symbol in UTF-16. 0 means an invalid symbol; 2 bytes is a general case; 4 bytes for surrogate pair.)#" )
        .def("AdvanceCodeUnitsUtf16",
             (Standard_Integer (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::AdvanceCodeUnitsUtf16,
             R"#(Returns the advance in bytes to store current symbol in UTF-16. 0 means an invalid symbol; 1 16-bit code unit is a general case; 2 16-bit code units for surrogate pair.)#" )
        .def("AdvanceBytesUtf32",
             (Standard_Integer (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::AdvanceBytesUtf32,
             R"#(Returns the advance in bytes to store current symbol in UTF-32. Always 4 bytes (method for consistency).)#" )
        .def("GetUtf8",
             (Standard_Utf8Char * (NCollection_UtfIterator<Type>::*)( Standard_Utf8Char *  ) const) &NCollection_UtfIterator<Type>::GetUtf8,
             R"#(Fill the UTF-8 buffer within current Unicode symbol. Use method AdvanceUtf8() to allocate buffer with enough size.)#" ,py::arg("theBuffer"))
        .def("GetUtf8",
             (Standard_Utf8UChar * (NCollection_UtfIterator<Type>::*)( Standard_Utf8UChar *  ) const) &NCollection_UtfIterator<Type>::GetUtf8,
             R"#(None)#" ,py::arg("theBuffer"))
        .def("GetUtf16",
             (Standard_Utf16Char * (NCollection_UtfIterator<Type>::*)( Standard_Utf16Char *  ) const) &NCollection_UtfIterator<Type>::GetUtf16,
             R"#(Fill the UTF-16 buffer within current Unicode symbol. Use method AdvanceUtf16() to allocate buffer with enough size.)#" ,py::arg("theBuffer"))
        .def("GetUtf32",
             (Standard_Utf32Char * (NCollection_UtfIterator<Type>::*)( Standard_Utf32Char *  ) const) &NCollection_UtfIterator<Type>::GetUtf32,
             R"#(Fill the UTF-32 buffer within current Unicode symbol. Use method AdvanceUtf32() to allocate buffer with enough size.)#" ,py::arg("theBuffer"))
        .def("__mul__",
             (Standard_Utf32Char (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::operator*,
             py::is_operator(),
             R"#(Dereference operator.)#" )
        .def("__rmul__",
             (Standard_Utf32Char (NCollection_UtfIterator<Type>::*)() const) &NCollection_UtfIterator<Type>::operator*,
             py::is_operator(),
             R"#(Dereference operator.)#" )
    ;
};

template <typename theItem,Standard_Integer MAX_ARRAY_SIZE=1024>
void preregister_template_NCollection_LocalArray(py::object &m, const char *name){
    py::class_<NCollection_LocalArray<theItem,MAX_ARRAY_SIZE> , shared_ptr<NCollection_LocalArray<theItem,MAX_ARRAY_SIZE>> >(m,name,R"#(Auxiliary class optimizing creation of array buffer (using stack allocation for small arrays).)#");
}

template <typename theItem,Standard_Integer MAX_ARRAY_SIZE=1024>
void register_template_NCollection_LocalArray(py::object &m, const char *name){
    static_cast<py::class_<NCollection_LocalArray<theItem,MAX_ARRAY_SIZE> , shared_ptr<NCollection_LocalArray<theItem,MAX_ARRAY_SIZE>> >>(m.attr(name))
        .def(py::init< const size_t >() ,py::arg("theSize") )
        .def(py::init<  >()  )
        .def("Allocate",
             (void (NCollection_LocalArray<theItem,MAX_ARRAY_SIZE>::*)( const size_t  ) ) &NCollection_LocalArray<theItem,MAX_ARRAY_SIZE>::Allocate,
             R"#(None)#" ,py::arg("theSize"))
        .def("Size",
             (size_t (NCollection_LocalArray<theItem,MAX_ARRAY_SIZE>::*)() const) &NCollection_LocalArray<theItem,MAX_ARRAY_SIZE>::Size,
             R"#(None)#" )
        .def("__len__",[](const NCollection_LocalArray<theItem,MAX_ARRAY_SIZE> &self)
             { return self.Size(); }
             )
    ;
};

template <typename TheKey1Type,typename TheKey2Type,typename Hasher1=NCollection_DefaultHasher<TheKey1Type>,typename Hasher2=NCollection_DefaultHasher<TheKey2Type>>
void preregister_template_NCollection_DoubleMap(py::object &m, const char *name){
    py::class_<NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2> , shared_ptr<NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>> , NCollection_BaseMap >(m,name,R"#(Purpose: The DoubleMap is used to bind pairs (Key1,Key2) and retrieve them in linear time.)#");
}

template <typename TheKey1Type,typename TheKey2Type,typename Hasher1=NCollection_DefaultHasher<TheKey1Type>,typename Hasher2=NCollection_DefaultHasher<TheKey2Type>>
void register_template_NCollection_DoubleMap(py::object &m, const char *name){
    static_cast<py::class_<NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2> , shared_ptr<NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>> , NCollection_BaseMap >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theNbBuckets"), py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L) )
        .def(py::init< const NCollection_DoubleMap<TheKey1Type, TheKey2Type, Hasher1, Hasher2> & >() ,py::arg("theOther") )
        .def("Exchange",
             (void (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( NCollection_DoubleMap<TheKey1Type, TheKey2Type, Hasher1, Hasher2> &  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Exchange,
             R"#(Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!)#" ,py::arg("theOther"))
        .def("Assign",
             (NCollection_DoubleMap<TheKey1Type, TheKey2Type, Hasher1, Hasher2> & (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const NCollection_DoubleMap<TheKey1Type, TheKey2Type, Hasher1, Hasher2> &  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Assign,
             R"#(Assignment. This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("ReSize",
             (void (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const Standard_Integer  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::ReSize,
             R"#(ReSize)#" ,py::arg("N"))
        .def("Bind",
             (void (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type & ,  const TheKey2Type &  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Bind,
             R"#(Bind)#" ,py::arg("theKey1"), py::arg("theKey2"))
        .def("AreBound",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type & ,  const TheKey2Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::AreBound,
             R"#(* AreBound)#" ,py::arg("theKey1"), py::arg("theKey2"))
        .def("IsBound1",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::IsBound1,
             R"#(IsBound1)#" ,py::arg("theKey1"))
        .def("IsBound2",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey2Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::IsBound2,
             R"#(IsBound2)#" ,py::arg("theKey2"))
        .def("UnBind1",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type &  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::UnBind1,
             R"#(UnBind1)#" ,py::arg("theKey1"))
        .def("UnBind2",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey2Type &  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::UnBind2,
             R"#(UnBind2)#" ,py::arg("theKey2"))
        .def("Find1",
             (const TheKey2Type & (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Find1,
             R"#(Find the Key1 and return Key2 value. Raises an exception if Key1 was not bound.)#" ,py::arg("theKey1"))
        .def("Find1",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type & ,  TheKey2Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Find1,
             R"#(Find the Key1 and return Key2 value (by copying its value).)#" ,py::arg("theKey1"), py::arg("theKey2"))
        .def("Seek1",
             (const TheKey2Type * (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey1Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Seek1,
             R"#(Find the Key1 and return pointer to Key2 or NULL if Key1 is not bound.)#" ,py::arg("theKey1"))
        .def("Find2",
             (const TheKey1Type & (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey2Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Find2,
             R"#(Find the Key2 and return Key1 value. Raises an exception if Key2 was not bound.)#" ,py::arg("theKey2"))
        .def("Find2",
             (Standard_Boolean (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey2Type & ,  TheKey1Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Find2,
             R"#(Find the Key2 and return Key1 value (by copying its value).)#" ,py::arg("theKey2"), py::arg("theKey1"))
        .def("Seek2",
             (const TheKey1Type * (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const TheKey2Type &  ) const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Seek2,
             R"#(Find the Key2 and return pointer to Key1 or NULL if not bound.)#" ,py::arg("theKey2"))
        .def("Clear",
             (void (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const Standard_Boolean  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Clear,
             R"#(Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.)#" ,py::arg("doReleaseMemory")=static_cast<const Standard_Boolean>(Standard_False))
        .def("Clear",
             (void (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Clear,
             R"#(Clear data and reset allocator)#" ,py::arg("theAllocator"))
        .def("Size",
             (Standard_Integer (NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::*)() const) &NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2>::Size,
             R"#(Size)#" )
        .def("__len__",[](const NCollection_DoubleMap<TheKey1Type,TheKey2Type,Hasher1,Hasher2> &self)
             { return self.Size(); }
             )
    ;
};

template <typename Category,typename BaseIterator,typename ItemType,bool IsConstant>
void preregister_template_NCollection_StlIterator(py::object &m, const char *name){
    py::class_<NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant> , shared_ptr<NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>> >(m,name,R"#(Helper class that allows to use NCollection iterators as STL iterators. NCollection iterator can be extended to STL iterator of any category by adding necessary methods: STL forward iterator requires IsEqual method, STL bidirectional iterator requires Previous method, and STL random access iterator requires Offset and Differ methods. See NCollection_Vector as example of declaring custom STL iterators.)#");
}

template <typename Category,typename BaseIterator,typename ItemType,bool IsConstant>
void register_template_NCollection_StlIterator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant> , shared_ptr<NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const BaseIterator & >() ,py::arg("theIterator") )
        .def(py::init< const NCollection_StlIterator<Category, BaseIterator, ItemType, false> & >() ,py::arg("theIterator") )
        .def("Iterator",
             (const BaseIterator & (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)() const) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::Iterator,
             R"#(Access to NCollection iterator instance)#" )
        .def("ChangeIterator",
             (BaseIterator & (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)() ) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::ChangeIterator,
             R"#(Access to NCollection iterator instance)#" )
        .def("__mul__",
             (typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::reference (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)() const) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator*,
             py::is_operator(),
             R"#(Get reference to current item)#" )
        .def("__rmul__",
             (typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::reference (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)() const) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator*,
             py::is_operator(),
             R"#(Get reference to current item)#" )
        .def("__iadd__",
             (NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant> & (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)( typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::difference_type  ) ) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator+=,
             py::is_operator(),
             R"#(Move forward)#" ,py::arg("theOffset"))
        .def("__add__",
             (NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant> (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)( typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::difference_type  ) const) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator+,
             py::is_operator(),
             R"#(Addition)#" ,py::arg("theOffset"))
        .def("__isub__",
             (NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant> & (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)( typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::difference_type  ) ) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator-=,
             py::is_operator(),
             R"#(Move backward)#" ,py::arg("theOffset"))
        .def("__sub__",
             (NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant> (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)( typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::difference_type  ) const) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator-,
             py::is_operator(),
             R"#(Decrease)#" ,py::arg("theOffset"))
        .def("__sub__",
             (typename NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant>::difference_type (NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::*)( const NCollection_StlIterator<Category, BaseIterator, ItemType, IsConstant> &  ) const) &NCollection_StlIterator<Category,BaseIterator,ItemType,IsConstant>::operator-,
             py::is_operator(),
             R"#(Difference)#" ,py::arg("theOther"))
    ;
};

template <int MyAlignSize=16>
void preregister_template_NCollection_AliasedArray(py::object &m, const char *name){
    py::class_<NCollection_AliasedArray<MyAlignSize> , shared_ptr<NCollection_AliasedArray<MyAlignSize>> >(m,name,R"#(Defines an array of values of configurable size. For instance, this class allows defining an array of 32-bit or 64-bit integer values with bitness determined in runtime. The element size in bytes (stride) should be specified at construction time. Indexation starts from 0 index. As actual type of element varies at runtime, element accessors are defined as templates. Memory for array is allocated with the given alignment (template parameter).)#");
}

template <int MyAlignSize=16>
void register_template_NCollection_AliasedArray(py::object &m, const char *name){
    static_cast<py::class_<NCollection_AliasedArray<MyAlignSize> , shared_ptr<NCollection_AliasedArray<MyAlignSize>> >>(m.attr(name))
        .def(py::init< Standard_Integer >() ,py::arg("theStride") )
        .def(py::init< Standard_Integer,Standard_Integer >() ,py::arg("theStride"), py::arg("theLength") )
        .def(py::init< const NCollection_AliasedArray<MyAlignSize> & >() ,py::arg("theOther") )
        .def("Stride",
             (Standard_Integer (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::Stride,
             R"#(Returns an element size in bytes.)#" )
        .def("Size",
             (Standard_Integer (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::Size,
             R"#(Size query)#" )
        .def("Length",
             (Standard_Integer (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::Length,
             R"#(Length query (the same as Size()))#" )
        .def("IsEmpty",
             (Standard_Boolean (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::IsEmpty,
             R"#(Return TRUE if array has zero length.)#" )
        .def("Lower",
             (Standard_Integer (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::Lower,
             R"#(Lower bound)#" )
        .def("Upper",
             (Standard_Integer (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::Upper,
             R"#(Upper bound)#" )
        .def("IsDeletable",
             (Standard_Boolean (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::IsDeletable,
             R"#(myDeletable flag)#" )
        .def("IsAllocated",
             (Standard_Boolean (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::IsAllocated,
             R"#(IsAllocated flag - for naming compatibility)#" )
        .def("SizeBytes",
             (Standard_Size (NCollection_AliasedArray<MyAlignSize>::*)() const) &NCollection_AliasedArray<MyAlignSize>::SizeBytes,
             R"#(Return buffer size in bytes.)#" )
        .def("Assign",
             (NCollection_AliasedArray<MyAlignSize> & (NCollection_AliasedArray<MyAlignSize>::*)( const NCollection_AliasedArray<MyAlignSize> &  ) ) &NCollection_AliasedArray<MyAlignSize>::Assign,
             R"#(Copies data of theOther array to this. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.)#" ,py::arg("theOther"))
        .def("Move",
             (NCollection_AliasedArray<MyAlignSize> & (NCollection_AliasedArray<MyAlignSize>::*)( NCollection_AliasedArray<MyAlignSize> &  ) ) &NCollection_AliasedArray<MyAlignSize>::Move,
             R"#(Move assignment. This array will borrow all the data from theOther. The moved object will keep pointer to the memory buffer and range, but it will not free the buffer on destruction.)#" ,py::arg("theOther"))
        .def("Resize",
             (void (NCollection_AliasedArray<MyAlignSize>::*)( Standard_Integer ,  Standard_Boolean  ) ) &NCollection_AliasedArray<MyAlignSize>::Resize,
             R"#(Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.)#" ,py::arg("theLength"), py::arg("theToCopyData"))
        .def("value",
             (const Standard_Byte * (NCollection_AliasedArray<MyAlignSize>::*)( Standard_Integer  ) const) &NCollection_AliasedArray<MyAlignSize>::value,
             R"#(Access raw bytes of specified element.)#" ,py::arg("theIndex"))
        .def("changeValue",
             (Standard_Byte * (NCollection_AliasedArray<MyAlignSize>::*)( Standard_Integer  ) ) &NCollection_AliasedArray<MyAlignSize>::changeValue,
             R"#(Access raw bytes of specified element.)#" ,py::arg("theIndex"))
        .def("__len__",[](const NCollection_AliasedArray<MyAlignSize> &self)
             { return self.Size(); }
             )
        .def("__bool__",[](const NCollection_AliasedArray<MyAlignSize> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename ItemType>
void preregister_template_NCollection_OccAllocator(py::object &m, const char *name){
    py::class_<NCollection_OccAllocator<ItemType> , shared_ptr<NCollection_OccAllocator<ItemType>> >(m,name,R"#(Implements allocator requirements as defined in ISO C++ Standard 2003, section 20.1.5. The allocator uses a standard OCCT mechanism for memory allocation and deallocation. It can be used with standard containers (std::vector, std::map, etc.) to take advantage of OCCT memory optimizations.)#");
}

template <typename ItemType>
void register_template_NCollection_OccAllocator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_OccAllocator<ItemType> , shared_ptr<NCollection_OccAllocator<ItemType>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theAlloc") )
        .def(py::init< const NCollection_OccAllocator<ItemType> & >() ,py::arg("theOther") )
        .def("SetAllocator",
             (void (NCollection_OccAllocator<ItemType>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_OccAllocator<ItemType>::SetAllocator,
             R"#(None)#" ,py::arg("theAlloc"))
        .def("Allocator",
             (const opencascade::handle<NCollection_BaseAllocator> & (NCollection_OccAllocator<ItemType>::*)() const) &NCollection_OccAllocator<ItemType>::Allocator,
             R"#(None)#" )
        .def("max_size",
             (size_t (NCollection_OccAllocator<ItemType>::*)() const) &NCollection_OccAllocator<ItemType>::max_size,
             R"#(Estimate maximum array size)#" )
    ;
};

template <typename Type>
void preregister_template_NCollection_UtfString(py::object &m, const char *name){
    py::class_<NCollection_UtfString<Type> , shared_ptr<NCollection_UtfString<Type>> >(m,name,R"#(This template class represent constant UTF-* string. String stored in memory continuously, always NULL-terminated and can be used as standard C-string using ToCString() method.)#");
}

template <typename Type>
void register_template_NCollection_UtfString(py::object &m, const char *name){
    static_cast<py::class_<NCollection_UtfString<Type> , shared_ptr<NCollection_UtfString<Type>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const NCollection_UtfString<Type> & >() ,py::arg("theCopy") )
        .def(py::init< const char *,const Standard_Integer >() ,py::arg("theCopyUtf8"), py::arg("theLength")=static_cast<const Standard_Integer>(- 1) )
        .def(py::init< const Standard_Utf16Char *,const Standard_Integer >() ,py::arg("theCopyUtf16"), py::arg("theLength")=static_cast<const Standard_Integer>(- 1) )
        .def(py::init< const Standard_Utf32Char *,const Standard_Integer >() ,py::arg("theCopyUtf32"), py::arg("theLength")=static_cast<const Standard_Integer>(- 1) )
        .def(py::init< const Standard_WideChar *,const Standard_Integer >() ,py::arg("theCopyUtfWide"), py::arg("theLength")=static_cast<const Standard_Integer>(- 1) )
        .def("Iterator",
             (NCollection_UtfIterator<Type> (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::Iterator,
             R"#(None)#" )
        .def("Size",
             (Standard_Integer (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::Size,
             R"#(Returns the size of the buffer in bytes, excluding NULL-termination symbol)#" )
        .def("Length",
             (Standard_Integer (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::Length,
             R"#(Returns the length of the string in Unicode symbols)#" )
        .def("GetChar",
             (Standard_Utf32Char (NCollection_UtfString<Type>::*)( const Standard_Integer  ) const) &NCollection_UtfString<Type>::GetChar,
             R"#(Retrieve Unicode symbol at specified position. Warning! This is a slow access. Iterator should be used for consecutive parsing.)#" ,py::arg("theCharIndex"))
        .def("GetCharBuffer",
             (const Type * (NCollection_UtfString<Type>::*)( const Standard_Integer  ) const) &NCollection_UtfString<Type>::GetCharBuffer,
             R"#(Retrieve string buffer at specified position. Warning! This is a slow access. Iterator should be used for consecutive parsing.)#" ,py::arg("theCharIndex"))
        .def("FromLocale",
             (void (NCollection_UtfString<Type>::*)( const char * ,  const Standard_Integer  ) ) &NCollection_UtfString<Type>::FromLocale,
             R"#(Copy from multibyte string in current system locale.)#" ,py::arg("theString"), py::arg("theLength")=static_cast<const Standard_Integer>(- 1))
        .def("IsEqual",
             (bool (NCollection_UtfString<Type>::*)( const NCollection_UtfString<Type> &  ) const) &NCollection_UtfString<Type>::IsEqual,
             R"#(Compares this string with another one.)#" ,py::arg("theCompare"))
        .def("SubString",
             (NCollection_UtfString<Type> (NCollection_UtfString<Type>::*)( const Standard_Integer ,  const Standard_Integer  ) const) &NCollection_UtfString<Type>::SubString,
             R"#(Returns the substring.)#" ,py::arg("theStart"), py::arg("theEnd"))
        .def("ToCString",
             (const Type * (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::ToCString,
             R"#(Returns NULL-terminated Unicode string. Should not be modified or deleted!)#" )
        .def("ToUtf8",
             (const NCollection_UtfString<Standard_Utf8Char> (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::ToUtf8,
             R"#(Returns copy in UTF-8 format)#" )
        .def("ToUtf16",
             (const NCollection_UtfString<Standard_Utf16Char> (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::ToUtf16,
             R"#(Returns copy in UTF-16 format)#" )
        .def("ToUtf32",
             (const NCollection_UtfString<Standard_Utf32Char> (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::ToUtf32,
             R"#(Returns copy in UTF-32 format)#" )
        .def("ToUtfWide",
             (const NCollection_UtfString<Standard_WideChar> (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::ToUtfWide,
             R"#(Returns copy in wide format (UTF-16 on Windows and UTF-32 on Linux))#" )
        .def("ToLocale",
             (bool (NCollection_UtfString<Type>::*)( char * ,  const Standard_Integer  ) const) &NCollection_UtfString<Type>::ToLocale,
             R"#(Converts the string into string in the current system locale.)#" ,py::arg("theBuffer"), py::arg("theSizeBytes"))
        .def("IsEmpty",
             (bool (NCollection_UtfString<Type>::*)() const) &NCollection_UtfString<Type>::IsEmpty,
             R"#(Returns true if string is empty)#" )
        .def("Clear",
             (void (NCollection_UtfString<Type>::*)() ) &NCollection_UtfString<Type>::Clear,
             R"#(Zero string.)#" )
        .def("Assign",
             (const NCollection_UtfString<Type> & (NCollection_UtfString<Type>::*)( const NCollection_UtfString<Type> &  ) ) &NCollection_UtfString<Type>::Assign,
             R"#(Copy from another string.)#" ,py::arg("theOther"))
        .def("Swap",
             (void (NCollection_UtfString<Type>::*)( NCollection_UtfString<Type> &  ) ) &NCollection_UtfString<Type>::Swap,
             R"#(Exchange the data of two strings (without reallocating memory).)#" ,py::arg("theOther"))
        .def("__iadd__",
             (NCollection_UtfString<Type> & (NCollection_UtfString<Type>::*)( const NCollection_UtfString<Type> &  ) ) &NCollection_UtfString<Type>::operator+=,
             py::is_operator(),
             R"#(Join strings.)#" ,py::arg("theAppend"))
        .def("__len__",[](const NCollection_UtfString<Type> &self)
             { return self.Size(); }
             )
        .def("__bool__",[](const NCollection_UtfString<Type> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_List(py::object &m, const char *name){
    py::class_<NCollection_List<TheItemType> , shared_ptr<NCollection_List<TheItemType>> , NCollection_BaseList >(m,name,R"#(Purpose: Simple list to link items together keeping the first and the last one. Inherits BaseList, adding the data item to each node.)#");
}

template <typename TheItemType>
void register_template_NCollection_List(py::object &m, const char *name){
    static_cast<py::class_<NCollection_List<TheItemType> , shared_ptr<NCollection_List<TheItemType>> , NCollection_BaseList >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theAllocator") )
        .def(py::init< const NCollection_List<TheItemType> & >() ,py::arg("theOther") )
        .def("Size",
             (Standard_Integer (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::Size,
             R"#(Size - Number of items)#" )
        .def("Assign",
             (NCollection_List<TheItemType> & (NCollection_List<TheItemType>::*)( const NCollection_List<TheItemType> &  ) ) &NCollection_List<TheItemType>::Assign,
             R"#(Replace this list by the items of another list (theOther parameter). This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("Clear",
             (void (NCollection_List<TheItemType>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_List<TheItemType>::Clear,
             R"#(Clear this list)#" ,py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L))
        .def("First",
             (const TheItemType & (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::First,
             R"#(First item)#" )
        .def("First",
             (TheItemType & (NCollection_List<TheItemType>::*)() ) &NCollection_List<TheItemType>::First,
             R"#(First item (non-const))#" )
        .def("Last",
             (const TheItemType & (NCollection_List<TheItemType>::*)() const) &NCollection_List<TheItemType>::Last,
             R"#(Last item)#" )
        .def("Last",
             (TheItemType & (NCollection_List<TheItemType>::*)() ) &NCollection_List<TheItemType>::Last,
             R"#(Last item (non-const))#" )
        .def("Append",
             (TheItemType & (NCollection_List<TheItemType>::*)( const TheItemType &  ) ) &NCollection_List<TheItemType>::Append,
             R"#(Append one item at the end)#" ,py::arg("theItem"))
        .def("Append",
             (void (NCollection_List<TheItemType>::*)( const TheItemType & ,  NCollection_TListIterator<TheItemType> &  ) ) &NCollection_List<TheItemType>::Append,
             R"#(Append one item at the end and output iterator pointing at the appended item)#" ,py::arg("theItem"), py::arg("theIter"))
        .def("Append",
             (void (NCollection_List<TheItemType>::*)( NCollection_List<TheItemType> &  ) ) &NCollection_List<TheItemType>::Append,
             R"#(Append another list at the end. After this operation, theOther list will be cleared.)#" ,py::arg("theOther"))
        .def("Prepend",
             (TheItemType & (NCollection_List<TheItemType>::*)( const TheItemType &  ) ) &NCollection_List<TheItemType>::Prepend,
             R"#(Prepend one item at the beginning)#" ,py::arg("theItem"))
        .def("Prepend",
             (void (NCollection_List<TheItemType>::*)( NCollection_List<TheItemType> &  ) ) &NCollection_List<TheItemType>::Prepend,
             R"#(Prepend another list at the beginning)#" ,py::arg("theOther"))
        .def("RemoveFirst",
             (void (NCollection_List<TheItemType>::*)() ) &NCollection_List<TheItemType>::RemoveFirst,
             R"#(RemoveFirst item)#" )
        .def("Remove",
             (void (NCollection_List<TheItemType>::*)( NCollection_TListIterator<TheItemType> &  ) ) &NCollection_List<TheItemType>::Remove,
             R"#(Remove item pointed by iterator theIter; theIter is then set to the next item)#" ,py::arg("theIter"))
        .def("InsertBefore",
             (TheItemType & (NCollection_List<TheItemType>::*)( const TheItemType & ,  NCollection_TListIterator<TheItemType> &  ) ) &NCollection_List<TheItemType>::InsertBefore,
             R"#(InsertBefore)#" ,py::arg("theItem"), py::arg("theIter"))
        .def("InsertBefore",
             (void (NCollection_List<TheItemType>::*)( NCollection_List<TheItemType> & ,  NCollection_TListIterator<TheItemType> &  ) ) &NCollection_List<TheItemType>::InsertBefore,
             R"#(InsertBefore)#" ,py::arg("theOther"), py::arg("theIter"))
        .def("InsertAfter",
             (TheItemType & (NCollection_List<TheItemType>::*)( const TheItemType & ,  NCollection_TListIterator<TheItemType> &  ) ) &NCollection_List<TheItemType>::InsertAfter,
             R"#(InsertAfter)#" ,py::arg("theItem"), py::arg("theIter"))
        .def("InsertAfter",
             (void (NCollection_List<TheItemType>::*)( NCollection_List<TheItemType> & ,  NCollection_TListIterator<TheItemType> &  ) ) &NCollection_List<TheItemType>::InsertAfter,
             R"#(InsertAfter)#" ,py::arg("theOther"), py::arg("theIter"))
        .def("Reverse",
             (void (NCollection_List<TheItemType>::*)() ) &NCollection_List<TheItemType>::Reverse,
             R"#(Reverse the list)#" )
        .def("__iter__",[](const NCollection_List<TheItemType> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.begin(), self.end()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_List<TheItemType> &self)
             { return self.Size(); }
             )
    ;
};

template <typename T>
void preregister_template_NCollection_Handle(py::object &m, const char *name){
    py::class_<NCollection_Handle<T> , shared_ptr<NCollection_Handle<T>> >(m,name,R"#(Purpose: This template class is used to define Handle adaptor for allocated dynamically objects of arbitrary type.)#");
}

template <typename T>
void register_template_NCollection_Handle(py::object &m, const char *name){
    static_cast<py::class_<NCollection_Handle<T> , shared_ptr<NCollection_Handle<T>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< T * >() ,py::arg("theObject") )
        .def("get",
             (T * (NCollection_Handle<T>::*)() ) &NCollection_Handle<T>::get,
             R"#(Cast handle to contained type)#" )
        .def("get",
             (const T * (NCollection_Handle<T>::*)() const) &NCollection_Handle<T>::get,
             R"#(Cast handle to contained type)#" )
        .def_static("DownCast_s",
                    (NCollection_Handle<T> (*)( const opencascade::handle<Standard_Transient> &  ) ) &NCollection_Handle<T>::DownCast,
                    R"#(Downcast arbitrary Handle to the argument type if contained object is Handle for this type; returns null otherwise)#" ,py::arg("theOther"))
        .def("__mul__",
             (T & (NCollection_Handle<T>::*)() ) &NCollection_Handle<T>::operator*,
             py::is_operator(),
             R"#(Cast handle to contained type)#" )
        .def("__rmul__",
             (T & (NCollection_Handle<T>::*)() ) &NCollection_Handle<T>::operator*,
             py::is_operator(),
             R"#(Cast handle to contained type)#" )
        .def("__mul__",
             (const T & (NCollection_Handle<T>::*)() const) &NCollection_Handle<T>::operator*,
             py::is_operator(),
             R"#(Cast handle to contained type)#" )
        .def("__rmul__",
             (const T & (NCollection_Handle<T>::*)() const) &NCollection_Handle<T>::operator*,
             py::is_operator(),
             R"#(Cast handle to contained type)#" )
    ;
};

template <typename TheItemType>
void preregister_template_NCollection_TListIterator(py::object &m, const char *name){
    py::class_<NCollection_TListIterator<TheItemType> , shared_ptr<NCollection_TListIterator<TheItemType>> >(m,name,R"#(Purpose: This Iterator class iterates on BaseList of TListNode and is instantiated in List/Set/Queue/Stack Remark: TListIterator is internal class)#");
}

template <typename TheItemType>
void register_template_NCollection_TListIterator(py::object &m, const char *name){
    static_cast<py::class_<NCollection_TListIterator<TheItemType> , shared_ptr<NCollection_TListIterator<TheItemType>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const NCollection_BaseList & >() ,py::arg("theList") )
        .def("More",
             (Standard_Boolean (NCollection_TListIterator<TheItemType>::*)() const) &NCollection_TListIterator<TheItemType>::More,
             R"#(Check end)#" )
        .def("Next",
             (void (NCollection_TListIterator<TheItemType>::*)() ) &NCollection_TListIterator<TheItemType>::Next,
             R"#(Make step)#" )
        .def("Value",
             (const TheItemType & (NCollection_TListIterator<TheItemType>::*)() const) &NCollection_TListIterator<TheItemType>::Value,
             R"#(Constant Value access)#" )
        .def("Value",
             (TheItemType & (NCollection_TListIterator<TheItemType>::*)() ) &NCollection_TListIterator<TheItemType>::Value,
             R"#(Non-const Value access)#" )
        .def("ChangeValue",
             (TheItemType & (NCollection_TListIterator<TheItemType>::*)() const) &NCollection_TListIterator<TheItemType>::ChangeValue,
             R"#(Non-const Value access)#" )
    ;
};

template <typename TheObjType,typename TheBndType>
void preregister_template_NCollection_EBTree(py::object &m, const char *name){
    py::class_<NCollection_EBTree<TheObjType,TheBndType> , shared_ptr<NCollection_EBTree<TheObjType,TheBndType>> >(m,name,R"#(The algorithm of unbalanced binary tree of overlapped bounding boxes with the possibility of deleting objects from the tree.)#");
}

template <typename TheObjType,typename TheBndType>
void register_template_NCollection_EBTree(py::object &m, const char *name){
    static_cast<py::class_<NCollection_EBTree<TheObjType,TheBndType> , shared_ptr<NCollection_EBTree<TheObjType,TheBndType>> >>(m.attr(name))
        .def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L) )
        .def("Add",
             (Standard_Boolean (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType & ,  const TheBndType &  ) ) &NCollection_EBTree<TheObjType,TheBndType>::Add,
             R"#(Updates the tree with a new object and its bounding box. Extends the functionality of the parent method by maintaining the map myObjNodeMap. Redefined virtual method.)#" ,py::arg("theObj"), py::arg("theBnd"))
        .def("Remove",
             (Standard_Boolean (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType &  ) ) &NCollection_EBTree<TheObjType,TheBndType>::Remove,
             R"#(Removes the given object and updates the tree.)#" ,py::arg("theObj"))
        .def("Contains",
             (Standard_Boolean (NCollection_EBTree<TheObjType,TheBndType>::*)( const TheObjType &  ) const) &NCollection_EBTree<TheObjType,TheBndType>::Contains,
             R"#(Returns True if the tree contains the object.)#" ,py::arg("theObj"))
        .def("Clear",
             (void (NCollection_EBTree<TheObjType,TheBndType>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_EBTree<TheObjType,TheBndType>::Clear,
             R"#(Clears the contents of the tree. Redefined virtual method)#" ,py::arg("aNewAlloc")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L))
    ;
};

template <typename TheObjType,typename TheBndType>
void preregister_template_NCollection_UBTree(py::object &m, const char *name){
    py::class_<NCollection_UBTree<TheObjType,TheBndType> , shared_ptr<NCollection_UBTree<TheObjType,TheBndType>> >(m,name,R"#(The algorithm of unbalanced binary tree of overlapped bounding boxes.)#");
}

template <typename TheObjType,typename TheBndType>
void register_template_NCollection_UBTree(py::object &m, const char *name){
    static_cast<py::class_<NCollection_UBTree<TheObjType,TheBndType> , shared_ptr<NCollection_UBTree<TheObjType,TheBndType>> >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theAllocator") )
        .def("Add",
             (Standard_Boolean (NCollection_UBTree<TheObjType,TheBndType>::*)( const TheObjType & ,  const TheBndType &  ) ) &NCollection_UBTree<TheObjType,TheBndType>::Add,
             R"#(Update the tree with a new object and its bounding box.)#" ,py::arg("theObj"), py::arg("theBnd"))
        .def("Clear",
             (void (NCollection_UBTree<TheObjType,TheBndType>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_UBTree<TheObjType,TheBndType>::Clear,
             R"#(Clears the contents of the tree.)#" ,py::arg("aNewAlloc")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L))
        .def("IsEmpty",
             (Standard_Boolean (NCollection_UBTree<TheObjType,TheBndType>::*)() const) &NCollection_UBTree<TheObjType,TheBndType>::IsEmpty,
             R"#(None)#" )
        .def("Allocator",
             (const opencascade::handle<NCollection_BaseAllocator> & (NCollection_UBTree<TheObjType,TheBndType>::*)() const) &NCollection_UBTree<TheObjType,TheBndType>::Allocator,
             R"#(Recommended to be used only in sub-classes.)#" )
        .def("__bool__",[](const NCollection_UBTree<TheObjType,TheBndType> &self)
             { return self.IsEmpty(); }
             )
    ;
};

template <typename TheKeyType,typename TheItemType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void preregister_template_NCollection_IndexedDataMap(py::object &m, const char *name){
    py::class_<NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher> , shared_ptr<NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>> , NCollection_BaseMap >(m,name,R"#(Purpose: An indexed map is used to store keys and to bind an index to them. Each new key stored in the map gets an index. Index are incremented as keys are stored in the map. A key can be found by the index and an index by the key. No key but the last can be removed so the indices are in the range 1.. Extent. An Item is stored with each key.)#");
}

template <typename TheKeyType,typename TheItemType,typename Hasher=NCollection_DefaultHasher<TheKeyType>>
void register_template_NCollection_IndexedDataMap(py::object &m, const char *name){
    static_cast<py::class_<NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher> , shared_ptr<NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>> , NCollection_BaseMap >>(m.attr(name))
        .def(py::init<  >()  )
        .def(py::init< const Standard_Integer,const opencascade::handle<NCollection_BaseAllocator> & >() ,py::arg("theNbBuckets"), py::arg("theAllocator")=static_cast<const opencascade::handle<NCollection_BaseAllocator> &>(0L) )
        .def(py::init< const NCollection_IndexedDataMap<TheKeyType, TheItemType, Hasher> & >() ,py::arg("theOther") )
        .def("Exchange",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( NCollection_IndexedDataMap<TheKeyType, TheItemType, Hasher> &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Exchange,
             R"#(Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!)#" ,py::arg("theOther"))
        .def("Assign",
             (NCollection_IndexedDataMap<TheKeyType, TheItemType, Hasher> & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const NCollection_IndexedDataMap<TheKeyType, TheItemType, Hasher> &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Assign,
             R"#(Assignment. This method does not change the internal allocator.)#" ,py::arg("theOther"))
        .def("ReSize",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::ReSize,
             R"#(ReSize)#" ,py::arg("N"))
        .def("Add",
             (Standard_Integer (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType & ,  const TheItemType &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Add,
             R"#(Returns the Index of already bound Key or appends new Key with specified Item value.)#" ,py::arg("theKey1"), py::arg("theItem"))
        .def("Contains",
             (Standard_Boolean (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Contains,
             R"#(Contains)#" ,py::arg("theKey1"))
        .def("Substitute",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer ,  const TheKeyType & ,  const TheItemType &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Substitute,
             R"#(Substitute)#" ,py::arg("theIndex"), py::arg("theKey1"), py::arg("theItem"))
        .def("Swap",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer ,  const Standard_Integer  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Swap,
             R"#(Swaps two elements with the given indices.)#" ,py::arg("theIndex1"), py::arg("theIndex2"))
        .def("RemoveLast",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::RemoveLast,
             R"#(RemoveLast)#" )
        .def("RemoveFromIndex",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::RemoveFromIndex,
             R"#(Remove the key of the given index. Caution! The index of the last key can be changed.)#" ,py::arg("theIndex"))
        .def("RemoveKey",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::RemoveKey,
             R"#(Remove the given key. Caution! The index of the last key can be changed.)#" ,py::arg("theKey1"))
        .def("FindKey",
             (const TheKeyType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::FindKey,
             R"#(FindKey)#" ,py::arg("theIndex"))
        .def("FindFromIndex",
             (const TheItemType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::FindFromIndex,
             R"#(FindFromIndex)#" ,py::arg("theIndex"))
        .def("ChangeFromIndex",
             (TheItemType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::ChangeFromIndex,
             R"#(ChangeFromIndex)#" ,py::arg("theIndex"))
        .def("FindIndex",
             (Standard_Integer (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::FindIndex,
             R"#(FindIndex)#" ,py::arg("theKey1"))
        .def("FindFromKey",
             (const TheItemType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::FindFromKey,
             R"#(FindFromKey)#" ,py::arg("theKey1"))
        .def("ChangeFromKey",
             (TheItemType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::ChangeFromKey,
             R"#(ChangeFromKey)#" ,py::arg("theKey1"))
        .def("Seek",
             (const TheItemType * (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Seek,
             R"#(Seek returns pointer to Item by Key. Returns NULL if Key was not found.)#" ,py::arg("theKey1"))
        .def("ChangeSeek",
             (TheItemType * (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::ChangeSeek,
             R"#(ChangeSeek returns modifiable pointer to Item by Key. Returns NULL if Key was not found.)#" ,py::arg("theKey1"))
        .def("FindFromKey",
             (Standard_Boolean (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const TheKeyType & ,  TheItemType &  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::FindFromKey,
             R"#(Find value for key with copying.)#" ,py::arg("theKey1"), py::arg("theValue"))
        .def("Clear",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Boolean  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Clear,
             R"#(Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.)#" ,py::arg("doReleaseMemory")=static_cast<const Standard_Boolean>(Standard_False))
        .def("Clear",
             (void (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const opencascade::handle<NCollection_BaseAllocator> &  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Clear,
             R"#(Clear data and reset allocator)#" ,py::arg("theAllocator"))
        .def("Size",
             (Standard_Integer (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)() const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::Size,
             R"#(Size)#" )
        .def("__call__",
             (const TheItemType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) const) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::operator(),
             py::is_operator(),
             R"#(operator ())#" ,py::arg("theIndex"))
        .def("__call__",
             (TheItemType & (NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::*)( const Standard_Integer  ) ) &NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher>::operator(),
             py::is_operator(),
             R"#(operator ())#" ,py::arg("theIndex"))
        .def("__iter__",[](const NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher> &self)
             { return py::make_iterator<py::return_value_policy::copy>(self.begin(), self.end()); },
             py::keep_alive<0, 1>())
        .def("__len__",[](const NCollection_IndexedDataMap<TheKeyType,TheItemType,Hasher> &self)
             { return self.Size(); }
             )
    ;
};


// user-defined post
template <typename T>
void preregister_template_NCollection_Vector(py::object &m, const char *name){
    preregister_template_NCollection_DynamicArray<T>(m, name);
};

template <typename T>
void register_template_NCollection_Vector(py::object &m, const char *name){
    register_template_NCollection_DynamicArray<T>(m, name);
};