Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/elements/Box2D2.py
blob: 5d444e2ad377f3175c73b9dfec036dfa642f1306 (plain)
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
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.31
#
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import _Box2D2
import new
new_instancemethod = new.instancemethod
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


try:
    import weakref
    weakref_proxy = weakref.proxy
except:
    weakref_proxy = lambda x: x



def b2Alloc(*args):
  """b2Alloc(int32 size) -> void"""
  return _Box2D2.b2Alloc(*args)

def b2Free(*args):
  """b2Free(void mem)"""
  return _Box2D2.b2Free(*args)
class b2Version(_object):
    """Proxy of C++ b2Version class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Version, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Version, name)
    __repr__ = _swig_repr
    __swig_setmethods__["major"] = _Box2D2.b2Version_major_set
    __swig_getmethods__["major"] = _Box2D2.b2Version_major_get
    if _newclass:major = _swig_property(_Box2D2.b2Version_major_get, _Box2D2.b2Version_major_set)
    __swig_setmethods__["minor"] = _Box2D2.b2Version_minor_set
    __swig_getmethods__["minor"] = _Box2D2.b2Version_minor_get
    if _newclass:minor = _swig_property(_Box2D2.b2Version_minor_get, _Box2D2.b2Version_minor_set)
    __swig_setmethods__["revision"] = _Box2D2.b2Version_revision_set
    __swig_getmethods__["revision"] = _Box2D2.b2Version_revision_get
    if _newclass:revision = _swig_property(_Box2D2.b2Version_revision_get, _Box2D2.b2Version_revision_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Version"""
        this = _Box2D2.new_b2Version(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Version
    __del__ = lambda self : None;
b2Version_swigregister = _Box2D2.b2Version_swigregister
b2Version_swigregister(b2Version)
cvar = _Box2D2.cvar
b2_pi = cvar.b2_pi
b2_maxManifoldPoints = cvar.b2_maxManifoldPoints
b2_maxPolygonVertices = cvar.b2_maxPolygonVertices
b2_maxProxies = cvar.b2_maxProxies
b2_maxPairs = cvar.b2_maxPairs
b2_linearSlop = cvar.b2_linearSlop
b2_angularSlop = cvar.b2_angularSlop
b2_toiSlop = cvar.b2_toiSlop
b2_maxTOIContactsPerIsland = cvar.b2_maxTOIContactsPerIsland
b2_velocityThreshold = cvar.b2_velocityThreshold
b2_maxLinearCorrection = cvar.b2_maxLinearCorrection
b2_maxAngularCorrection = cvar.b2_maxAngularCorrection
b2_maxLinearVelocity = cvar.b2_maxLinearVelocity
b2_maxLinearVelocitySquared = cvar.b2_maxLinearVelocitySquared
b2_maxAngularVelocity = cvar.b2_maxAngularVelocity
b2_maxAngularVelocitySquared = cvar.b2_maxAngularVelocitySquared
b2_contactBaumgarte = cvar.b2_contactBaumgarte
b2_timeToSleep = cvar.b2_timeToSleep
b2_linearSleepTolerance = cvar.b2_linearSleepTolerance
b2_angularSleepTolerance = cvar.b2_angularSleepTolerance


def b2IsValid(*args):
  """b2IsValid(float32 x) -> bool"""
  return _Box2D2.b2IsValid(*args)

def b2InvSqrt(*args):
  """b2InvSqrt(float32 x) -> float32"""
  return _Box2D2.b2InvSqrt(*args)
class b2Vec2(_object):
    """Proxy of C++ b2Vec2 class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Vec2, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Vec2, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> b2Vec2
        __init__(self, float32 x, float32 y) -> b2Vec2
        """
        this = _Box2D2.new_b2Vec2(*args)
        try: self.this.append(this)
        except: self.this = this
    def SetZero(*args):
        """SetZero(self)"""
        return _Box2D2.b2Vec2_SetZero(*args)

    def Set(*args):
        """Set(self, float32 x_, float32 y_)"""
        return _Box2D2.b2Vec2_Set(*args)

    def __neg__(*args):
        """__neg__(self) -> b2Vec2"""
        return _Box2D2.b2Vec2___neg__(*args)

    def __iadd__(*args):
        """__iadd__(self, b2Vec2 v)"""
        return _Box2D2.b2Vec2___iadd__(*args)

    def __isub__(*args):
        """__isub__(self, b2Vec2 v)"""
        return _Box2D2.b2Vec2___isub__(*args)

    def __imul__(*args):
        """__imul__(self, float32 a)"""
        return _Box2D2.b2Vec2___imul__(*args)

    def Length(*args):
        """Length(self) -> float32"""
        return _Box2D2.b2Vec2_Length(*args)

    def LengthSquared(*args):
        """LengthSquared(self) -> float32"""
        return _Box2D2.b2Vec2_LengthSquared(*args)

    def Normalize(*args):
        """Normalize(self) -> float32"""
        return _Box2D2.b2Vec2_Normalize(*args)

    def IsValid(*args):
        """IsValid(self) -> bool"""
        return _Box2D2.b2Vec2_IsValid(*args)

    __swig_setmethods__["x"] = _Box2D2.b2Vec2_x_set
    __swig_getmethods__["x"] = _Box2D2.b2Vec2_x_get
    if _newclass:x = _swig_property(_Box2D2.b2Vec2_x_get, _Box2D2.b2Vec2_x_set)
    __swig_setmethods__["y"] = _Box2D2.b2Vec2_y_set
    __swig_getmethods__["y"] = _Box2D2.b2Vec2_y_get
    if _newclass:y = _swig_property(_Box2D2.b2Vec2_y_get, _Box2D2.b2Vec2_y_set)
    def __repr__(self):
        return "b2Vec2(%g,%g)" % (self.x, self.y)
    def tuple(self):
        return (self.x, self.y)

    def __mul__(*args):
        """__mul__(self, float32 a) -> b2Vec2"""
        return _Box2D2.b2Vec2___mul__(*args)

    def __add__(*args):
        """__add__(self, b2Vec2 other) -> b2Vec2"""
        return _Box2D2.b2Vec2___add__(*args)

    def __sub__(*args):
        """__sub__(self, b2Vec2 other) -> b2Vec2"""
        return _Box2D2.b2Vec2___sub__(*args)

    __swig_destroy__ = _Box2D2.delete_b2Vec2
    __del__ = lambda self : None;
b2Vec2_swigregister = _Box2D2.b2Vec2_swigregister
b2Vec2_swigregister(b2Vec2)

class b2Mat22(_object):
    """Proxy of C++ b2Mat22 class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Mat22, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Mat22, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> b2Mat22
        __init__(self, b2Vec2 c1, b2Vec2 c2) -> b2Mat22
        __init__(self, float32 a11, float32 a12, float32 a21, float32 a22) -> b2Mat22
        __init__(self, float32 angle) -> b2Mat22
        """
        this = _Box2D2.new_b2Mat22(*args)
        try: self.this.append(this)
        except: self.this = this
    def Set(*args):
        """
        Set(self, b2Vec2 c1, b2Vec2 c2)
        Set(self, float32 angle)
        """
        return _Box2D2.b2Mat22_Set(*args)

    def SetIdentity(*args):
        """SetIdentity(self)"""
        return _Box2D2.b2Mat22_SetIdentity(*args)

    def SetZero(*args):
        """SetZero(self)"""
        return _Box2D2.b2Mat22_SetZero(*args)

    def GetAngle(*args):
        """GetAngle(self) -> float32"""
        return _Box2D2.b2Mat22_GetAngle(*args)

    def Invert(*args):
        """Invert(self) -> b2Mat22"""
        return _Box2D2.b2Mat22_Invert(*args)

    def Solve(*args):
        """Solve(self, b2Vec2 b) -> b2Vec2"""
        return _Box2D2.b2Mat22_Solve(*args)

    __swig_setmethods__["col1"] = _Box2D2.b2Mat22_col1_set
    __swig_getmethods__["col1"] = _Box2D2.b2Mat22_col1_get
    if _newclass:col1 = _swig_property(_Box2D2.b2Mat22_col1_get, _Box2D2.b2Mat22_col1_set)
    __swig_setmethods__["col2"] = _Box2D2.b2Mat22_col2_set
    __swig_getmethods__["col2"] = _Box2D2.b2Mat22_col2_get
    if _newclass:col2 = _swig_property(_Box2D2.b2Mat22_col2_get, _Box2D2.b2Mat22_col2_set)
    __swig_destroy__ = _Box2D2.delete_b2Mat22
    __del__ = lambda self : None;
b2Mat22_swigregister = _Box2D2.b2Mat22_swigregister
b2Mat22_swigregister(b2Mat22)

class b2XForm(_object):
    """Proxy of C++ b2XForm class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2XForm, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2XForm, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> b2XForm
        __init__(self, b2Vec2 position, b2Mat22 R) -> b2XForm
        """
        this = _Box2D2.new_b2XForm(*args)
        try: self.this.append(this)
        except: self.this = this
    def SetIdentity(*args):
        """SetIdentity(self)"""
        return _Box2D2.b2XForm_SetIdentity(*args)

    __swig_setmethods__["position"] = _Box2D2.b2XForm_position_set
    __swig_getmethods__["position"] = _Box2D2.b2XForm_position_get
    if _newclass:position = _swig_property(_Box2D2.b2XForm_position_get, _Box2D2.b2XForm_position_set)
    __swig_setmethods__["R"] = _Box2D2.b2XForm_R_set
    __swig_getmethods__["R"] = _Box2D2.b2XForm_R_get
    if _newclass:R = _swig_property(_Box2D2.b2XForm_R_get, _Box2D2.b2XForm_R_set)
    __swig_destroy__ = _Box2D2.delete_b2XForm
    __del__ = lambda self : None;
b2XForm_swigregister = _Box2D2.b2XForm_swigregister
b2XForm_swigregister(b2XForm)

class b2Sweep(_object):
    """Proxy of C++ b2Sweep class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Sweep, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Sweep, name)
    __repr__ = _swig_repr
    def GetXForm(*args):
        """GetXForm(self, b2XForm xf, float32 t)"""
        return _Box2D2.b2Sweep_GetXForm(*args)

    def Advance(*args):
        """Advance(self, float32 t)"""
        return _Box2D2.b2Sweep_Advance(*args)

    __swig_setmethods__["localCenter"] = _Box2D2.b2Sweep_localCenter_set
    __swig_getmethods__["localCenter"] = _Box2D2.b2Sweep_localCenter_get
    if _newclass:localCenter = _swig_property(_Box2D2.b2Sweep_localCenter_get, _Box2D2.b2Sweep_localCenter_set)
    __swig_setmethods__["c0"] = _Box2D2.b2Sweep_c0_set
    __swig_getmethods__["c0"] = _Box2D2.b2Sweep_c0_get
    if _newclass:c0 = _swig_property(_Box2D2.b2Sweep_c0_get, _Box2D2.b2Sweep_c0_set)
    __swig_setmethods__["c"] = _Box2D2.b2Sweep_c_set
    __swig_getmethods__["c"] = _Box2D2.b2Sweep_c_get
    if _newclass:c = _swig_property(_Box2D2.b2Sweep_c_get, _Box2D2.b2Sweep_c_set)
    __swig_setmethods__["a0"] = _Box2D2.b2Sweep_a0_set
    __swig_getmethods__["a0"] = _Box2D2.b2Sweep_a0_get
    if _newclass:a0 = _swig_property(_Box2D2.b2Sweep_a0_get, _Box2D2.b2Sweep_a0_set)
    __swig_setmethods__["a"] = _Box2D2.b2Sweep_a_set
    __swig_getmethods__["a"] = _Box2D2.b2Sweep_a_get
    if _newclass:a = _swig_property(_Box2D2.b2Sweep_a_get, _Box2D2.b2Sweep_a_set)
    __swig_setmethods__["t0"] = _Box2D2.b2Sweep_t0_set
    __swig_getmethods__["t0"] = _Box2D2.b2Sweep_t0_get
    if _newclass:t0 = _swig_property(_Box2D2.b2Sweep_t0_get, _Box2D2.b2Sweep_t0_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Sweep"""
        this = _Box2D2.new_b2Sweep(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Sweep
    __del__ = lambda self : None;
b2Sweep_swigregister = _Box2D2.b2Sweep_swigregister
b2Sweep_swigregister(b2Sweep)


def b2Dot(*args):
  """b2Dot(b2Vec2 a, b2Vec2 b) -> float32"""
  return _Box2D2.b2Dot(*args)

def b2_VaddV(*args):
  """b2_VaddV(b2Vec2 a, b2Vec2 b) -> b2Vec2"""
  return _Box2D2.b2_VaddV(*args)

def b2_VsubV(*args):
  """b2_VsubV(b2Vec2 a, b2Vec2 b) -> b2Vec2"""
  return _Box2D2.b2_VsubV(*args)

def b2_VmulF(*args):
  """b2_VmulF(float32 s, b2Vec2 a) -> b2Vec2"""
  return _Box2D2.b2_VmulF(*args)

def b2_VequV(*args):
  """b2_VequV(b2Vec2 a, b2Vec2 b) -> bool"""
  return _Box2D2.b2_VequV(*args)

def b2DistanceSquared(*args):
  """b2DistanceSquared(b2Vec2 a, b2Vec2 b) -> float32"""
  return _Box2D2.b2DistanceSquared(*args)

def b2_MaddM(*args):
  """b2_MaddM(b2Mat22 A, b2Mat22 B) -> b2Mat22"""
  return _Box2D2.b2_MaddM(*args)

def b2Min(*args):
  """b2Min(b2Vec2 a, b2Vec2 b) -> b2Vec2"""
  return _Box2D2.b2Min(*args)

def b2Max(*args):
  """b2Max(b2Vec2 a, b2Vec2 b) -> b2Vec2"""
  return _Box2D2.b2Max(*args)

def b2Clamp(*args):
  """b2Clamp(b2Vec2 a, b2Vec2 low, b2Vec2 high) -> b2Vec2"""
  return _Box2D2.b2Clamp(*args)
RAND_LIMIT = _Box2D2.RAND_LIMIT

def b2NextPowerOfTwo(*args):
  """b2NextPowerOfTwo(uint32 x) -> uint32"""
  return _Box2D2.b2NextPowerOfTwo(*args)

def b2IsPowerOfTwo(*args):
  """b2IsPowerOfTwo(uint32 x) -> bool"""
  return _Box2D2.b2IsPowerOfTwo(*args)
class b2ContactID(_object):
    """Proxy of C++ b2ContactID class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactID, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactID, name)
    __repr__ = _swig_repr
    __swig_setmethods__["key"] = _Box2D2.b2ContactID_key_set
    __swig_getmethods__["key"] = _Box2D2.b2ContactID_key_get
    if _newclass:key = _swig_property(_Box2D2.b2ContactID_key_get, _Box2D2.b2ContactID_key_set)
    __swig_getmethods__["features"] = _Box2D2.b2ContactID_features_get
    if _newclass:features = _swig_property(_Box2D2.b2ContactID_features_get)
    def __init__(self, *args): 
        """__init__(self) -> b2ContactID"""
        this = _Box2D2.new_b2ContactID(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ContactID
    __del__ = lambda self : None;
b2ContactID_swigregister = _Box2D2.b2ContactID_swigregister
b2ContactID_swigregister(b2ContactID)
b2Vec2_zero = cvar.b2Vec2_zero
b2Mat22_identity = cvar.b2Mat22_identity
b2XForm_identity = cvar.b2XForm_identity

def b2Cross(*args):
  """
    b2Cross(b2Vec2 a, b2Vec2 b) -> float32
    b2Cross(b2Vec2 a, float32 s) -> b2Vec2
    b2Cross(float32 s, b2Vec2 a) -> b2Vec2
    """
  return _Box2D2.b2Cross(*args)

def b2Mul(*args):
  """
    b2Mul(b2Mat22 A, b2Vec2 v) -> b2Vec2
    b2Mul(b2Mat22 A, b2Mat22 B) -> b2Mat22
    b2Mul(b2XForm T, b2Vec2 v) -> b2Vec2
    """
  return _Box2D2.b2Mul(*args)

def b2MulT(*args):
  """
    b2MulT(b2Mat22 A, b2Vec2 v) -> b2Vec2
    b2MulT(b2Mat22 A, b2Mat22 B) -> b2Mat22
    b2MulT(b2XForm T, b2Vec2 v) -> b2Vec2
    """
  return _Box2D2.b2MulT(*args)

def b2Abs(*args):
  """
    b2Abs(float32 a) -> float32
    b2Abs(b2Vec2 a) -> b2Vec2
    b2Abs(b2Mat22 A) -> b2Mat22
    """
  return _Box2D2.b2Abs(*args)

def b2Random(*args):
  """
    b2Random() -> float32
    b2Random(float32 lo, float32 hi) -> float32
    """
  return _Box2D2.b2Random(*args)
b2_nullFeature = cvar.b2_nullFeature
b2_newPoint = cvar.b2_newPoint
b2_oldPoint = cvar.b2_oldPoint

class b2ContactID_features(_object):
    """Proxy of C++ b2ContactID_features class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactID_features, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactID_features, name)
    __repr__ = _swig_repr
    __swig_setmethods__["referenceEdge"] = _Box2D2.b2ContactID_features_referenceEdge_set
    __swig_getmethods__["referenceEdge"] = _Box2D2.b2ContactID_features_referenceEdge_get
    if _newclass:referenceEdge = _swig_property(_Box2D2.b2ContactID_features_referenceEdge_get, _Box2D2.b2ContactID_features_referenceEdge_set)
    __swig_setmethods__["incidentEdge"] = _Box2D2.b2ContactID_features_incidentEdge_set
    __swig_getmethods__["incidentEdge"] = _Box2D2.b2ContactID_features_incidentEdge_get
    if _newclass:incidentEdge = _swig_property(_Box2D2.b2ContactID_features_incidentEdge_get, _Box2D2.b2ContactID_features_incidentEdge_set)
    __swig_setmethods__["incidentVertex"] = _Box2D2.b2ContactID_features_incidentVertex_set
    __swig_getmethods__["incidentVertex"] = _Box2D2.b2ContactID_features_incidentVertex_get
    if _newclass:incidentVertex = _swig_property(_Box2D2.b2ContactID_features_incidentVertex_get, _Box2D2.b2ContactID_features_incidentVertex_set)
    __swig_setmethods__["flip"] = _Box2D2.b2ContactID_features_flip_set
    __swig_getmethods__["flip"] = _Box2D2.b2ContactID_features_flip_get
    if _newclass:flip = _swig_property(_Box2D2.b2ContactID_features_flip_get, _Box2D2.b2ContactID_features_flip_set)
    def __init__(self, *args): 
        """__init__(self) -> b2ContactID_features"""
        this = _Box2D2.new_b2ContactID_features(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ContactID_features
    __del__ = lambda self : None;
b2ContactID_features_swigregister = _Box2D2.b2ContactID_features_swigregister
b2ContactID_features_swigregister(b2ContactID_features)

class b2ManifoldPoint(_object):
    """Proxy of C++ b2ManifoldPoint class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ManifoldPoint, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ManifoldPoint, name)
    __repr__ = _swig_repr
    __swig_setmethods__["localPoint1"] = _Box2D2.b2ManifoldPoint_localPoint1_set
    __swig_getmethods__["localPoint1"] = _Box2D2.b2ManifoldPoint_localPoint1_get
    if _newclass:localPoint1 = _swig_property(_Box2D2.b2ManifoldPoint_localPoint1_get, _Box2D2.b2ManifoldPoint_localPoint1_set)
    __swig_setmethods__["localPoint2"] = _Box2D2.b2ManifoldPoint_localPoint2_set
    __swig_getmethods__["localPoint2"] = _Box2D2.b2ManifoldPoint_localPoint2_get
    if _newclass:localPoint2 = _swig_property(_Box2D2.b2ManifoldPoint_localPoint2_get, _Box2D2.b2ManifoldPoint_localPoint2_set)
    __swig_setmethods__["separation"] = _Box2D2.b2ManifoldPoint_separation_set
    __swig_getmethods__["separation"] = _Box2D2.b2ManifoldPoint_separation_get
    if _newclass:separation = _swig_property(_Box2D2.b2ManifoldPoint_separation_get, _Box2D2.b2ManifoldPoint_separation_set)
    __swig_setmethods__["normalForce"] = _Box2D2.b2ManifoldPoint_normalForce_set
    __swig_getmethods__["normalForce"] = _Box2D2.b2ManifoldPoint_normalForce_get
    if _newclass:normalForce = _swig_property(_Box2D2.b2ManifoldPoint_normalForce_get, _Box2D2.b2ManifoldPoint_normalForce_set)
    __swig_setmethods__["tangentForce"] = _Box2D2.b2ManifoldPoint_tangentForce_set
    __swig_getmethods__["tangentForce"] = _Box2D2.b2ManifoldPoint_tangentForce_get
    if _newclass:tangentForce = _swig_property(_Box2D2.b2ManifoldPoint_tangentForce_get, _Box2D2.b2ManifoldPoint_tangentForce_set)
    __swig_setmethods__["id"] = _Box2D2.b2ManifoldPoint_id_set
    __swig_getmethods__["id"] = _Box2D2.b2ManifoldPoint_id_get
    if _newclass:id = _swig_property(_Box2D2.b2ManifoldPoint_id_get, _Box2D2.b2ManifoldPoint_id_set)
    def __init__(self, *args): 
        """__init__(self) -> b2ManifoldPoint"""
        this = _Box2D2.new_b2ManifoldPoint(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ManifoldPoint
    __del__ = lambda self : None;
b2ManifoldPoint_swigregister = _Box2D2.b2ManifoldPoint_swigregister
b2ManifoldPoint_swigregister(b2ManifoldPoint)

class b2Manifold(_object):
    """Proxy of C++ b2Manifold class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Manifold, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Manifold, name)
    __repr__ = _swig_repr
    __swig_setmethods__["points"] = _Box2D2.b2Manifold_points_set
    __swig_getmethods__["points"] = _Box2D2.b2Manifold_points_get
    if _newclass:points = _swig_property(_Box2D2.b2Manifold_points_get, _Box2D2.b2Manifold_points_set)
    __swig_setmethods__["normal"] = _Box2D2.b2Manifold_normal_set
    __swig_getmethods__["normal"] = _Box2D2.b2Manifold_normal_get
    if _newclass:normal = _swig_property(_Box2D2.b2Manifold_normal_get, _Box2D2.b2Manifold_normal_set)
    __swig_setmethods__["pointCount"] = _Box2D2.b2Manifold_pointCount_set
    __swig_getmethods__["pointCount"] = _Box2D2.b2Manifold_pointCount_get
    if _newclass:pointCount = _swig_property(_Box2D2.b2Manifold_pointCount_get, _Box2D2.b2Manifold_pointCount_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Manifold"""
        this = _Box2D2.new_b2Manifold(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Manifold
    __del__ = lambda self : None;
b2Manifold_swigregister = _Box2D2.b2Manifold_swigregister
b2Manifold_swigregister(b2Manifold)

class b2Segment(_object):
    """Proxy of C++ b2Segment class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Segment, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Segment, name)
    __repr__ = _swig_repr
    def TestSegment(*args):
        """TestSegment(self, float32 lambda, b2Vec2 normal, b2Segment segment, float32 maxLambda) -> bool"""
        return _Box2D2.b2Segment_TestSegment(*args)

    __swig_setmethods__["p1"] = _Box2D2.b2Segment_p1_set
    __swig_getmethods__["p1"] = _Box2D2.b2Segment_p1_get
    if _newclass:p1 = _swig_property(_Box2D2.b2Segment_p1_get, _Box2D2.b2Segment_p1_set)
    __swig_setmethods__["p2"] = _Box2D2.b2Segment_p2_set
    __swig_getmethods__["p2"] = _Box2D2.b2Segment_p2_get
    if _newclass:p2 = _swig_property(_Box2D2.b2Segment_p2_get, _Box2D2.b2Segment_p2_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Segment"""
        this = _Box2D2.new_b2Segment(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Segment
    __del__ = lambda self : None;
b2Segment_swigregister = _Box2D2.b2Segment_swigregister
b2Segment_swigregister(b2Segment)

class b2AABB(_object):
    """Proxy of C++ b2AABB class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2AABB, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2AABB, name)
    __repr__ = _swig_repr
    def IsValid(*args):
        """IsValid(self) -> bool"""
        return _Box2D2.b2AABB_IsValid(*args)

    __swig_setmethods__["lowerBound"] = _Box2D2.b2AABB_lowerBound_set
    __swig_getmethods__["lowerBound"] = _Box2D2.b2AABB_lowerBound_get
    if _newclass:lowerBound = _swig_property(_Box2D2.b2AABB_lowerBound_get, _Box2D2.b2AABB_lowerBound_set)
    __swig_setmethods__["upperBound"] = _Box2D2.b2AABB_upperBound_set
    __swig_getmethods__["upperBound"] = _Box2D2.b2AABB_upperBound_get
    if _newclass:upperBound = _swig_property(_Box2D2.b2AABB_upperBound_get, _Box2D2.b2AABB_upperBound_set)
    def __init__(self, *args): 
        """__init__(self) -> b2AABB"""
        this = _Box2D2.new_b2AABB(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2AABB
    __del__ = lambda self : None;
b2AABB_swigregister = _Box2D2.b2AABB_swigregister
b2AABB_swigregister(b2AABB)

class b2OBB(_object):
    """Proxy of C++ b2OBB class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2OBB, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2OBB, name)
    __repr__ = _swig_repr
    __swig_setmethods__["R"] = _Box2D2.b2OBB_R_set
    __swig_getmethods__["R"] = _Box2D2.b2OBB_R_get
    if _newclass:R = _swig_property(_Box2D2.b2OBB_R_get, _Box2D2.b2OBB_R_set)
    __swig_setmethods__["center"] = _Box2D2.b2OBB_center_set
    __swig_getmethods__["center"] = _Box2D2.b2OBB_center_get
    if _newclass:center = _swig_property(_Box2D2.b2OBB_center_get, _Box2D2.b2OBB_center_set)
    __swig_setmethods__["extents"] = _Box2D2.b2OBB_extents_set
    __swig_getmethods__["extents"] = _Box2D2.b2OBB_extents_get
    if _newclass:extents = _swig_property(_Box2D2.b2OBB_extents_get, _Box2D2.b2OBB_extents_set)
    def __init__(self, *args): 
        """__init__(self) -> b2OBB"""
        this = _Box2D2.new_b2OBB(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2OBB
    __del__ = lambda self : None;
b2OBB_swigregister = _Box2D2.b2OBB_swigregister
b2OBB_swigregister(b2OBB)


def b2CollideCircles(*args):
  """
    b2CollideCircles(b2Manifold manifold, b2CircleShape circle1, b2XForm xf1, 
        b2CircleShape circle2, b2XForm xf2)
    """
  return _Box2D2.b2CollideCircles(*args)

def b2CollidePolygonAndCircle(*args):
  """
    b2CollidePolygonAndCircle(b2Manifold manifold, b2PolygonShape polygon, b2XForm xf1, 
        b2CircleShape circle, b2XForm xf2)
    """
  return _Box2D2.b2CollidePolygonAndCircle(*args)

def b2CollidePolygons(*args):
  """
    b2CollidePolygons(b2Manifold manifold, b2PolygonShape polygon1, b2XForm xf1, 
        b2PolygonShape polygon2, b2XForm xf2)
    """
  return _Box2D2.b2CollidePolygons(*args)

def b2TimeOfImpact(*args):
  """b2TimeOfImpact(b2Shape shape1, b2Sweep sweep1, b2Shape shape2, b2Sweep sweep2) -> float32"""
  return _Box2D2.b2TimeOfImpact(*args)

def b2TestOverlap(*args):
  """b2TestOverlap(b2AABB a, b2AABB b) -> bool"""
  return _Box2D2.b2TestOverlap(*args)
class b2MassData(_object):
    """Proxy of C++ b2MassData class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2MassData, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2MassData, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mass"] = _Box2D2.b2MassData_mass_set
    __swig_getmethods__["mass"] = _Box2D2.b2MassData_mass_get
    if _newclass:mass = _swig_property(_Box2D2.b2MassData_mass_get, _Box2D2.b2MassData_mass_set)
    __swig_setmethods__["center"] = _Box2D2.b2MassData_center_set
    __swig_getmethods__["center"] = _Box2D2.b2MassData_center_get
    if _newclass:center = _swig_property(_Box2D2.b2MassData_center_get, _Box2D2.b2MassData_center_set)
    __swig_setmethods__["I"] = _Box2D2.b2MassData_I_set
    __swig_getmethods__["I"] = _Box2D2.b2MassData_I_get
    if _newclass:I = _swig_property(_Box2D2.b2MassData_I_get, _Box2D2.b2MassData_I_set)
    def __init__(self, *args): 
        """__init__(self) -> b2MassData"""
        this = _Box2D2.new_b2MassData(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2MassData
    __del__ = lambda self : None;
b2MassData_swigregister = _Box2D2.b2MassData_swigregister
b2MassData_swigregister(b2MassData)

def b2Distance(*args):
  """
    b2Distance(b2Vec2 a, b2Vec2 b) -> float32
    b2Distance(b2Vec2 x1, b2Vec2 x2, b2Shape shape1, b2XForm xf1, 
        b2Shape shape2, b2XForm xf2) -> float32
    """
  return _Box2D2.b2Distance(*args)

e_unknownShape = _Box2D2.e_unknownShape
e_circleShape = _Box2D2.e_circleShape
e_polygonShape = _Box2D2.e_polygonShape
e_shapeTypeCount = _Box2D2.e_shapeTypeCount
class b2ShapeDef(_object):
    """Proxy of C++ b2ShapeDef class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ShapeDef, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ShapeDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2ShapeDef"""
        this = _Box2D2.new_b2ShapeDef(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ShapeDef
    __del__ = lambda self : None;
    __swig_setmethods__["type"] = _Box2D2.b2ShapeDef_type_set
    __swig_getmethods__["type"] = _Box2D2.b2ShapeDef_type_get
    if _newclass:type = _swig_property(_Box2D2.b2ShapeDef_type_get, _Box2D2.b2ShapeDef_type_set)
    __swig_setmethods__["userData"] = _Box2D2.b2ShapeDef_userData_set
    __swig_getmethods__["userData"] = _Box2D2.b2ShapeDef_userData_get
    if _newclass:userData = _swig_property(_Box2D2.b2ShapeDef_userData_get, _Box2D2.b2ShapeDef_userData_set)
    __swig_setmethods__["friction"] = _Box2D2.b2ShapeDef_friction_set
    __swig_getmethods__["friction"] = _Box2D2.b2ShapeDef_friction_get
    if _newclass:friction = _swig_property(_Box2D2.b2ShapeDef_friction_get, _Box2D2.b2ShapeDef_friction_set)
    __swig_setmethods__["restitution"] = _Box2D2.b2ShapeDef_restitution_set
    __swig_getmethods__["restitution"] = _Box2D2.b2ShapeDef_restitution_get
    if _newclass:restitution = _swig_property(_Box2D2.b2ShapeDef_restitution_get, _Box2D2.b2ShapeDef_restitution_set)
    __swig_setmethods__["density"] = _Box2D2.b2ShapeDef_density_set
    __swig_getmethods__["density"] = _Box2D2.b2ShapeDef_density_get
    if _newclass:density = _swig_property(_Box2D2.b2ShapeDef_density_get, _Box2D2.b2ShapeDef_density_set)
    __swig_setmethods__["categoryBits"] = _Box2D2.b2ShapeDef_categoryBits_set
    __swig_getmethods__["categoryBits"] = _Box2D2.b2ShapeDef_categoryBits_get
    if _newclass:categoryBits = _swig_property(_Box2D2.b2ShapeDef_categoryBits_get, _Box2D2.b2ShapeDef_categoryBits_set)
    __swig_setmethods__["maskBits"] = _Box2D2.b2ShapeDef_maskBits_set
    __swig_getmethods__["maskBits"] = _Box2D2.b2ShapeDef_maskBits_get
    if _newclass:maskBits = _swig_property(_Box2D2.b2ShapeDef_maskBits_get, _Box2D2.b2ShapeDef_maskBits_set)
    __swig_setmethods__["groupIndex"] = _Box2D2.b2ShapeDef_groupIndex_set
    __swig_getmethods__["groupIndex"] = _Box2D2.b2ShapeDef_groupIndex_get
    if _newclass:groupIndex = _swig_property(_Box2D2.b2ShapeDef_groupIndex_get, _Box2D2.b2ShapeDef_groupIndex_set)
    __swig_setmethods__["isSensor"] = _Box2D2.b2ShapeDef_isSensor_set
    __swig_getmethods__["isSensor"] = _Box2D2.b2ShapeDef_isSensor_get
    if _newclass:isSensor = _swig_property(_Box2D2.b2ShapeDef_isSensor_get, _Box2D2.b2ShapeDef_isSensor_set)
b2ShapeDef_swigregister = _Box2D2.b2ShapeDef_swigregister
b2ShapeDef_swigregister(b2ShapeDef)

class b2Shape(_object):
    """Proxy of C++ b2Shape class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Shape, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Shape, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    def GetType(*args):
        """GetType(self) -> int"""
        return _Box2D2.b2Shape_GetType(*args)

    def IsSensor(*args):
        """IsSensor(self) -> bool"""
        return _Box2D2.b2Shape_IsSensor(*args)

    def GetBody(*args):
        """GetBody(self) -> b2Body"""
        return _Box2D2.b2Shape_GetBody(*args)

    def GetNext(*args):
        """GetNext(self) -> b2Shape"""
        return _Box2D2.b2Shape_GetNext(*args)

    def GetUserData(*args):
        """GetUserData(self) -> void"""
        return _Box2D2.b2Shape_GetUserData(*args)

    def TestPoint(*args):
        """TestPoint(self, b2XForm xf, b2Vec2 p) -> bool"""
        return _Box2D2.b2Shape_TestPoint(*args)

    def TestSegment(*args):
        """
        TestSegment(self, b2XForm xf, float32 lambda, b2Vec2 normal, b2Segment segment, 
            float32 maxLambda) -> bool
        """
        return _Box2D2.b2Shape_TestSegment(*args)

    def ComputeAABB(*args):
        """ComputeAABB(self, b2AABB aabb, b2XForm xf)"""
        return _Box2D2.b2Shape_ComputeAABB(*args)

    def ComputeSweptAABB(*args):
        """ComputeSweptAABB(self, b2AABB aabb, b2XForm xf1, b2XForm xf2)"""
        return _Box2D2.b2Shape_ComputeSweptAABB(*args)

    def ComputeMass(*args):
        """ComputeMass(self, b2MassData massData)"""
        return _Box2D2.b2Shape_ComputeMass(*args)

    def Create(*args):
        """Create(b2ShapeDef def, b2BlockAllocator allocator) -> b2Shape"""
        return _Box2D2.b2Shape_Create(*args)

    if _newclass:Create = staticmethod(Create)
    __swig_getmethods__["Create"] = lambda x: Create
    def Destroy(*args):
        """Destroy(b2Shape shape, b2BlockAllocator allocator)"""
        return _Box2D2.b2Shape_Destroy(*args)

    if _newclass:Destroy = staticmethod(Destroy)
    __swig_getmethods__["Destroy"] = lambda x: Destroy
    __swig_destroy__ = _Box2D2.delete_b2Shape
    __del__ = lambda self : None;
    def CreateProxy(*args):
        """CreateProxy(self, b2BroadPhase broadPhase, b2XForm xf)"""
        return _Box2D2.b2Shape_CreateProxy(*args)

    def DestroyProxy(*args):
        """DestroyProxy(self, b2BroadPhase broadPhase)"""
        return _Box2D2.b2Shape_DestroyProxy(*args)

    def Synchronize(*args):
        """Synchronize(self, b2BroadPhase broadPhase, b2XForm xf1, b2XForm xf2) -> bool"""
        return _Box2D2.b2Shape_Synchronize(*args)

    def ResetProxy(*args):
        """ResetProxy(self, b2BroadPhase broadPhase, b2XForm xf)"""
        return _Box2D2.b2Shape_ResetProxy(*args)

    def UpdateSweepRadius(*args):
        """UpdateSweepRadius(self, b2Vec2 center)"""
        return _Box2D2.b2Shape_UpdateSweepRadius(*args)

    def GetSweepRadius(*args):
        """GetSweepRadius(self) -> float32"""
        return _Box2D2.b2Shape_GetSweepRadius(*args)

    __swig_setmethods__["m_type"] = _Box2D2.b2Shape_m_type_set
    __swig_getmethods__["m_type"] = _Box2D2.b2Shape_m_type_get
    if _newclass:m_type = _swig_property(_Box2D2.b2Shape_m_type_get, _Box2D2.b2Shape_m_type_set)
    __swig_setmethods__["m_next"] = _Box2D2.b2Shape_m_next_set
    __swig_getmethods__["m_next"] = _Box2D2.b2Shape_m_next_get
    if _newclass:m_next = _swig_property(_Box2D2.b2Shape_m_next_get, _Box2D2.b2Shape_m_next_set)
    __swig_setmethods__["m_body"] = _Box2D2.b2Shape_m_body_set
    __swig_getmethods__["m_body"] = _Box2D2.b2Shape_m_body_get
    if _newclass:m_body = _swig_property(_Box2D2.b2Shape_m_body_get, _Box2D2.b2Shape_m_body_set)
    __swig_setmethods__["m_sweepRadius"] = _Box2D2.b2Shape_m_sweepRadius_set
    __swig_getmethods__["m_sweepRadius"] = _Box2D2.b2Shape_m_sweepRadius_get
    if _newclass:m_sweepRadius = _swig_property(_Box2D2.b2Shape_m_sweepRadius_get, _Box2D2.b2Shape_m_sweepRadius_set)
    __swig_setmethods__["m_density"] = _Box2D2.b2Shape_m_density_set
    __swig_getmethods__["m_density"] = _Box2D2.b2Shape_m_density_get
    if _newclass:m_density = _swig_property(_Box2D2.b2Shape_m_density_get, _Box2D2.b2Shape_m_density_set)
    __swig_setmethods__["m_friction"] = _Box2D2.b2Shape_m_friction_set
    __swig_getmethods__["m_friction"] = _Box2D2.b2Shape_m_friction_get
    if _newclass:m_friction = _swig_property(_Box2D2.b2Shape_m_friction_get, _Box2D2.b2Shape_m_friction_set)
    __swig_setmethods__["m_restitution"] = _Box2D2.b2Shape_m_restitution_set
    __swig_getmethods__["m_restitution"] = _Box2D2.b2Shape_m_restitution_get
    if _newclass:m_restitution = _swig_property(_Box2D2.b2Shape_m_restitution_get, _Box2D2.b2Shape_m_restitution_set)
    __swig_setmethods__["m_proxyId"] = _Box2D2.b2Shape_m_proxyId_set
    __swig_getmethods__["m_proxyId"] = _Box2D2.b2Shape_m_proxyId_get
    if _newclass:m_proxyId = _swig_property(_Box2D2.b2Shape_m_proxyId_get, _Box2D2.b2Shape_m_proxyId_set)
    __swig_setmethods__["m_categoryBits"] = _Box2D2.b2Shape_m_categoryBits_set
    __swig_getmethods__["m_categoryBits"] = _Box2D2.b2Shape_m_categoryBits_get
    if _newclass:m_categoryBits = _swig_property(_Box2D2.b2Shape_m_categoryBits_get, _Box2D2.b2Shape_m_categoryBits_set)
    __swig_setmethods__["m_maskBits"] = _Box2D2.b2Shape_m_maskBits_set
    __swig_getmethods__["m_maskBits"] = _Box2D2.b2Shape_m_maskBits_get
    if _newclass:m_maskBits = _swig_property(_Box2D2.b2Shape_m_maskBits_get, _Box2D2.b2Shape_m_maskBits_set)
    __swig_setmethods__["m_groupIndex"] = _Box2D2.b2Shape_m_groupIndex_set
    __swig_getmethods__["m_groupIndex"] = _Box2D2.b2Shape_m_groupIndex_get
    if _newclass:m_groupIndex = _swig_property(_Box2D2.b2Shape_m_groupIndex_get, _Box2D2.b2Shape_m_groupIndex_set)
    __swig_setmethods__["m_isSensor"] = _Box2D2.b2Shape_m_isSensor_set
    __swig_getmethods__["m_isSensor"] = _Box2D2.b2Shape_m_isSensor_get
    if _newclass:m_isSensor = _swig_property(_Box2D2.b2Shape_m_isSensor_get, _Box2D2.b2Shape_m_isSensor_set)
    __swig_setmethods__["m_userData"] = _Box2D2.b2Shape_m_userData_set
    __swig_getmethods__["m_userData"] = _Box2D2.b2Shape_m_userData_get
    if _newclass:m_userData = _swig_property(_Box2D2.b2Shape_m_userData_get, _Box2D2.b2Shape_m_userData_set)
    def __repr__(self):
        return "b2Shape(from Body %s )" % (self.GetBody())
    def typeName(self):
        types = {  e_unknownShape   : "Unknown",
                    e_circleShape   : "Circle",
                    e_polygonShape  : "Polygon",
                    e_shapeTypeCount: "ShapeType" }
        return types[self.GetType()]
    def getAsType(self):
        """Return a typecasted version of the shape"""
        return (getattr(self, "as%s" % self.typeName())) ()

    def asCircle(*args):
        """asCircle(self) -> b2CircleShape"""
        return _Box2D2.b2Shape_asCircle(*args)

    def asPolygon(*args):
        """asPolygon(self) -> b2PolygonShape"""
        return _Box2D2.b2Shape_asPolygon(*args)

b2Shape_swigregister = _Box2D2.b2Shape_swigregister
b2Shape_swigregister(b2Shape)

def b2Shape_Create(*args):
  """b2Shape_Create(b2ShapeDef def, b2BlockAllocator allocator) -> b2Shape"""
  return _Box2D2.b2Shape_Create(*args)

def b2Shape_Destroy(*args):
  """b2Shape_Destroy(b2Shape shape, b2BlockAllocator allocator)"""
  return _Box2D2.b2Shape_Destroy(*args)

class b2CircleDef(b2ShapeDef):
    """Proxy of C++ b2CircleDef class"""
    __swig_setmethods__ = {}
    for _s in [b2ShapeDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2CircleDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2ShapeDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2CircleDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2CircleDef"""
        this = _Box2D2.new_b2CircleDef(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_setmethods__["localPosition"] = _Box2D2.b2CircleDef_localPosition_set
    __swig_getmethods__["localPosition"] = _Box2D2.b2CircleDef_localPosition_get
    if _newclass:localPosition = _swig_property(_Box2D2.b2CircleDef_localPosition_get, _Box2D2.b2CircleDef_localPosition_set)
    __swig_setmethods__["radius"] = _Box2D2.b2CircleDef_radius_set
    __swig_getmethods__["radius"] = _Box2D2.b2CircleDef_radius_get
    if _newclass:radius = _swig_property(_Box2D2.b2CircleDef_radius_get, _Box2D2.b2CircleDef_radius_set)
    __swig_destroy__ = _Box2D2.delete_b2CircleDef
    __del__ = lambda self : None;
b2CircleDef_swigregister = _Box2D2.b2CircleDef_swigregister
b2CircleDef_swigregister(b2CircleDef)

class b2CircleShape(b2Shape):
    """Proxy of C++ b2CircleShape class"""
    __swig_setmethods__ = {}
    for _s in [b2Shape]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2CircleShape, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Shape]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2CircleShape, name)
    __repr__ = _swig_repr
    def TestPoint(*args):
        """TestPoint(self, b2XForm transform, b2Vec2 p) -> bool"""
        return _Box2D2.b2CircleShape_TestPoint(*args)

    def TestSegment(*args):
        """
        TestSegment(self, b2XForm transform, float32 lambda, b2Vec2 normal, b2Segment segment, 
            float32 maxLambda) -> bool
        """
        return _Box2D2.b2CircleShape_TestSegment(*args)

    def ComputeAABB(*args):
        """ComputeAABB(self, b2AABB aabb, b2XForm transform)"""
        return _Box2D2.b2CircleShape_ComputeAABB(*args)

    def ComputeSweptAABB(*args):
        """ComputeSweptAABB(self, b2AABB aabb, b2XForm transform1, b2XForm transform2)"""
        return _Box2D2.b2CircleShape_ComputeSweptAABB(*args)

    def ComputeMass(*args):
        """ComputeMass(self, b2MassData massData)"""
        return _Box2D2.b2CircleShape_ComputeMass(*args)

    def GetLocalPosition(*args):
        """GetLocalPosition(self) -> b2Vec2"""
        return _Box2D2.b2CircleShape_GetLocalPosition(*args)

    def GetRadius(*args):
        """GetRadius(self) -> float32"""
        return _Box2D2.b2CircleShape_GetRadius(*args)

    def __init__(self, *args): 
        """__init__(self, b2ShapeDef def) -> b2CircleShape"""
        this = _Box2D2.new_b2CircleShape(*args)
        try: self.this.append(this)
        except: self.this = this
    def UpdateSweepRadius(*args):
        """UpdateSweepRadius(self, b2Vec2 center)"""
        return _Box2D2.b2CircleShape_UpdateSweepRadius(*args)

    __swig_setmethods__["m_localPosition"] = _Box2D2.b2CircleShape_m_localPosition_set
    __swig_getmethods__["m_localPosition"] = _Box2D2.b2CircleShape_m_localPosition_get
    if _newclass:m_localPosition = _swig_property(_Box2D2.b2CircleShape_m_localPosition_get, _Box2D2.b2CircleShape_m_localPosition_set)
    __swig_setmethods__["m_radius"] = _Box2D2.b2CircleShape_m_radius_set
    __swig_getmethods__["m_radius"] = _Box2D2.b2CircleShape_m_radius_get
    if _newclass:m_radius = _swig_property(_Box2D2.b2CircleShape_m_radius_get, _Box2D2.b2CircleShape_m_radius_set)
    __swig_destroy__ = _Box2D2.delete_b2CircleShape
    __del__ = lambda self : None;
b2CircleShape_swigregister = _Box2D2.b2CircleShape_swigregister
b2CircleShape_swigregister(b2CircleShape)

class b2PolygonDef(b2ShapeDef):
    """Proxy of C++ b2PolygonDef class"""
    __swig_setmethods__ = {}
    for _s in [b2ShapeDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PolygonDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2ShapeDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2PolygonDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2PolygonDef"""
        this = _Box2D2.new_b2PolygonDef(*args)
        try: self.this.append(this)
        except: self.this = this
    def SetAsBox(*args):
        """
        SetAsBox(self, float32 hx, float32 hy)
        SetAsBox(self, float32 hx, float32 hy, b2Vec2 center, float32 angle)
        """
        return _Box2D2.b2PolygonDef_SetAsBox(*args)

    __swig_setmethods__["vertices"] = _Box2D2.b2PolygonDef_vertices_set
    __swig_getmethods__["vertices"] = _Box2D2.b2PolygonDef_vertices_get
    if _newclass:vertices = _swig_property(_Box2D2.b2PolygonDef_vertices_get, _Box2D2.b2PolygonDef_vertices_set)
    __swig_setmethods__["vertexCount"] = _Box2D2.b2PolygonDef_vertexCount_set
    __swig_getmethods__["vertexCount"] = _Box2D2.b2PolygonDef_vertexCount_get
    if _newclass:vertexCount = _swig_property(_Box2D2.b2PolygonDef_vertexCount_get, _Box2D2.b2PolygonDef_vertexCount_set)
    def getVertex(*args):
        """getVertex(self, uint16 vnum) -> b2Vec2"""
        return _Box2D2.b2PolygonDef_getVertex(*args)

    def setVertex(*args):
        """setVertex(self, uint16 vnum, b2Vec2 value)"""
        return _Box2D2.b2PolygonDef_setVertex(*args)

    __swig_destroy__ = _Box2D2.delete_b2PolygonDef
    __del__ = lambda self : None;
b2PolygonDef_swigregister = _Box2D2.b2PolygonDef_swigregister
b2PolygonDef_swigregister(b2PolygonDef)

class b2PolygonShape(b2Shape):
    """Proxy of C++ b2PolygonShape class"""
    __swig_setmethods__ = {}
    for _s in [b2Shape]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PolygonShape, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Shape]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2PolygonShape, name)
    __repr__ = _swig_repr
    def TestPoint(*args):
        """TestPoint(self, b2XForm transform, b2Vec2 p) -> bool"""
        return _Box2D2.b2PolygonShape_TestPoint(*args)

    def TestSegment(*args):
        """
        TestSegment(self, b2XForm transform, float32 lambda, b2Vec2 normal, b2Segment segment, 
            float32 maxLambda) -> bool
        """
        return _Box2D2.b2PolygonShape_TestSegment(*args)

    def ComputeAABB(*args):
        """ComputeAABB(self, b2AABB aabb, b2XForm transform)"""
        return _Box2D2.b2PolygonShape_ComputeAABB(*args)

    def ComputeSweptAABB(*args):
        """ComputeSweptAABB(self, b2AABB aabb, b2XForm transform1, b2XForm transform2)"""
        return _Box2D2.b2PolygonShape_ComputeSweptAABB(*args)

    def ComputeMass(*args):
        """ComputeMass(self, b2MassData massData)"""
        return _Box2D2.b2PolygonShape_ComputeMass(*args)

    def GetOBB(*args):
        """GetOBB(self) -> b2OBB"""
        return _Box2D2.b2PolygonShape_GetOBB(*args)

    def GetCentroid(*args):
        """GetCentroid(self) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_GetCentroid(*args)

    def GetVertexCount(*args):
        """GetVertexCount(self) -> int32"""
        return _Box2D2.b2PolygonShape_GetVertexCount(*args)

    def GetVertices(*args):
        """GetVertices(self) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_GetVertices(*args)

    def GetCoreVertices(*args):
        """GetCoreVertices(self) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_GetCoreVertices(*args)

    def __init__(self, *args): 
        """__init__(self, b2ShapeDef def) -> b2PolygonShape"""
        this = _Box2D2.new_b2PolygonShape(*args)
        try: self.this.append(this)
        except: self.this = this
    def UpdateSweepRadius(*args):
        """UpdateSweepRadius(self, b2Vec2 center)"""
        return _Box2D2.b2PolygonShape_UpdateSweepRadius(*args)

    def GetFirstVertex(*args):
        """GetFirstVertex(self, b2XForm xf) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_GetFirstVertex(*args)

    def Centroid(*args):
        """Centroid(self, b2XForm xf) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_Centroid(*args)

    def Support(*args):
        """Support(self, b2XForm xf, b2Vec2 d) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_Support(*args)

    __swig_setmethods__["m_centroid"] = _Box2D2.b2PolygonShape_m_centroid_set
    __swig_getmethods__["m_centroid"] = _Box2D2.b2PolygonShape_m_centroid_get
    if _newclass:m_centroid = _swig_property(_Box2D2.b2PolygonShape_m_centroid_get, _Box2D2.b2PolygonShape_m_centroid_set)
    __swig_setmethods__["m_obb"] = _Box2D2.b2PolygonShape_m_obb_set
    __swig_getmethods__["m_obb"] = _Box2D2.b2PolygonShape_m_obb_get
    if _newclass:m_obb = _swig_property(_Box2D2.b2PolygonShape_m_obb_get, _Box2D2.b2PolygonShape_m_obb_set)
    __swig_setmethods__["m_vertices"] = _Box2D2.b2PolygonShape_m_vertices_set
    __swig_getmethods__["m_vertices"] = _Box2D2.b2PolygonShape_m_vertices_get
    if _newclass:m_vertices = _swig_property(_Box2D2.b2PolygonShape_m_vertices_get, _Box2D2.b2PolygonShape_m_vertices_set)
    __swig_setmethods__["m_normals"] = _Box2D2.b2PolygonShape_m_normals_set
    __swig_getmethods__["m_normals"] = _Box2D2.b2PolygonShape_m_normals_get
    if _newclass:m_normals = _swig_property(_Box2D2.b2PolygonShape_m_normals_get, _Box2D2.b2PolygonShape_m_normals_set)
    __swig_setmethods__["m_coreVertices"] = _Box2D2.b2PolygonShape_m_coreVertices_set
    __swig_getmethods__["m_coreVertices"] = _Box2D2.b2PolygonShape_m_coreVertices_get
    if _newclass:m_coreVertices = _swig_property(_Box2D2.b2PolygonShape_m_coreVertices_get, _Box2D2.b2PolygonShape_m_coreVertices_set)
    __swig_setmethods__["m_vertexCount"] = _Box2D2.b2PolygonShape_m_vertexCount_set
    __swig_getmethods__["m_vertexCount"] = _Box2D2.b2PolygonShape_m_vertexCount_get
    if _newclass:m_vertexCount = _swig_property(_Box2D2.b2PolygonShape_m_vertexCount_get, _Box2D2.b2PolygonShape_m_vertexCount_set)
    def __repr__(self):
        return "b2PolygonShape()"

    def getVertex(*args):
        """getVertex(self, uint16 vnum) -> b2Vec2"""
        return _Box2D2.b2PolygonShape_getVertex(*args)

    __swig_destroy__ = _Box2D2.delete_b2PolygonShape
    __del__ = lambda self : None;
b2PolygonShape_swigregister = _Box2D2.b2PolygonShape_swigregister
b2PolygonShape_swigregister(b2PolygonShape)

class b2Pair(_object):
    """Proxy of C++ b2Pair class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Pair, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Pair, name)
    __repr__ = _swig_repr
    e_pairBuffered = _Box2D2.b2Pair_e_pairBuffered
    e_pairRemoved = _Box2D2.b2Pair_e_pairRemoved
    e_pairFinal = _Box2D2.b2Pair_e_pairFinal
    def SetBuffered(*args):
        """SetBuffered(self)"""
        return _Box2D2.b2Pair_SetBuffered(*args)

    def ClearBuffered(*args):
        """ClearBuffered(self)"""
        return _Box2D2.b2Pair_ClearBuffered(*args)

    def IsBuffered(*args):
        """IsBuffered(self) -> bool"""
        return _Box2D2.b2Pair_IsBuffered(*args)

    def SetRemoved(*args):
        """SetRemoved(self)"""
        return _Box2D2.b2Pair_SetRemoved(*args)

    def ClearRemoved(*args):
        """ClearRemoved(self)"""
        return _Box2D2.b2Pair_ClearRemoved(*args)

    def IsRemoved(*args):
        """IsRemoved(self) -> bool"""
        return _Box2D2.b2Pair_IsRemoved(*args)

    def SetFinal(*args):
        """SetFinal(self)"""
        return _Box2D2.b2Pair_SetFinal(*args)

    def IsFinal(*args):
        """IsFinal(self) -> bool"""
        return _Box2D2.b2Pair_IsFinal(*args)

    __swig_setmethods__["userData"] = _Box2D2.b2Pair_userData_set
    __swig_getmethods__["userData"] = _Box2D2.b2Pair_userData_get
    if _newclass:userData = _swig_property(_Box2D2.b2Pair_userData_get, _Box2D2.b2Pair_userData_set)
    __swig_setmethods__["proxyId1"] = _Box2D2.b2Pair_proxyId1_set
    __swig_getmethods__["proxyId1"] = _Box2D2.b2Pair_proxyId1_get
    if _newclass:proxyId1 = _swig_property(_Box2D2.b2Pair_proxyId1_get, _Box2D2.b2Pair_proxyId1_set)
    __swig_setmethods__["proxyId2"] = _Box2D2.b2Pair_proxyId2_set
    __swig_getmethods__["proxyId2"] = _Box2D2.b2Pair_proxyId2_get
    if _newclass:proxyId2 = _swig_property(_Box2D2.b2Pair_proxyId2_get, _Box2D2.b2Pair_proxyId2_set)
    __swig_setmethods__["next"] = _Box2D2.b2Pair_next_set
    __swig_getmethods__["next"] = _Box2D2.b2Pair_next_get
    if _newclass:next = _swig_property(_Box2D2.b2Pair_next_get, _Box2D2.b2Pair_next_set)
    __swig_setmethods__["status"] = _Box2D2.b2Pair_status_set
    __swig_getmethods__["status"] = _Box2D2.b2Pair_status_get
    if _newclass:status = _swig_property(_Box2D2.b2Pair_status_get, _Box2D2.b2Pair_status_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Pair"""
        this = _Box2D2.new_b2Pair(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Pair
    __del__ = lambda self : None;
b2Pair_swigregister = _Box2D2.b2Pair_swigregister
b2Pair_swigregister(b2Pair)
b2_nullPair = cvar.b2_nullPair
b2_nullProxy = cvar.b2_nullProxy
b2_tableCapacity = cvar.b2_tableCapacity
b2_tableMask = cvar.b2_tableMask

class b2BufferedPair(_object):
    """Proxy of C++ b2BufferedPair class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2BufferedPair, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2BufferedPair, name)
    __repr__ = _swig_repr
    __swig_setmethods__["proxyId1"] = _Box2D2.b2BufferedPair_proxyId1_set
    __swig_getmethods__["proxyId1"] = _Box2D2.b2BufferedPair_proxyId1_get
    if _newclass:proxyId1 = _swig_property(_Box2D2.b2BufferedPair_proxyId1_get, _Box2D2.b2BufferedPair_proxyId1_set)
    __swig_setmethods__["proxyId2"] = _Box2D2.b2BufferedPair_proxyId2_set
    __swig_getmethods__["proxyId2"] = _Box2D2.b2BufferedPair_proxyId2_get
    if _newclass:proxyId2 = _swig_property(_Box2D2.b2BufferedPair_proxyId2_get, _Box2D2.b2BufferedPair_proxyId2_set)
    def __init__(self, *args): 
        """__init__(self) -> b2BufferedPair"""
        this = _Box2D2.new_b2BufferedPair(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2BufferedPair
    __del__ = lambda self : None;
b2BufferedPair_swigregister = _Box2D2.b2BufferedPair_swigregister
b2BufferedPair_swigregister(b2BufferedPair)

class b2PairCallback(_object):
    """Proxy of C++ b2PairCallback class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PairCallback, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2PairCallback, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    __swig_destroy__ = _Box2D2.delete_b2PairCallback
    __del__ = lambda self : None;
    def PairAdded(*args):
        """PairAdded(self, void proxyUserData1, void proxyUserData2) -> void"""
        return _Box2D2.b2PairCallback_PairAdded(*args)

    def PairRemoved(*args):
        """PairRemoved(self, void proxyUserData1, void proxyUserData2, void pairUserData)"""
        return _Box2D2.b2PairCallback_PairRemoved(*args)

b2PairCallback_swigregister = _Box2D2.b2PairCallback_swigregister
b2PairCallback_swigregister(b2PairCallback)

class b2PairManager(_object):
    """Proxy of C++ b2PairManager class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PairManager, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2PairManager, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2PairManager"""
        this = _Box2D2.new_b2PairManager(*args)
        try: self.this.append(this)
        except: self.this = this
    def Initialize(*args):
        """Initialize(self, b2BroadPhase broadPhase, b2PairCallback callback)"""
        return _Box2D2.b2PairManager_Initialize(*args)

    def AddBufferedPair(*args):
        """AddBufferedPair(self, int32 proxyId1, int32 proxyId2)"""
        return _Box2D2.b2PairManager_AddBufferedPair(*args)

    def RemoveBufferedPair(*args):
        """RemoveBufferedPair(self, int32 proxyId1, int32 proxyId2)"""
        return _Box2D2.b2PairManager_RemoveBufferedPair(*args)

    def Commit(*args):
        """Commit(self)"""
        return _Box2D2.b2PairManager_Commit(*args)

    __swig_setmethods__["m_broadPhase"] = _Box2D2.b2PairManager_m_broadPhase_set
    __swig_getmethods__["m_broadPhase"] = _Box2D2.b2PairManager_m_broadPhase_get
    if _newclass:m_broadPhase = _swig_property(_Box2D2.b2PairManager_m_broadPhase_get, _Box2D2.b2PairManager_m_broadPhase_set)
    __swig_setmethods__["m_callback"] = _Box2D2.b2PairManager_m_callback_set
    __swig_getmethods__["m_callback"] = _Box2D2.b2PairManager_m_callback_get
    if _newclass:m_callback = _swig_property(_Box2D2.b2PairManager_m_callback_get, _Box2D2.b2PairManager_m_callback_set)
    __swig_setmethods__["m_pairs"] = _Box2D2.b2PairManager_m_pairs_set
    __swig_getmethods__["m_pairs"] = _Box2D2.b2PairManager_m_pairs_get
    if _newclass:m_pairs = _swig_property(_Box2D2.b2PairManager_m_pairs_get, _Box2D2.b2PairManager_m_pairs_set)
    __swig_setmethods__["m_freePair"] = _Box2D2.b2PairManager_m_freePair_set
    __swig_getmethods__["m_freePair"] = _Box2D2.b2PairManager_m_freePair_get
    if _newclass:m_freePair = _swig_property(_Box2D2.b2PairManager_m_freePair_get, _Box2D2.b2PairManager_m_freePair_set)
    __swig_setmethods__["m_pairCount"] = _Box2D2.b2PairManager_m_pairCount_set
    __swig_getmethods__["m_pairCount"] = _Box2D2.b2PairManager_m_pairCount_get
    if _newclass:m_pairCount = _swig_property(_Box2D2.b2PairManager_m_pairCount_get, _Box2D2.b2PairManager_m_pairCount_set)
    __swig_setmethods__["m_pairBuffer"] = _Box2D2.b2PairManager_m_pairBuffer_set
    __swig_getmethods__["m_pairBuffer"] = _Box2D2.b2PairManager_m_pairBuffer_get
    if _newclass:m_pairBuffer = _swig_property(_Box2D2.b2PairManager_m_pairBuffer_get, _Box2D2.b2PairManager_m_pairBuffer_set)
    __swig_setmethods__["m_pairBufferCount"] = _Box2D2.b2PairManager_m_pairBufferCount_set
    __swig_getmethods__["m_pairBufferCount"] = _Box2D2.b2PairManager_m_pairBufferCount_get
    if _newclass:m_pairBufferCount = _swig_property(_Box2D2.b2PairManager_m_pairBufferCount_get, _Box2D2.b2PairManager_m_pairBufferCount_set)
    __swig_setmethods__["m_hashTable"] = _Box2D2.b2PairManager_m_hashTable_set
    __swig_getmethods__["m_hashTable"] = _Box2D2.b2PairManager_m_hashTable_get
    if _newclass:m_hashTable = _swig_property(_Box2D2.b2PairManager_m_hashTable_get, _Box2D2.b2PairManager_m_hashTable_set)
    __swig_destroy__ = _Box2D2.delete_b2PairManager
    __del__ = lambda self : None;
b2PairManager_swigregister = _Box2D2.b2PairManager_swigregister
b2PairManager_swigregister(b2PairManager)

class b2Bound(_object):
    """Proxy of C++ b2Bound class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Bound, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Bound, name)
    __repr__ = _swig_repr
    def IsLower(*args):
        """IsLower(self) -> bool"""
        return _Box2D2.b2Bound_IsLower(*args)

    def IsUpper(*args):
        """IsUpper(self) -> bool"""
        return _Box2D2.b2Bound_IsUpper(*args)

    __swig_setmethods__["value"] = _Box2D2.b2Bound_value_set
    __swig_getmethods__["value"] = _Box2D2.b2Bound_value_get
    if _newclass:value = _swig_property(_Box2D2.b2Bound_value_get, _Box2D2.b2Bound_value_set)
    __swig_setmethods__["proxyId"] = _Box2D2.b2Bound_proxyId_set
    __swig_getmethods__["proxyId"] = _Box2D2.b2Bound_proxyId_get
    if _newclass:proxyId = _swig_property(_Box2D2.b2Bound_proxyId_get, _Box2D2.b2Bound_proxyId_set)
    __swig_setmethods__["stabbingCount"] = _Box2D2.b2Bound_stabbingCount_set
    __swig_getmethods__["stabbingCount"] = _Box2D2.b2Bound_stabbingCount_get
    if _newclass:stabbingCount = _swig_property(_Box2D2.b2Bound_stabbingCount_get, _Box2D2.b2Bound_stabbingCount_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Bound"""
        this = _Box2D2.new_b2Bound(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Bound
    __del__ = lambda self : None;
b2Bound_swigregister = _Box2D2.b2Bound_swigregister
b2Bound_swigregister(b2Bound)
b2_invalid = cvar.b2_invalid
b2_nullEdge = cvar.b2_nullEdge

class b2Proxy(_object):
    """Proxy of C++ b2Proxy class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Proxy, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Proxy, name)
    __repr__ = _swig_repr
    def GetNext(*args):
        """GetNext(self) -> uint16"""
        return _Box2D2.b2Proxy_GetNext(*args)

    def SetNext(*args):
        """SetNext(self, uint16 next)"""
        return _Box2D2.b2Proxy_SetNext(*args)

    def IsValid(*args):
        """IsValid(self) -> bool"""
        return _Box2D2.b2Proxy_IsValid(*args)

    __swig_setmethods__["lowerBounds"] = _Box2D2.b2Proxy_lowerBounds_set
    __swig_getmethods__["lowerBounds"] = _Box2D2.b2Proxy_lowerBounds_get
    if _newclass:lowerBounds = _swig_property(_Box2D2.b2Proxy_lowerBounds_get, _Box2D2.b2Proxy_lowerBounds_set)
    __swig_setmethods__["upperBounds"] = _Box2D2.b2Proxy_upperBounds_set
    __swig_getmethods__["upperBounds"] = _Box2D2.b2Proxy_upperBounds_get
    if _newclass:upperBounds = _swig_property(_Box2D2.b2Proxy_upperBounds_get, _Box2D2.b2Proxy_upperBounds_set)
    __swig_setmethods__["overlapCount"] = _Box2D2.b2Proxy_overlapCount_set
    __swig_getmethods__["overlapCount"] = _Box2D2.b2Proxy_overlapCount_get
    if _newclass:overlapCount = _swig_property(_Box2D2.b2Proxy_overlapCount_get, _Box2D2.b2Proxy_overlapCount_set)
    __swig_setmethods__["timeStamp"] = _Box2D2.b2Proxy_timeStamp_set
    __swig_getmethods__["timeStamp"] = _Box2D2.b2Proxy_timeStamp_get
    if _newclass:timeStamp = _swig_property(_Box2D2.b2Proxy_timeStamp_get, _Box2D2.b2Proxy_timeStamp_set)
    __swig_setmethods__["userData"] = _Box2D2.b2Proxy_userData_set
    __swig_getmethods__["userData"] = _Box2D2.b2Proxy_userData_get
    if _newclass:userData = _swig_property(_Box2D2.b2Proxy_userData_get, _Box2D2.b2Proxy_userData_set)
    def __init__(self, *args): 
        """__init__(self) -> b2Proxy"""
        this = _Box2D2.new_b2Proxy(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Proxy
    __del__ = lambda self : None;
b2Proxy_swigregister = _Box2D2.b2Proxy_swigregister
b2Proxy_swigregister(b2Proxy)

class b2BroadPhase(_object):
    """Proxy of C++ b2BroadPhase class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2BroadPhase, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2BroadPhase, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self, b2AABB worldAABB, b2PairCallback callback) -> b2BroadPhase"""
        this = _Box2D2.new_b2BroadPhase(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2BroadPhase
    __del__ = lambda self : None;
    def InRange(*args):
        """InRange(self, b2AABB aabb) -> bool"""
        return _Box2D2.b2BroadPhase_InRange(*args)

    def CreateProxy(*args):
        """CreateProxy(self, b2AABB aabb, void userData) -> uint16"""
        return _Box2D2.b2BroadPhase_CreateProxy(*args)

    def DestroyProxy(*args):
        """DestroyProxy(self, int32 proxyId)"""
        return _Box2D2.b2BroadPhase_DestroyProxy(*args)

    def MoveProxy(*args):
        """MoveProxy(self, int32 proxyId, b2AABB aabb)"""
        return _Box2D2.b2BroadPhase_MoveProxy(*args)

    def Commit(*args):
        """Commit(self)"""
        return _Box2D2.b2BroadPhase_Commit(*args)

    def GetProxy(*args):
        """GetProxy(self, int32 proxyId) -> b2Proxy"""
        return _Box2D2.b2BroadPhase_GetProxy(*args)

    def Query(*args):
        """Query(self, b2AABB aabb, void userData, int32 maxCount) -> int32"""
        return _Box2D2.b2BroadPhase_Query(*args)

    def Validate(*args):
        """Validate(self)"""
        return _Box2D2.b2BroadPhase_Validate(*args)

    def ValidatePairs(*args):
        """ValidatePairs(self)"""
        return _Box2D2.b2BroadPhase_ValidatePairs(*args)

    __swig_setmethods__["m_pairManager"] = _Box2D2.b2BroadPhase_m_pairManager_set
    __swig_getmethods__["m_pairManager"] = _Box2D2.b2BroadPhase_m_pairManager_get
    if _newclass:m_pairManager = _swig_property(_Box2D2.b2BroadPhase_m_pairManager_get, _Box2D2.b2BroadPhase_m_pairManager_set)
    __swig_setmethods__["m_proxyPool"] = _Box2D2.b2BroadPhase_m_proxyPool_set
    __swig_getmethods__["m_proxyPool"] = _Box2D2.b2BroadPhase_m_proxyPool_get
    if _newclass:m_proxyPool = _swig_property(_Box2D2.b2BroadPhase_m_proxyPool_get, _Box2D2.b2BroadPhase_m_proxyPool_set)
    __swig_setmethods__["m_freeProxy"] = _Box2D2.b2BroadPhase_m_freeProxy_set
    __swig_getmethods__["m_freeProxy"] = _Box2D2.b2BroadPhase_m_freeProxy_get
    if _newclass:m_freeProxy = _swig_property(_Box2D2.b2BroadPhase_m_freeProxy_get, _Box2D2.b2BroadPhase_m_freeProxy_set)
    __swig_setmethods__["m_bounds"] = _Box2D2.b2BroadPhase_m_bounds_set
    __swig_getmethods__["m_bounds"] = _Box2D2.b2BroadPhase_m_bounds_get
    if _newclass:m_bounds = _swig_property(_Box2D2.b2BroadPhase_m_bounds_get, _Box2D2.b2BroadPhase_m_bounds_set)
    __swig_setmethods__["m_queryResults"] = _Box2D2.b2BroadPhase_m_queryResults_set
    __swig_getmethods__["m_queryResults"] = _Box2D2.b2BroadPhase_m_queryResults_get
    if _newclass:m_queryResults = _swig_property(_Box2D2.b2BroadPhase_m_queryResults_get, _Box2D2.b2BroadPhase_m_queryResults_set)
    __swig_setmethods__["m_queryResultCount"] = _Box2D2.b2BroadPhase_m_queryResultCount_set
    __swig_getmethods__["m_queryResultCount"] = _Box2D2.b2BroadPhase_m_queryResultCount_get
    if _newclass:m_queryResultCount = _swig_property(_Box2D2.b2BroadPhase_m_queryResultCount_get, _Box2D2.b2BroadPhase_m_queryResultCount_set)
    __swig_setmethods__["m_worldAABB"] = _Box2D2.b2BroadPhase_m_worldAABB_set
    __swig_getmethods__["m_worldAABB"] = _Box2D2.b2BroadPhase_m_worldAABB_get
    if _newclass:m_worldAABB = _swig_property(_Box2D2.b2BroadPhase_m_worldAABB_get, _Box2D2.b2BroadPhase_m_worldAABB_set)
    __swig_setmethods__["m_quantizationFactor"] = _Box2D2.b2BroadPhase_m_quantizationFactor_set
    __swig_getmethods__["m_quantizationFactor"] = _Box2D2.b2BroadPhase_m_quantizationFactor_get
    if _newclass:m_quantizationFactor = _swig_property(_Box2D2.b2BroadPhase_m_quantizationFactor_get, _Box2D2.b2BroadPhase_m_quantizationFactor_set)
    __swig_setmethods__["m_proxyCount"] = _Box2D2.b2BroadPhase_m_proxyCount_set
    __swig_getmethods__["m_proxyCount"] = _Box2D2.b2BroadPhase_m_proxyCount_get
    if _newclass:m_proxyCount = _swig_property(_Box2D2.b2BroadPhase_m_proxyCount_get, _Box2D2.b2BroadPhase_m_proxyCount_set)
    __swig_setmethods__["m_timeStamp"] = _Box2D2.b2BroadPhase_m_timeStamp_set
    __swig_getmethods__["m_timeStamp"] = _Box2D2.b2BroadPhase_m_timeStamp_get
    if _newclass:m_timeStamp = _swig_property(_Box2D2.b2BroadPhase_m_timeStamp_get, _Box2D2.b2BroadPhase_m_timeStamp_set)
    __swig_setmethods__["s_validate"] = _Box2D2.b2BroadPhase_s_validate_set
    __swig_getmethods__["s_validate"] = _Box2D2.b2BroadPhase_s_validate_get
    if _newclass:s_validate = _swig_property(_Box2D2.b2BroadPhase_s_validate_get, _Box2D2.b2BroadPhase_s_validate_set)
b2BroadPhase_swigregister = _Box2D2.b2BroadPhase_swigregister
b2BroadPhase_swigregister(b2BroadPhase)

class b2DestructionListener(_object):
    """Proxy of C++ b2DestructionListener class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2DestructionListener, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2DestructionListener, name)
    __repr__ = _swig_repr
    __swig_destroy__ = _Box2D2.delete_b2DestructionListener
    __del__ = lambda self : None;
    def SayGoodbye(*args):
        """
        SayGoodbye(self, b2Joint joint)
        SayGoodbye(self, b2Shape shape)
        """
        return _Box2D2.b2DestructionListener_SayGoodbye(*args)

    def __init__(self, *args): 
        """__init__(self) -> b2DestructionListener"""
        if self.__class__ == b2DestructionListener:
            args = (None,) + args
        else:
            args = (self,) + args
        this = _Box2D2.new_b2DestructionListener(*args)
        try: self.this.append(this)
        except: self.this = this
    def __disown__(self):
        self.this.disown()
        _Box2D2.disown_b2DestructionListener(self)
        return weakref_proxy(self)
b2DestructionListener_swigregister = _Box2D2.b2DestructionListener_swigregister
b2DestructionListener_swigregister(b2DestructionListener)

class b2BoundaryListener(_object):
    """Proxy of C++ b2BoundaryListener class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2BoundaryListener, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2BoundaryListener, name)
    __repr__ = _swig_repr
    __swig_destroy__ = _Box2D2.delete_b2BoundaryListener
    __del__ = lambda self : None;
    def Violation(*args):
        """Violation(self, b2Body body)"""
        return _Box2D2.b2BoundaryListener_Violation(*args)

    def __init__(self, *args): 
        """__init__(self) -> b2BoundaryListener"""
        if self.__class__ == b2BoundaryListener:
            args = (None,) + args
        else:
            args = (self,) + args
        this = _Box2D2.new_b2BoundaryListener(*args)
        try: self.this.append(this)
        except: self.this = this
    def __disown__(self):
        self.this.disown()
        _Box2D2.disown_b2BoundaryListener(self)
        return weakref_proxy(self)
b2BoundaryListener_swigregister = _Box2D2.b2BoundaryListener_swigregister
b2BoundaryListener_swigregister(b2BoundaryListener)

class b2ContactFilter(_object):
    """Proxy of C++ b2ContactFilter class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactFilter, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactFilter, name)
    __repr__ = _swig_repr
    __swig_destroy__ = _Box2D2.delete_b2ContactFilter
    __del__ = lambda self : None;
    def ShouldCollide(*args):
        """ShouldCollide(self, b2Shape shape1, b2Shape shape2) -> bool"""
        return _Box2D2.b2ContactFilter_ShouldCollide(*args)

    def __init__(self, *args): 
        """__init__(self) -> b2ContactFilter"""
        this = _Box2D2.new_b2ContactFilter(*args)
        try: self.this.append(this)
        except: self.this = this
b2ContactFilter_swigregister = _Box2D2.b2ContactFilter_swigregister
b2ContactFilter_swigregister(b2ContactFilter)

class b2ContactListener(_object):
    """Proxy of C++ b2ContactListener class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactListener, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactListener, name)
    __repr__ = _swig_repr
    __swig_destroy__ = _Box2D2.delete_b2ContactListener
    __del__ = lambda self : None;
    def Add(*args):
        """Add(self, b2ContactPoint point)"""
        return _Box2D2.b2ContactListener_Add(*args)

    def Persist(*args):
        """Persist(self, b2ContactPoint point)"""
        return _Box2D2.b2ContactListener_Persist(*args)

    def Remove(*args):
        """Remove(self, b2ContactPoint point)"""
        return _Box2D2.b2ContactListener_Remove(*args)

    def __init__(self, *args): 
        """__init__(self) -> b2ContactListener"""
        if self.__class__ == b2ContactListener:
            args = (None,) + args
        else:
            args = (self,) + args
        this = _Box2D2.new_b2ContactListener(*args)
        try: self.this.append(this)
        except: self.this = this
    def __disown__(self):
        self.this.disown()
        _Box2D2.disown_b2ContactListener(self)
        return weakref_proxy(self)
b2ContactListener_swigregister = _Box2D2.b2ContactListener_swigregister
b2ContactListener_swigregister(b2ContactListener)

class b2Color(_object):
    """Proxy of C++ b2Color class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Color, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Color, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> b2Color
        __init__(self, float32 r, float32 g, float32 b) -> b2Color
        """
        this = _Box2D2.new_b2Color(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_setmethods__["r"] = _Box2D2.b2Color_r_set
    __swig_getmethods__["r"] = _Box2D2.b2Color_r_get
    if _newclass:r = _swig_property(_Box2D2.b2Color_r_get, _Box2D2.b2Color_r_set)
    __swig_setmethods__["g"] = _Box2D2.b2Color_g_set
    __swig_getmethods__["g"] = _Box2D2.b2Color_g_get
    if _newclass:g = _swig_property(_Box2D2.b2Color_g_get, _Box2D2.b2Color_g_set)
    __swig_setmethods__["b"] = _Box2D2.b2Color_b_set
    __swig_getmethods__["b"] = _Box2D2.b2Color_b_get
    if _newclass:b = _swig_property(_Box2D2.b2Color_b_get, _Box2D2.b2Color_b_set)
    __swig_destroy__ = _Box2D2.delete_b2Color
    __del__ = lambda self : None;
b2Color_swigregister = _Box2D2.b2Color_swigregister
b2Color_swigregister(b2Color)

class b2DebugDraw(_object):
    """Proxy of C++ b2DebugDraw class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2DebugDraw, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2DebugDraw, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2DebugDraw"""
        if self.__class__ == b2DebugDraw:
            args = (None,) + args
        else:
            args = (self,) + args
        this = _Box2D2.new_b2DebugDraw(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2DebugDraw
    __del__ = lambda self : None;
    e_shapeBit = _Box2D2.b2DebugDraw_e_shapeBit
    e_jointBit = _Box2D2.b2DebugDraw_e_jointBit
    e_coreShapeBit = _Box2D2.b2DebugDraw_e_coreShapeBit
    e_aabbBit = _Box2D2.b2DebugDraw_e_aabbBit
    e_obbBit = _Box2D2.b2DebugDraw_e_obbBit
    e_pairBit = _Box2D2.b2DebugDraw_e_pairBit
    e_centerOfMassBit = _Box2D2.b2DebugDraw_e_centerOfMassBit
    def SetFlags(*args):
        """SetFlags(self, uint32 flags)"""
        return _Box2D2.b2DebugDraw_SetFlags(*args)

    def GetFlags(*args):
        """GetFlags(self) -> uint32"""
        return _Box2D2.b2DebugDraw_GetFlags(*args)

    def AppendFlags(*args):
        """AppendFlags(self, uint32 flags)"""
        return _Box2D2.b2DebugDraw_AppendFlags(*args)

    def ClearFlags(*args):
        """ClearFlags(self, uint32 flags)"""
        return _Box2D2.b2DebugDraw_ClearFlags(*args)

    def DrawPolygon(*args):
        """DrawPolygon(self, b2Vec2 vertices, int32 vertexCount, b2Color color)"""
        return _Box2D2.b2DebugDraw_DrawPolygon(*args)

    def DrawSolidPolygon(*args):
        """DrawSolidPolygon(self, b2Vec2 vertices, int32 vertexCount, b2Color color)"""
        return _Box2D2.b2DebugDraw_DrawSolidPolygon(*args)

    def DrawCircle(*args):
        """DrawCircle(self, b2Vec2 center, float32 radius, b2Color color)"""
        return _Box2D2.b2DebugDraw_DrawCircle(*args)

    def DrawSolidCircle(*args):
        """DrawSolidCircle(self, b2Vec2 center, float32 radius, b2Vec2 axis, b2Color color)"""
        return _Box2D2.b2DebugDraw_DrawSolidCircle(*args)

    def DrawSegment(*args):
        """DrawSegment(self, b2Vec2 p1, b2Vec2 p2, b2Color color)"""
        return _Box2D2.b2DebugDraw_DrawSegment(*args)

    def DrawXForm(*args):
        """DrawXForm(self, b2XForm xf)"""
        return _Box2D2.b2DebugDraw_DrawXForm(*args)

    def __disown__(self):
        self.this.disown()
        _Box2D2.disown_b2DebugDraw(self)
        return weakref_proxy(self)
b2DebugDraw_swigregister = _Box2D2.b2DebugDraw_swigregister
b2DebugDraw_swigregister(b2DebugDraw)

class b2BlockAllocator(_object):
    """Proxy of C++ b2BlockAllocator class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2BlockAllocator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2BlockAllocator, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2BlockAllocator"""
        this = _Box2D2.new_b2BlockAllocator(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2BlockAllocator
    __del__ = lambda self : None;
    def Allocate(*args):
        """Allocate(self, int32 size) -> void"""
        return _Box2D2.b2BlockAllocator_Allocate(*args)

    def Free(*args):
        """Free(self, void p, int32 size)"""
        return _Box2D2.b2BlockAllocator_Free(*args)

    def Clear(*args):
        """Clear(self)"""
        return _Box2D2.b2BlockAllocator_Clear(*args)

b2BlockAllocator_swigregister = _Box2D2.b2BlockAllocator_swigregister
b2BlockAllocator_swigregister(b2BlockAllocator)
b2_chunkSize = cvar.b2_chunkSize
b2_maxBlockSize = cvar.b2_maxBlockSize
b2_blockSizes = cvar.b2_blockSizes
b2_chunkArrayIncrement = cvar.b2_chunkArrayIncrement

class b2StackEntry(_object):
    """Proxy of C++ b2StackEntry class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2StackEntry, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2StackEntry, name)
    __repr__ = _swig_repr
    __swig_setmethods__["data"] = _Box2D2.b2StackEntry_data_set
    __swig_getmethods__["data"] = _Box2D2.b2StackEntry_data_get
    if _newclass:data = _swig_property(_Box2D2.b2StackEntry_data_get, _Box2D2.b2StackEntry_data_set)
    __swig_setmethods__["size"] = _Box2D2.b2StackEntry_size_set
    __swig_getmethods__["size"] = _Box2D2.b2StackEntry_size_get
    if _newclass:size = _swig_property(_Box2D2.b2StackEntry_size_get, _Box2D2.b2StackEntry_size_set)
    __swig_setmethods__["usedMalloc"] = _Box2D2.b2StackEntry_usedMalloc_set
    __swig_getmethods__["usedMalloc"] = _Box2D2.b2StackEntry_usedMalloc_get
    if _newclass:usedMalloc = _swig_property(_Box2D2.b2StackEntry_usedMalloc_get, _Box2D2.b2StackEntry_usedMalloc_set)
    def __init__(self, *args): 
        """__init__(self) -> b2StackEntry"""
        this = _Box2D2.new_b2StackEntry(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2StackEntry
    __del__ = lambda self : None;
b2StackEntry_swigregister = _Box2D2.b2StackEntry_swigregister
b2StackEntry_swigregister(b2StackEntry)
b2_stackSize = cvar.b2_stackSize
b2_maxStackEntries = cvar.b2_maxStackEntries

class b2StackAllocator(_object):
    """Proxy of C++ b2StackAllocator class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2StackAllocator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2StackAllocator, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2StackAllocator"""
        this = _Box2D2.new_b2StackAllocator(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2StackAllocator
    __del__ = lambda self : None;
    def Allocate(*args):
        """Allocate(self, int32 size) -> void"""
        return _Box2D2.b2StackAllocator_Allocate(*args)

    def Free(*args):
        """Free(self, void p)"""
        return _Box2D2.b2StackAllocator_Free(*args)

    def GetMaxAllocation(*args):
        """GetMaxAllocation(self) -> int32"""
        return _Box2D2.b2StackAllocator_GetMaxAllocation(*args)

b2StackAllocator_swigregister = _Box2D2.b2StackAllocator_swigregister
b2StackAllocator_swigregister(b2StackAllocator)

class b2ContactRegister(_object):
    """Proxy of C++ b2ContactRegister class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactRegister, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactRegister, name)
    __repr__ = _swig_repr
    __swig_setmethods__["createFcn"] = _Box2D2.b2ContactRegister_createFcn_set
    __swig_getmethods__["createFcn"] = _Box2D2.b2ContactRegister_createFcn_get
    if _newclass:createFcn = _swig_property(_Box2D2.b2ContactRegister_createFcn_get, _Box2D2.b2ContactRegister_createFcn_set)
    __swig_setmethods__["destroyFcn"] = _Box2D2.b2ContactRegister_destroyFcn_set
    __swig_getmethods__["destroyFcn"] = _Box2D2.b2ContactRegister_destroyFcn_get
    if _newclass:destroyFcn = _swig_property(_Box2D2.b2ContactRegister_destroyFcn_get, _Box2D2.b2ContactRegister_destroyFcn_set)
    __swig_setmethods__["primary"] = _Box2D2.b2ContactRegister_primary_set
    __swig_getmethods__["primary"] = _Box2D2.b2ContactRegister_primary_get
    if _newclass:primary = _swig_property(_Box2D2.b2ContactRegister_primary_get, _Box2D2.b2ContactRegister_primary_set)
    def __init__(self, *args): 
        """__init__(self) -> b2ContactRegister"""
        this = _Box2D2.new_b2ContactRegister(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ContactRegister
    __del__ = lambda self : None;
b2ContactRegister_swigregister = _Box2D2.b2ContactRegister_swigregister
b2ContactRegister_swigregister(b2ContactRegister)

class b2ContactEdge(_object):
    """Proxy of C++ b2ContactEdge class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactEdge, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactEdge, name)
    __repr__ = _swig_repr
    __swig_setmethods__["other"] = _Box2D2.b2ContactEdge_other_set
    __swig_getmethods__["other"] = _Box2D2.b2ContactEdge_other_get
    if _newclass:other = _swig_property(_Box2D2.b2ContactEdge_other_get, _Box2D2.b2ContactEdge_other_set)
    __swig_setmethods__["contact"] = _Box2D2.b2ContactEdge_contact_set
    __swig_getmethods__["contact"] = _Box2D2.b2ContactEdge_contact_get
    if _newclass:contact = _swig_property(_Box2D2.b2ContactEdge_contact_get, _Box2D2.b2ContactEdge_contact_set)
    __swig_setmethods__["prev"] = _Box2D2.b2ContactEdge_prev_set
    __swig_getmethods__["prev"] = _Box2D2.b2ContactEdge_prev_get
    if _newclass:prev = _swig_property(_Box2D2.b2ContactEdge_prev_get, _Box2D2.b2ContactEdge_prev_set)
    __swig_setmethods__["next"] = _Box2D2.b2ContactEdge_next_set
    __swig_getmethods__["next"] = _Box2D2.b2ContactEdge_next_get
    if _newclass:next = _swig_property(_Box2D2.b2ContactEdge_next_get, _Box2D2.b2ContactEdge_next_set)
    def __init__(self, *args): 
        """__init__(self) -> b2ContactEdge"""
        this = _Box2D2.new_b2ContactEdge(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ContactEdge
    __del__ = lambda self : None;
b2ContactEdge_swigregister = _Box2D2.b2ContactEdge_swigregister
b2ContactEdge_swigregister(b2ContactEdge)

class b2ContactPoint(_object):
    """Proxy of C++ b2ContactPoint class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactPoint, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactPoint, name)
    __repr__ = _swig_repr
    __swig_setmethods__["shape1"] = _Box2D2.b2ContactPoint_shape1_set
    __swig_getmethods__["shape1"] = _Box2D2.b2ContactPoint_shape1_get
    if _newclass:shape1 = _swig_property(_Box2D2.b2ContactPoint_shape1_get, _Box2D2.b2ContactPoint_shape1_set)
    __swig_setmethods__["shape2"] = _Box2D2.b2ContactPoint_shape2_set
    __swig_getmethods__["shape2"] = _Box2D2.b2ContactPoint_shape2_get
    if _newclass:shape2 = _swig_property(_Box2D2.b2ContactPoint_shape2_get, _Box2D2.b2ContactPoint_shape2_set)
    __swig_setmethods__["position"] = _Box2D2.b2ContactPoint_position_set
    __swig_getmethods__["position"] = _Box2D2.b2ContactPoint_position_get
    if _newclass:position = _swig_property(_Box2D2.b2ContactPoint_position_get, _Box2D2.b2ContactPoint_position_set)
    __swig_setmethods__["normal"] = _Box2D2.b2ContactPoint_normal_set
    __swig_getmethods__["normal"] = _Box2D2.b2ContactPoint_normal_get
    if _newclass:normal = _swig_property(_Box2D2.b2ContactPoint_normal_get, _Box2D2.b2ContactPoint_normal_set)
    __swig_setmethods__["separation"] = _Box2D2.b2ContactPoint_separation_set
    __swig_getmethods__["separation"] = _Box2D2.b2ContactPoint_separation_get
    if _newclass:separation = _swig_property(_Box2D2.b2ContactPoint_separation_get, _Box2D2.b2ContactPoint_separation_set)
    __swig_setmethods__["normalForce"] = _Box2D2.b2ContactPoint_normalForce_set
    __swig_getmethods__["normalForce"] = _Box2D2.b2ContactPoint_normalForce_get
    if _newclass:normalForce = _swig_property(_Box2D2.b2ContactPoint_normalForce_get, _Box2D2.b2ContactPoint_normalForce_set)
    __swig_setmethods__["tangentForce"] = _Box2D2.b2ContactPoint_tangentForce_set
    __swig_getmethods__["tangentForce"] = _Box2D2.b2ContactPoint_tangentForce_get
    if _newclass:tangentForce = _swig_property(_Box2D2.b2ContactPoint_tangentForce_get, _Box2D2.b2ContactPoint_tangentForce_set)
    __swig_setmethods__["id"] = _Box2D2.b2ContactPoint_id_set
    __swig_getmethods__["id"] = _Box2D2.b2ContactPoint_id_get
    if _newclass:id = _swig_property(_Box2D2.b2ContactPoint_id_get, _Box2D2.b2ContactPoint_id_set)
    def __repr__(self):
        return "b2ContactPoint(\n\tShape1: %s\n\tShape2:%s\n\tPosition: %s\n\tNormal: %s)" % (self.shape1, self.shape2, self.position, self.normal)

    def __init__(self, *args): 
        """__init__(self) -> b2ContactPoint"""
        this = _Box2D2.new_b2ContactPoint(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2ContactPoint
    __del__ = lambda self : None;
b2ContactPoint_swigregister = _Box2D2.b2ContactPoint_swigregister
b2ContactPoint_swigregister(b2ContactPoint)

class b2Contact(_object):
    """Proxy of C++ b2Contact class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Contact, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Contact, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    def GetManifolds(*args):
        """GetManifolds(self) -> b2Manifold"""
        return _Box2D2.b2Contact_GetManifolds(*args)

    def GetManifoldCount(*args):
        """GetManifoldCount(self) -> int32"""
        return _Box2D2.b2Contact_GetManifoldCount(*args)

    def IsSolid(*args):
        """IsSolid(self) -> bool"""
        return _Box2D2.b2Contact_IsSolid(*args)

    def GetNext(*args):
        """GetNext(self) -> b2Contact"""
        return _Box2D2.b2Contact_GetNext(*args)

    def GetShape1(*args):
        """GetShape1(self) -> b2Shape"""
        return _Box2D2.b2Contact_GetShape1(*args)

    def GetShape2(*args):
        """GetShape2(self) -> b2Shape"""
        return _Box2D2.b2Contact_GetShape2(*args)

    e_nonSolidFlag = _Box2D2.b2Contact_e_nonSolidFlag
    e_slowFlag = _Box2D2.b2Contact_e_slowFlag
    e_islandFlag = _Box2D2.b2Contact_e_islandFlag
    e_toiFlag = _Box2D2.b2Contact_e_toiFlag
    def AddType(*args):
        """
        AddType(b2ContactCreateFcn createFcn, b2ContactDestroyFcn destroyFcn, 
            b2ShapeType type1, b2ShapeType type2)
        """
        return _Box2D2.b2Contact_AddType(*args)

    if _newclass:AddType = staticmethod(AddType)
    __swig_getmethods__["AddType"] = lambda x: AddType
    def InitializeRegisters(*args):
        """InitializeRegisters()"""
        return _Box2D2.b2Contact_InitializeRegisters(*args)

    if _newclass:InitializeRegisters = staticmethod(InitializeRegisters)
    __swig_getmethods__["InitializeRegisters"] = lambda x: InitializeRegisters
    def Create(*args):
        """Create(b2Shape shape1, b2Shape shape2, b2BlockAllocator allocator) -> b2Contact"""
        return _Box2D2.b2Contact_Create(*args)

    if _newclass:Create = staticmethod(Create)
    __swig_getmethods__["Create"] = lambda x: Create
    def Destroy(*args):
        """Destroy(b2Contact contact, b2BlockAllocator allocator)"""
        return _Box2D2.b2Contact_Destroy(*args)

    if _newclass:Destroy = staticmethod(Destroy)
    __swig_getmethods__["Destroy"] = lambda x: Destroy
    __swig_destroy__ = _Box2D2.delete_b2Contact
    __del__ = lambda self : None;
    def Update(*args):
        """Update(self, b2ContactListener listener)"""
        return _Box2D2.b2Contact_Update(*args)

    def Evaluate(*args):
        """Evaluate(self, b2ContactListener listener)"""
        return _Box2D2.b2Contact_Evaluate(*args)

    __swig_setmethods__["s_registers"] = _Box2D2.b2Contact_s_registers_set
    __swig_getmethods__["s_registers"] = _Box2D2.b2Contact_s_registers_get
    if _newclass:s_registers = _swig_property(_Box2D2.b2Contact_s_registers_get, _Box2D2.b2Contact_s_registers_set)
    __swig_setmethods__["s_initialized"] = _Box2D2.b2Contact_s_initialized_set
    __swig_getmethods__["s_initialized"] = _Box2D2.b2Contact_s_initialized_get
    if _newclass:s_initialized = _swig_property(_Box2D2.b2Contact_s_initialized_get, _Box2D2.b2Contact_s_initialized_set)
    __swig_setmethods__["m_flags"] = _Box2D2.b2Contact_m_flags_set
    __swig_getmethods__["m_flags"] = _Box2D2.b2Contact_m_flags_get
    if _newclass:m_flags = _swig_property(_Box2D2.b2Contact_m_flags_get, _Box2D2.b2Contact_m_flags_set)
    __swig_setmethods__["m_manifoldCount"] = _Box2D2.b2Contact_m_manifoldCount_set
    __swig_getmethods__["m_manifoldCount"] = _Box2D2.b2Contact_m_manifoldCount_get
    if _newclass:m_manifoldCount = _swig_property(_Box2D2.b2Contact_m_manifoldCount_get, _Box2D2.b2Contact_m_manifoldCount_set)
    __swig_setmethods__["m_prev"] = _Box2D2.b2Contact_m_prev_set
    __swig_getmethods__["m_prev"] = _Box2D2.b2Contact_m_prev_get
    if _newclass:m_prev = _swig_property(_Box2D2.b2Contact_m_prev_get, _Box2D2.b2Contact_m_prev_set)
    __swig_setmethods__["m_next"] = _Box2D2.b2Contact_m_next_set
    __swig_getmethods__["m_next"] = _Box2D2.b2Contact_m_next_get
    if _newclass:m_next = _swig_property(_Box2D2.b2Contact_m_next_get, _Box2D2.b2Contact_m_next_set)
    __swig_setmethods__["m_node1"] = _Box2D2.b2Contact_m_node1_set
    __swig_getmethods__["m_node1"] = _Box2D2.b2Contact_m_node1_get
    if _newclass:m_node1 = _swig_property(_Box2D2.b2Contact_m_node1_get, _Box2D2.b2Contact_m_node1_set)
    __swig_setmethods__["m_node2"] = _Box2D2.b2Contact_m_node2_set
    __swig_getmethods__["m_node2"] = _Box2D2.b2Contact_m_node2_get
    if _newclass:m_node2 = _swig_property(_Box2D2.b2Contact_m_node2_get, _Box2D2.b2Contact_m_node2_set)
    __swig_setmethods__["m_shape1"] = _Box2D2.b2Contact_m_shape1_set
    __swig_getmethods__["m_shape1"] = _Box2D2.b2Contact_m_shape1_get
    if _newclass:m_shape1 = _swig_property(_Box2D2.b2Contact_m_shape1_get, _Box2D2.b2Contact_m_shape1_set)
    __swig_setmethods__["m_shape2"] = _Box2D2.b2Contact_m_shape2_set
    __swig_getmethods__["m_shape2"] = _Box2D2.b2Contact_m_shape2_get
    if _newclass:m_shape2 = _swig_property(_Box2D2.b2Contact_m_shape2_get, _Box2D2.b2Contact_m_shape2_set)
    __swig_setmethods__["m_friction"] = _Box2D2.b2Contact_m_friction_set
    __swig_getmethods__["m_friction"] = _Box2D2.b2Contact_m_friction_get
    if _newclass:m_friction = _swig_property(_Box2D2.b2Contact_m_friction_get, _Box2D2.b2Contact_m_friction_set)
    __swig_setmethods__["m_restitution"] = _Box2D2.b2Contact_m_restitution_set
    __swig_getmethods__["m_restitution"] = _Box2D2.b2Contact_m_restitution_get
    if _newclass:m_restitution = _swig_property(_Box2D2.b2Contact_m_restitution_get, _Box2D2.b2Contact_m_restitution_set)
    __swig_setmethods__["m_toi"] = _Box2D2.b2Contact_m_toi_set
    __swig_getmethods__["m_toi"] = _Box2D2.b2Contact_m_toi_get
    if _newclass:m_toi = _swig_property(_Box2D2.b2Contact_m_toi_get, _Box2D2.b2Contact_m_toi_set)
b2Contact_swigregister = _Box2D2.b2Contact_swigregister
b2Contact_swigregister(b2Contact)

def b2Contact_AddType(*args):
  """
    b2Contact_AddType(b2ContactCreateFcn createFcn, b2ContactDestroyFcn destroyFcn, 
        b2ShapeType type1, b2ShapeType type2)
    """
  return _Box2D2.b2Contact_AddType(*args)

def b2Contact_InitializeRegisters(*args):
  """b2Contact_InitializeRegisters()"""
  return _Box2D2.b2Contact_InitializeRegisters(*args)

def b2Contact_Create(*args):
  """b2Contact_Create(b2Shape shape1, b2Shape shape2, b2BlockAllocator allocator) -> b2Contact"""
  return _Box2D2.b2Contact_Create(*args)

def b2Contact_Destroy(*args):
  """b2Contact_Destroy(b2Contact contact, b2BlockAllocator allocator)"""
  return _Box2D2.b2Contact_Destroy(*args)

class b2NullContact(b2Contact):
    """Proxy of C++ b2NullContact class"""
    __swig_setmethods__ = {}
    for _s in [b2Contact]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2NullContact, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Contact]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2NullContact, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2NullContact"""
        this = _Box2D2.new_b2NullContact(*args)
        try: self.this.append(this)
        except: self.this = this
    def Evaluate(*args):
        """Evaluate(self, b2ContactListener ?)"""
        return _Box2D2.b2NullContact_Evaluate(*args)

    def GetManifolds(*args):
        """GetManifolds(self) -> b2Manifold"""
        return _Box2D2.b2NullContact_GetManifolds(*args)

    __swig_destroy__ = _Box2D2.delete_b2NullContact
    __del__ = lambda self : None;
b2NullContact_swigregister = _Box2D2.b2NullContact_swigregister
b2NullContact_swigregister(b2NullContact)

class b2ContactManager(b2PairCallback):
    """Proxy of C++ b2ContactManager class"""
    __swig_setmethods__ = {}
    for _s in [b2PairCallback]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2ContactManager, name, value)
    __swig_getmethods__ = {}
    for _s in [b2PairCallback]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2ContactManager, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2ContactManager"""
        this = _Box2D2.new_b2ContactManager(*args)
        try: self.this.append(this)
        except: self.this = this
    def PairAdded(*args):
        """PairAdded(self, void proxyUserData1, void proxyUserData2) -> void"""
        return _Box2D2.b2ContactManager_PairAdded(*args)

    def PairRemoved(*args):
        """PairRemoved(self, void proxyUserData1, void proxyUserData2, void pairUserData)"""
        return _Box2D2.b2ContactManager_PairRemoved(*args)

    def Destroy(*args):
        """Destroy(self, b2Contact c)"""
        return _Box2D2.b2ContactManager_Destroy(*args)

    def Collide(*args):
        """Collide(self)"""
        return _Box2D2.b2ContactManager_Collide(*args)

    __swig_setmethods__["m_world"] = _Box2D2.b2ContactManager_m_world_set
    __swig_getmethods__["m_world"] = _Box2D2.b2ContactManager_m_world_get
    if _newclass:m_world = _swig_property(_Box2D2.b2ContactManager_m_world_get, _Box2D2.b2ContactManager_m_world_set)
    __swig_setmethods__["m_nullContact"] = _Box2D2.b2ContactManager_m_nullContact_set
    __swig_getmethods__["m_nullContact"] = _Box2D2.b2ContactManager_m_nullContact_get
    if _newclass:m_nullContact = _swig_property(_Box2D2.b2ContactManager_m_nullContact_get, _Box2D2.b2ContactManager_m_nullContact_set)
    __swig_setmethods__["m_destroyImmediate"] = _Box2D2.b2ContactManager_m_destroyImmediate_set
    __swig_getmethods__["m_destroyImmediate"] = _Box2D2.b2ContactManager_m_destroyImmediate_get
    if _newclass:m_destroyImmediate = _swig_property(_Box2D2.b2ContactManager_m_destroyImmediate_get, _Box2D2.b2ContactManager_m_destroyImmediate_set)
    __swig_destroy__ = _Box2D2.delete_b2ContactManager
    __del__ = lambda self : None;
b2ContactManager_swigregister = _Box2D2.b2ContactManager_swigregister
b2ContactManager_swigregister(b2ContactManager)

class b2TimeStep(_object):
    """Proxy of C++ b2TimeStep class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2TimeStep, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2TimeStep, name)
    __repr__ = _swig_repr
    __swig_setmethods__["dt"] = _Box2D2.b2TimeStep_dt_set
    __swig_getmethods__["dt"] = _Box2D2.b2TimeStep_dt_get
    if _newclass:dt = _swig_property(_Box2D2.b2TimeStep_dt_get, _Box2D2.b2TimeStep_dt_set)
    __swig_setmethods__["inv_dt"] = _Box2D2.b2TimeStep_inv_dt_set
    __swig_getmethods__["inv_dt"] = _Box2D2.b2TimeStep_inv_dt_get
    if _newclass:inv_dt = _swig_property(_Box2D2.b2TimeStep_inv_dt_get, _Box2D2.b2TimeStep_inv_dt_set)
    __swig_setmethods__["maxIterations"] = _Box2D2.b2TimeStep_maxIterations_set
    __swig_getmethods__["maxIterations"] = _Box2D2.b2TimeStep_maxIterations_get
    if _newclass:maxIterations = _swig_property(_Box2D2.b2TimeStep_maxIterations_get, _Box2D2.b2TimeStep_maxIterations_set)
    def __init__(self, *args): 
        """__init__(self) -> b2TimeStep"""
        this = _Box2D2.new_b2TimeStep(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2TimeStep
    __del__ = lambda self : None;
b2TimeStep_swigregister = _Box2D2.b2TimeStep_swigregister
b2TimeStep_swigregister(b2TimeStep)

class b2World(_object):
    """Proxy of C++ b2World class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2World, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2World, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self, b2AABB worldAABB, b2Vec2 gravity, bool doSleep) -> b2World"""
        this = _Box2D2.new_b2World(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2World
    __del__ = lambda self : None;
    def SetFilter(*args):
        """SetFilter(self, b2ContactFilter filter)"""
        return _Box2D2.b2World_SetFilter(*args)

    def SetListener(*args):
        """
        SetListener(self, b2DestructionListener listener)
        SetListener(self, b2BoundaryListener listener)
        SetListener(self, b2ContactListener listener)
        """
        return _Box2D2.b2World_SetListener(*args)

    def SetDebugDraw(*args):
        """SetDebugDraw(self, b2DebugDraw debugDraw)"""
        return _Box2D2.b2World_SetDebugDraw(*args)

    def CreateStaticBody(*args):
        """CreateStaticBody(self, b2BodyDef def) -> b2Body"""
        return _Box2D2.b2World_CreateStaticBody(*args)

    def CreateDynamicBody(*args):
        """CreateDynamicBody(self, b2BodyDef def) -> b2Body"""
        return _Box2D2.b2World_CreateDynamicBody(*args)

    def DestroyBody(*args):
        """DestroyBody(self, b2Body body)"""
        return _Box2D2.b2World_DestroyBody(*args)

    def CreateJoint(*args):
        """CreateJoint(self, b2JointDef def) -> b2Joint"""
        return _Box2D2.b2World_CreateJoint(*args)

    def DestroyJoint(*args):
        """DestroyJoint(self, b2Joint joint)"""
        return _Box2D2.b2World_DestroyJoint(*args)

    def GetGroundBody(*args):
        """GetGroundBody(self) -> b2Body"""
        return _Box2D2.b2World_GetGroundBody(*args)

    def Step(*args):
        """Step(self, float32 timeStep, int32 iterations)"""
        return _Box2D2.b2World_Step(*args)

    def Query(*args):
        """Query(self, b2AABB aabb, b2Shape shapes, int32 maxCount) -> int32"""
        return _Box2D2.b2World_Query(*args)

    def GetBodyList(*args):
        """GetBodyList(self) -> b2Body"""
        return _Box2D2.b2World_GetBodyList(*args)

    def GetJointList(*args):
        """GetJointList(self) -> b2Joint"""
        return _Box2D2.b2World_GetJointList(*args)

    def SetGravity(*args):
        """SetGravity(self, b2Vec2 g)"""
        return _Box2D2.b2World_SetGravity(*args)

    def Solve(*args):
        """Solve(self, b2TimeStep step)"""
        return _Box2D2.b2World_Solve(*args)

    def SolveTOI(*args):
        """SolveTOI(self, b2TimeStep step)"""
        return _Box2D2.b2World_SolveTOI(*args)

    def DrawJoint(*args):
        """DrawJoint(self, b2Joint joint)"""
        return _Box2D2.b2World_DrawJoint(*args)

    def DrawShape(*args):
        """DrawShape(self, b2Shape shape, b2XForm xf, b2Color color, bool core)"""
        return _Box2D2.b2World_DrawShape(*args)

    def DrawDebugData(*args):
        """DrawDebugData(self)"""
        return _Box2D2.b2World_DrawDebugData(*args)

    __swig_setmethods__["m_blockAllocator"] = _Box2D2.b2World_m_blockAllocator_set
    __swig_getmethods__["m_blockAllocator"] = _Box2D2.b2World_m_blockAllocator_get
    if _newclass:m_blockAllocator = _swig_property(_Box2D2.b2World_m_blockAllocator_get, _Box2D2.b2World_m_blockAllocator_set)
    __swig_setmethods__["m_stackAllocator"] = _Box2D2.b2World_m_stackAllocator_set
    __swig_getmethods__["m_stackAllocator"] = _Box2D2.b2World_m_stackAllocator_get
    if _newclass:m_stackAllocator = _swig_property(_Box2D2.b2World_m_stackAllocator_get, _Box2D2.b2World_m_stackAllocator_set)
    __swig_setmethods__["m_lock"] = _Box2D2.b2World_m_lock_set
    __swig_getmethods__["m_lock"] = _Box2D2.b2World_m_lock_get
    if _newclass:m_lock = _swig_property(_Box2D2.b2World_m_lock_get, _Box2D2.b2World_m_lock_set)
    __swig_setmethods__["m_broadPhase"] = _Box2D2.b2World_m_broadPhase_set
    __swig_getmethods__["m_broadPhase"] = _Box2D2.b2World_m_broadPhase_get
    if _newclass:m_broadPhase = _swig_property(_Box2D2.b2World_m_broadPhase_get, _Box2D2.b2World_m_broadPhase_set)
    __swig_setmethods__["m_contactManager"] = _Box2D2.b2World_m_contactManager_set
    __swig_getmethods__["m_contactManager"] = _Box2D2.b2World_m_contactManager_get
    if _newclass:m_contactManager = _swig_property(_Box2D2.b2World_m_contactManager_get, _Box2D2.b2World_m_contactManager_set)
    __swig_setmethods__["m_bodyList"] = _Box2D2.b2World_m_bodyList_set
    __swig_getmethods__["m_bodyList"] = _Box2D2.b2World_m_bodyList_get
    if _newclass:m_bodyList = _swig_property(_Box2D2.b2World_m_bodyList_get, _Box2D2.b2World_m_bodyList_set)
    __swig_setmethods__["m_jointList"] = _Box2D2.b2World_m_jointList_set
    __swig_getmethods__["m_jointList"] = _Box2D2.b2World_m_jointList_get
    if _newclass:m_jointList = _swig_property(_Box2D2.b2World_m_jointList_get, _Box2D2.b2World_m_jointList_set)
    __swig_setmethods__["m_contactList"] = _Box2D2.b2World_m_contactList_set
    __swig_getmethods__["m_contactList"] = _Box2D2.b2World_m_contactList_get
    if _newclass:m_contactList = _swig_property(_Box2D2.b2World_m_contactList_get, _Box2D2.b2World_m_contactList_set)
    __swig_setmethods__["m_bodyCount"] = _Box2D2.b2World_m_bodyCount_set
    __swig_getmethods__["m_bodyCount"] = _Box2D2.b2World_m_bodyCount_get
    if _newclass:m_bodyCount = _swig_property(_Box2D2.b2World_m_bodyCount_get, _Box2D2.b2World_m_bodyCount_set)
    __swig_setmethods__["m_contactCount"] = _Box2D2.b2World_m_contactCount_set
    __swig_getmethods__["m_contactCount"] = _Box2D2.b2World_m_contactCount_get
    if _newclass:m_contactCount = _swig_property(_Box2D2.b2World_m_contactCount_get, _Box2D2.b2World_m_contactCount_set)
    __swig_setmethods__["m_jointCount"] = _Box2D2.b2World_m_jointCount_set
    __swig_getmethods__["m_jointCount"] = _Box2D2.b2World_m_jointCount_get
    if _newclass:m_jointCount = _swig_property(_Box2D2.b2World_m_jointCount_get, _Box2D2.b2World_m_jointCount_set)
    __swig_setmethods__["m_gravity"] = _Box2D2.b2World_m_gravity_set
    __swig_getmethods__["m_gravity"] = _Box2D2.b2World_m_gravity_get
    if _newclass:m_gravity = _swig_property(_Box2D2.b2World_m_gravity_get, _Box2D2.b2World_m_gravity_set)
    __swig_setmethods__["m_allowSleep"] = _Box2D2.b2World_m_allowSleep_set
    __swig_getmethods__["m_allowSleep"] = _Box2D2.b2World_m_allowSleep_get
    if _newclass:m_allowSleep = _swig_property(_Box2D2.b2World_m_allowSleep_get, _Box2D2.b2World_m_allowSleep_set)
    __swig_setmethods__["m_groundBody"] = _Box2D2.b2World_m_groundBody_set
    __swig_getmethods__["m_groundBody"] = _Box2D2.b2World_m_groundBody_get
    if _newclass:m_groundBody = _swig_property(_Box2D2.b2World_m_groundBody_get, _Box2D2.b2World_m_groundBody_set)
    __swig_setmethods__["m_destructionListener"] = _Box2D2.b2World_m_destructionListener_set
    __swig_getmethods__["m_destructionListener"] = _Box2D2.b2World_m_destructionListener_get
    if _newclass:m_destructionListener = _swig_property(_Box2D2.b2World_m_destructionListener_get, _Box2D2.b2World_m_destructionListener_set)
    __swig_setmethods__["m_boundaryListener"] = _Box2D2.b2World_m_boundaryListener_set
    __swig_getmethods__["m_boundaryListener"] = _Box2D2.b2World_m_boundaryListener_get
    if _newclass:m_boundaryListener = _swig_property(_Box2D2.b2World_m_boundaryListener_get, _Box2D2.b2World_m_boundaryListener_set)
    __swig_setmethods__["m_contactFilter"] = _Box2D2.b2World_m_contactFilter_set
    __swig_getmethods__["m_contactFilter"] = _Box2D2.b2World_m_contactFilter_get
    if _newclass:m_contactFilter = _swig_property(_Box2D2.b2World_m_contactFilter_get, _Box2D2.b2World_m_contactFilter_set)
    __swig_setmethods__["m_contactListener"] = _Box2D2.b2World_m_contactListener_set
    __swig_getmethods__["m_contactListener"] = _Box2D2.b2World_m_contactListener_get
    if _newclass:m_contactListener = _swig_property(_Box2D2.b2World_m_contactListener_get, _Box2D2.b2World_m_contactListener_set)
    __swig_setmethods__["m_debugDraw"] = _Box2D2.b2World_m_debugDraw_set
    __swig_getmethods__["m_debugDraw"] = _Box2D2.b2World_m_debugDraw_get
    if _newclass:m_debugDraw = _swig_property(_Box2D2.b2World_m_debugDraw_get, _Box2D2.b2World_m_debugDraw_set)
    __swig_setmethods__["m_positionIterationCount"] = _Box2D2.b2World_m_positionIterationCount_set
    __swig_getmethods__["m_positionIterationCount"] = _Box2D2.b2World_m_positionIterationCount_get
    if _newclass:m_positionIterationCount = _swig_property(_Box2D2.b2World_m_positionIterationCount_get, _Box2D2.b2World_m_positionIterationCount_set)
    __swig_setmethods__["s_enablePositionCorrection"] = _Box2D2.b2World_s_enablePositionCorrection_set
    __swig_getmethods__["s_enablePositionCorrection"] = _Box2D2.b2World_s_enablePositionCorrection_get
    if _newclass:s_enablePositionCorrection = _swig_property(_Box2D2.b2World_s_enablePositionCorrection_get, _Box2D2.b2World_s_enablePositionCorrection_set)
    __swig_setmethods__["s_enableWarmStarting"] = _Box2D2.b2World_s_enableWarmStarting_set
    __swig_getmethods__["s_enableWarmStarting"] = _Box2D2.b2World_s_enableWarmStarting_get
    if _newclass:s_enableWarmStarting = _swig_property(_Box2D2.b2World_s_enableWarmStarting_get, _Box2D2.b2World_s_enableWarmStarting_set)
    __swig_setmethods__["s_enableTOI"] = _Box2D2.b2World_s_enableTOI_set
    __swig_getmethods__["s_enableTOI"] = _Box2D2.b2World_s_enableTOI_get
    if _newclass:s_enableTOI = _swig_property(_Box2D2.b2World_s_enableTOI_get, _Box2D2.b2World_s_enableTOI_set)
b2World_swigregister = _Box2D2.b2World_swigregister
b2World_swigregister(b2World)

e_unknownJoint = _Box2D2.e_unknownJoint
e_revoluteJoint = _Box2D2.e_revoluteJoint
e_prismaticJoint = _Box2D2.e_prismaticJoint
e_distanceJoint = _Box2D2.e_distanceJoint
e_pulleyJoint = _Box2D2.e_pulleyJoint
e_mouseJoint = _Box2D2.e_mouseJoint
e_gearJoint = _Box2D2.e_gearJoint
e_inactiveLimit = _Box2D2.e_inactiveLimit
e_atLowerLimit = _Box2D2.e_atLowerLimit
e_atUpperLimit = _Box2D2.e_atUpperLimit
e_equalLimits = _Box2D2.e_equalLimits
class b2Jacobian(_object):
    """Proxy of C++ b2Jacobian class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Jacobian, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Jacobian, name)
    __repr__ = _swig_repr
    __swig_setmethods__["linear1"] = _Box2D2.b2Jacobian_linear1_set
    __swig_getmethods__["linear1"] = _Box2D2.b2Jacobian_linear1_get
    if _newclass:linear1 = _swig_property(_Box2D2.b2Jacobian_linear1_get, _Box2D2.b2Jacobian_linear1_set)
    __swig_setmethods__["angular1"] = _Box2D2.b2Jacobian_angular1_set
    __swig_getmethods__["angular1"] = _Box2D2.b2Jacobian_angular1_get
    if _newclass:angular1 = _swig_property(_Box2D2.b2Jacobian_angular1_get, _Box2D2.b2Jacobian_angular1_set)
    __swig_setmethods__["linear2"] = _Box2D2.b2Jacobian_linear2_set
    __swig_getmethods__["linear2"] = _Box2D2.b2Jacobian_linear2_get
    if _newclass:linear2 = _swig_property(_Box2D2.b2Jacobian_linear2_get, _Box2D2.b2Jacobian_linear2_set)
    __swig_setmethods__["angular2"] = _Box2D2.b2Jacobian_angular2_set
    __swig_getmethods__["angular2"] = _Box2D2.b2Jacobian_angular2_get
    if _newclass:angular2 = _swig_property(_Box2D2.b2Jacobian_angular2_get, _Box2D2.b2Jacobian_angular2_set)
    def SetZero(*args):
        """SetZero(self)"""
        return _Box2D2.b2Jacobian_SetZero(*args)

    def Set(*args):
        """Set(self, b2Vec2 x1, float32 a1, b2Vec2 x2, float32 a2)"""
        return _Box2D2.b2Jacobian_Set(*args)

    def Compute(*args):
        """Compute(self, b2Vec2 x1, float32 a1, b2Vec2 x2, float32 a2) -> float32"""
        return _Box2D2.b2Jacobian_Compute(*args)

    def __init__(self, *args): 
        """__init__(self) -> b2Jacobian"""
        this = _Box2D2.new_b2Jacobian(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Jacobian
    __del__ = lambda self : None;
b2Jacobian_swigregister = _Box2D2.b2Jacobian_swigregister
b2Jacobian_swigregister(b2Jacobian)

class b2JointEdge(_object):
    """Proxy of C++ b2JointEdge class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2JointEdge, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2JointEdge, name)
    __repr__ = _swig_repr
    __swig_setmethods__["other"] = _Box2D2.b2JointEdge_other_set
    __swig_getmethods__["other"] = _Box2D2.b2JointEdge_other_get
    if _newclass:other = _swig_property(_Box2D2.b2JointEdge_other_get, _Box2D2.b2JointEdge_other_set)
    __swig_setmethods__["joint"] = _Box2D2.b2JointEdge_joint_set
    __swig_getmethods__["joint"] = _Box2D2.b2JointEdge_joint_get
    if _newclass:joint = _swig_property(_Box2D2.b2JointEdge_joint_get, _Box2D2.b2JointEdge_joint_set)
    __swig_setmethods__["prev"] = _Box2D2.b2JointEdge_prev_set
    __swig_getmethods__["prev"] = _Box2D2.b2JointEdge_prev_get
    if _newclass:prev = _swig_property(_Box2D2.b2JointEdge_prev_get, _Box2D2.b2JointEdge_prev_set)
    __swig_setmethods__["next"] = _Box2D2.b2JointEdge_next_set
    __swig_getmethods__["next"] = _Box2D2.b2JointEdge_next_get
    if _newclass:next = _swig_property(_Box2D2.b2JointEdge_next_get, _Box2D2.b2JointEdge_next_set)
    def __init__(self, *args): 
        """__init__(self) -> b2JointEdge"""
        this = _Box2D2.new_b2JointEdge(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2JointEdge
    __del__ = lambda self : None;
b2JointEdge_swigregister = _Box2D2.b2JointEdge_swigregister
b2JointEdge_swigregister(b2JointEdge)

class b2JointDef(_object):
    """Proxy of C++ b2JointDef class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2JointDef, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2JointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2JointDef"""
        this = _Box2D2.new_b2JointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_setmethods__["type"] = _Box2D2.b2JointDef_type_set
    __swig_getmethods__["type"] = _Box2D2.b2JointDef_type_get
    if _newclass:type = _swig_property(_Box2D2.b2JointDef_type_get, _Box2D2.b2JointDef_type_set)
    __swig_setmethods__["userData"] = _Box2D2.b2JointDef_userData_set
    __swig_getmethods__["userData"] = _Box2D2.b2JointDef_userData_get
    if _newclass:userData = _swig_property(_Box2D2.b2JointDef_userData_get, _Box2D2.b2JointDef_userData_set)
    __swig_setmethods__["body1"] = _Box2D2.b2JointDef_body1_set
    __swig_getmethods__["body1"] = _Box2D2.b2JointDef_body1_get
    if _newclass:body1 = _swig_property(_Box2D2.b2JointDef_body1_get, _Box2D2.b2JointDef_body1_set)
    __swig_setmethods__["body2"] = _Box2D2.b2JointDef_body2_set
    __swig_getmethods__["body2"] = _Box2D2.b2JointDef_body2_get
    if _newclass:body2 = _swig_property(_Box2D2.b2JointDef_body2_get, _Box2D2.b2JointDef_body2_set)
    __swig_setmethods__["collideConnected"] = _Box2D2.b2JointDef_collideConnected_set
    __swig_getmethods__["collideConnected"] = _Box2D2.b2JointDef_collideConnected_get
    if _newclass:collideConnected = _swig_property(_Box2D2.b2JointDef_collideConnected_get, _Box2D2.b2JointDef_collideConnected_set)
    __swig_destroy__ = _Box2D2.delete_b2JointDef
    __del__ = lambda self : None;
b2JointDef_swigregister = _Box2D2.b2JointDef_swigregister
b2JointDef_swigregister(b2JointDef)

class b2Joint(_object):
    """Proxy of C++ b2Joint class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Joint, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Joint, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    def GetType(*args):
        """GetType(self) -> int"""
        return _Box2D2.b2Joint_GetType(*args)

    def GetBody1(*args):
        """GetBody1(self) -> b2Body"""
        return _Box2D2.b2Joint_GetBody1(*args)

    def GetBody2(*args):
        """GetBody2(self) -> b2Body"""
        return _Box2D2.b2Joint_GetBody2(*args)

    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2Joint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2Joint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2Joint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2Joint_GetReactionTorque(*args)

    def GetNext(*args):
        """GetNext(self) -> b2Joint"""
        return _Box2D2.b2Joint_GetNext(*args)

    def GetUserData(*args):
        """GetUserData(self) -> void"""
        return _Box2D2.b2Joint_GetUserData(*args)

    def Create(*args):
        """Create(b2JointDef def, b2BlockAllocator allocator) -> b2Joint"""
        return _Box2D2.b2Joint_Create(*args)

    if _newclass:Create = staticmethod(Create)
    __swig_getmethods__["Create"] = lambda x: Create
    def Destroy(*args):
        """Destroy(b2Joint joint, b2BlockAllocator allocator)"""
        return _Box2D2.b2Joint_Destroy(*args)

    if _newclass:Destroy = staticmethod(Destroy)
    __swig_getmethods__["Destroy"] = lambda x: Destroy
    __swig_destroy__ = _Box2D2.delete_b2Joint
    __del__ = lambda self : None;
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2Joint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2Joint_SolveVelocityConstraints(*args)

    def InitPositionConstraints(*args):
        """InitPositionConstraints(self)"""
        return _Box2D2.b2Joint_InitPositionConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2Joint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_type"] = _Box2D2.b2Joint_m_type_set
    __swig_getmethods__["m_type"] = _Box2D2.b2Joint_m_type_get
    if _newclass:m_type = _swig_property(_Box2D2.b2Joint_m_type_get, _Box2D2.b2Joint_m_type_set)
    __swig_setmethods__["m_prev"] = _Box2D2.b2Joint_m_prev_set
    __swig_getmethods__["m_prev"] = _Box2D2.b2Joint_m_prev_get
    if _newclass:m_prev = _swig_property(_Box2D2.b2Joint_m_prev_get, _Box2D2.b2Joint_m_prev_set)
    __swig_setmethods__["m_next"] = _Box2D2.b2Joint_m_next_set
    __swig_getmethods__["m_next"] = _Box2D2.b2Joint_m_next_get
    if _newclass:m_next = _swig_property(_Box2D2.b2Joint_m_next_get, _Box2D2.b2Joint_m_next_set)
    __swig_setmethods__["m_node1"] = _Box2D2.b2Joint_m_node1_set
    __swig_getmethods__["m_node1"] = _Box2D2.b2Joint_m_node1_get
    if _newclass:m_node1 = _swig_property(_Box2D2.b2Joint_m_node1_get, _Box2D2.b2Joint_m_node1_set)
    __swig_setmethods__["m_node2"] = _Box2D2.b2Joint_m_node2_set
    __swig_getmethods__["m_node2"] = _Box2D2.b2Joint_m_node2_get
    if _newclass:m_node2 = _swig_property(_Box2D2.b2Joint_m_node2_get, _Box2D2.b2Joint_m_node2_set)
    __swig_setmethods__["m_body1"] = _Box2D2.b2Joint_m_body1_set
    __swig_getmethods__["m_body1"] = _Box2D2.b2Joint_m_body1_get
    if _newclass:m_body1 = _swig_property(_Box2D2.b2Joint_m_body1_get, _Box2D2.b2Joint_m_body1_set)
    __swig_setmethods__["m_body2"] = _Box2D2.b2Joint_m_body2_set
    __swig_getmethods__["m_body2"] = _Box2D2.b2Joint_m_body2_get
    if _newclass:m_body2 = _swig_property(_Box2D2.b2Joint_m_body2_get, _Box2D2.b2Joint_m_body2_set)
    __swig_setmethods__["m_islandFlag"] = _Box2D2.b2Joint_m_islandFlag_set
    __swig_getmethods__["m_islandFlag"] = _Box2D2.b2Joint_m_islandFlag_get
    if _newclass:m_islandFlag = _swig_property(_Box2D2.b2Joint_m_islandFlag_get, _Box2D2.b2Joint_m_islandFlag_set)
    __swig_setmethods__["m_collideConnected"] = _Box2D2.b2Joint_m_collideConnected_set
    __swig_getmethods__["m_collideConnected"] = _Box2D2.b2Joint_m_collideConnected_get
    if _newclass:m_collideConnected = _swig_property(_Box2D2.b2Joint_m_collideConnected_get, _Box2D2.b2Joint_m_collideConnected_set)
    __swig_setmethods__["m_userData"] = _Box2D2.b2Joint_m_userData_set
    __swig_getmethods__["m_userData"] = _Box2D2.b2Joint_m_userData_get
    if _newclass:m_userData = _swig_property(_Box2D2.b2Joint_m_userData_get, _Box2D2.b2Joint_m_userData_set)
    def __repr__(self):
        return "b2Joint(body1: %s body2: %s)" % (self.body1, self.body2)
    def typeName(self):
        types = { e_unknownJoint  : "Unknown",
                  e_mouseJoint    : "Mouse", 
                  e_gearJoint     : "Gear",
                  e_distanceJoint : "Distance",
                  e_prismaticJoint: "Prismatic",
                  e_pulleyJoint   : "Pulley",
                  e_revoluteJoint : "Revolute" }
        return types[self.GetType()]
    def getAsType(self):
        """Return a typecasted version of the joint"""
        return (getattr(self, "as%sJoint" % self.typeName())) ()

    def asMouseJoint(*args):
        """asMouseJoint(self) -> b2MouseJoint"""
        return _Box2D2.b2Joint_asMouseJoint(*args)

    def asGearJoint(*args):
        """asGearJoint(self) -> b2GearJoint"""
        return _Box2D2.b2Joint_asGearJoint(*args)

    def asDistanceJoint(*args):
        """asDistanceJoint(self) -> b2DistanceJoint"""
        return _Box2D2.b2Joint_asDistanceJoint(*args)

    def asPrismaticJoint(*args):
        """asPrismaticJoint(self) -> b2PrismaticJoint"""
        return _Box2D2.b2Joint_asPrismaticJoint(*args)

    def asPulleyJoint(*args):
        """asPulleyJoint(self) -> b2PulleyJoint"""
        return _Box2D2.b2Joint_asPulleyJoint(*args)

    def asRevoluteJoint(*args):
        """asRevoluteJoint(self) -> b2RevoluteJoint"""
        return _Box2D2.b2Joint_asRevoluteJoint(*args)

b2Joint_swigregister = _Box2D2.b2Joint_swigregister
b2Joint_swigregister(b2Joint)

def b2Joint_Create(*args):
  """b2Joint_Create(b2JointDef def, b2BlockAllocator allocator) -> b2Joint"""
  return _Box2D2.b2Joint_Create(*args)

def b2Joint_Destroy(*args):
  """b2Joint_Destroy(b2Joint joint, b2BlockAllocator allocator)"""
  return _Box2D2.b2Joint_Destroy(*args)

class b2BodyDef(_object):
    """Proxy of C++ b2BodyDef class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2BodyDef, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2BodyDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2BodyDef"""
        this = _Box2D2.new_b2BodyDef(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_setmethods__["massData"] = _Box2D2.b2BodyDef_massData_set
    __swig_getmethods__["massData"] = _Box2D2.b2BodyDef_massData_get
    if _newclass:massData = _swig_property(_Box2D2.b2BodyDef_massData_get, _Box2D2.b2BodyDef_massData_set)
    __swig_setmethods__["userData"] = _Box2D2.b2BodyDef_userData_set
    __swig_getmethods__["userData"] = _Box2D2.b2BodyDef_userData_get
    if _newclass:userData = _swig_property(_Box2D2.b2BodyDef_userData_get, _Box2D2.b2BodyDef_userData_set)
    __swig_setmethods__["position"] = _Box2D2.b2BodyDef_position_set
    __swig_getmethods__["position"] = _Box2D2.b2BodyDef_position_get
    if _newclass:position = _swig_property(_Box2D2.b2BodyDef_position_get, _Box2D2.b2BodyDef_position_set)
    __swig_setmethods__["angle"] = _Box2D2.b2BodyDef_angle_set
    __swig_getmethods__["angle"] = _Box2D2.b2BodyDef_angle_get
    if _newclass:angle = _swig_property(_Box2D2.b2BodyDef_angle_get, _Box2D2.b2BodyDef_angle_set)
    __swig_setmethods__["linearDamping"] = _Box2D2.b2BodyDef_linearDamping_set
    __swig_getmethods__["linearDamping"] = _Box2D2.b2BodyDef_linearDamping_get
    if _newclass:linearDamping = _swig_property(_Box2D2.b2BodyDef_linearDamping_get, _Box2D2.b2BodyDef_linearDamping_set)
    __swig_setmethods__["angularDamping"] = _Box2D2.b2BodyDef_angularDamping_set
    __swig_getmethods__["angularDamping"] = _Box2D2.b2BodyDef_angularDamping_get
    if _newclass:angularDamping = _swig_property(_Box2D2.b2BodyDef_angularDamping_get, _Box2D2.b2BodyDef_angularDamping_set)
    __swig_setmethods__["allowSleep"] = _Box2D2.b2BodyDef_allowSleep_set
    __swig_getmethods__["allowSleep"] = _Box2D2.b2BodyDef_allowSleep_get
    if _newclass:allowSleep = _swig_property(_Box2D2.b2BodyDef_allowSleep_get, _Box2D2.b2BodyDef_allowSleep_set)
    __swig_setmethods__["isSleeping"] = _Box2D2.b2BodyDef_isSleeping_set
    __swig_getmethods__["isSleeping"] = _Box2D2.b2BodyDef_isSleeping_get
    if _newclass:isSleeping = _swig_property(_Box2D2.b2BodyDef_isSleeping_get, _Box2D2.b2BodyDef_isSleeping_set)
    __swig_setmethods__["fixedRotation"] = _Box2D2.b2BodyDef_fixedRotation_set
    __swig_getmethods__["fixedRotation"] = _Box2D2.b2BodyDef_fixedRotation_get
    if _newclass:fixedRotation = _swig_property(_Box2D2.b2BodyDef_fixedRotation_get, _Box2D2.b2BodyDef_fixedRotation_set)
    __swig_setmethods__["isBullet"] = _Box2D2.b2BodyDef_isBullet_set
    __swig_getmethods__["isBullet"] = _Box2D2.b2BodyDef_isBullet_get
    if _newclass:isBullet = _swig_property(_Box2D2.b2BodyDef_isBullet_get, _Box2D2.b2BodyDef_isBullet_set)
    __swig_destroy__ = _Box2D2.delete_b2BodyDef
    __del__ = lambda self : None;
b2BodyDef_swigregister = _Box2D2.b2BodyDef_swigregister
b2BodyDef_swigregister(b2BodyDef)

class b2Body(_object):
    """Proxy of C++ b2Body class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2Body, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, b2Body, name)
    __repr__ = _swig_repr
    def CreateShape(*args):
        """CreateShape(self, b2ShapeDef shapeDef) -> b2Shape"""
        return _Box2D2.b2Body_CreateShape(*args)

    def DestroyShape(*args):
        """DestroyShape(self, b2Shape shape)"""
        return _Box2D2.b2Body_DestroyShape(*args)

    def SetMass(*args):
        """SetMass(self, b2MassData massData)"""
        return _Box2D2.b2Body_SetMass(*args)

    def SetMassFromShapes(*args):
        """SetMassFromShapes(self)"""
        return _Box2D2.b2Body_SetMassFromShapes(*args)

    def SetXForm(*args):
        """SetXForm(self, b2Vec2 position, float32 angle) -> bool"""
        return _Box2D2.b2Body_SetXForm(*args)

    def GetXForm(*args):
        """GetXForm(self) -> b2XForm"""
        return _Box2D2.b2Body_GetXForm(*args)

    def GetPosition(*args):
        """GetPosition(self) -> b2Vec2"""
        return _Box2D2.b2Body_GetPosition(*args)

    def GetAngle(*args):
        """GetAngle(self) -> float32"""
        return _Box2D2.b2Body_GetAngle(*args)

    def GetWorldCenter(*args):
        """GetWorldCenter(self) -> b2Vec2"""
        return _Box2D2.b2Body_GetWorldCenter(*args)

    def GetLocalCenter(*args):
        """GetLocalCenter(self) -> b2Vec2"""
        return _Box2D2.b2Body_GetLocalCenter(*args)

    def SetLinearVelocity(*args):
        """SetLinearVelocity(self, b2Vec2 v)"""
        return _Box2D2.b2Body_SetLinearVelocity(*args)

    def GetLinearVelocity(*args):
        """GetLinearVelocity(self) -> b2Vec2"""
        return _Box2D2.b2Body_GetLinearVelocity(*args)

    def SetAngularVelocity(*args):
        """SetAngularVelocity(self, float32 omega)"""
        return _Box2D2.b2Body_SetAngularVelocity(*args)

    def GetAngularVelocity(*args):
        """GetAngularVelocity(self) -> float32"""
        return _Box2D2.b2Body_GetAngularVelocity(*args)

    def ApplyForce(*args):
        """ApplyForce(self, b2Vec2 force, b2Vec2 point)"""
        return _Box2D2.b2Body_ApplyForce(*args)

    def ApplyTorque(*args):
        """ApplyTorque(self, float32 torque)"""
        return _Box2D2.b2Body_ApplyTorque(*args)

    def ApplyImpulse(*args):
        """ApplyImpulse(self, b2Vec2 impulse, b2Vec2 point)"""
        return _Box2D2.b2Body_ApplyImpulse(*args)

    def GetMass(*args):
        """GetMass(self) -> float32"""
        return _Box2D2.b2Body_GetMass(*args)

    def GetInertia(*args):
        """GetInertia(self) -> float32"""
        return _Box2D2.b2Body_GetInertia(*args)

    def GetWorldPoint(*args):
        """GetWorldPoint(self, b2Vec2 localPoint) -> b2Vec2"""
        return _Box2D2.b2Body_GetWorldPoint(*args)

    def GetWorldVector(*args):
        """GetWorldVector(self, b2Vec2 localVector) -> b2Vec2"""
        return _Box2D2.b2Body_GetWorldVector(*args)

    def GetLocalPoint(*args):
        """GetLocalPoint(self, b2Vec2 worldPoint) -> b2Vec2"""
        return _Box2D2.b2Body_GetLocalPoint(*args)

    def GetLocalVector(*args):
        """GetLocalVector(self, b2Vec2 worldVector) -> b2Vec2"""
        return _Box2D2.b2Body_GetLocalVector(*args)

    def IsBullet(*args):
        """IsBullet(self) -> bool"""
        return _Box2D2.b2Body_IsBullet(*args)

    def SetBullet(*args):
        """SetBullet(self, bool flag)"""
        return _Box2D2.b2Body_SetBullet(*args)

    def IsStatic(*args):
        """IsStatic(self) -> bool"""
        return _Box2D2.b2Body_IsStatic(*args)

    def IsDynamic(*args):
        """IsDynamic(self) -> bool"""
        return _Box2D2.b2Body_IsDynamic(*args)

    def IsFrozen(*args):
        """IsFrozen(self) -> bool"""
        return _Box2D2.b2Body_IsFrozen(*args)

    def IsSleeping(*args):
        """IsSleeping(self) -> bool"""
        return _Box2D2.b2Body_IsSleeping(*args)

    def AllowSleeping(*args):
        """AllowSleeping(self, bool flag)"""
        return _Box2D2.b2Body_AllowSleeping(*args)

    def WakeUp(*args):
        """WakeUp(self)"""
        return _Box2D2.b2Body_WakeUp(*args)

    def GetShapeList(*args):
        """GetShapeList(self) -> b2Shape"""
        return _Box2D2.b2Body_GetShapeList(*args)

    def GetJointList(*args):
        """GetJointList(self) -> b2JointEdge"""
        return _Box2D2.b2Body_GetJointList(*args)

    def GetContactList(*args):
        """GetContactList(self) -> b2ContactEdge"""
        return _Box2D2.b2Body_GetContactList(*args)

    def GetNext(*args):
        """GetNext(self) -> b2Body"""
        return _Box2D2.b2Body_GetNext(*args)

    def GetUserData(*args):
        """GetUserData(self) -> void"""
        return _Box2D2.b2Body_GetUserData(*args)

    e_frozenFlag = _Box2D2.b2Body_e_frozenFlag
    e_islandFlag = _Box2D2.b2Body_e_islandFlag
    e_sleepFlag = _Box2D2.b2Body_e_sleepFlag
    e_allowSleepFlag = _Box2D2.b2Body_e_allowSleepFlag
    e_bulletFlag = _Box2D2.b2Body_e_bulletFlag
    e_fixedRotationFlag = _Box2D2.b2Body_e_fixedRotationFlag
    e_staticType = _Box2D2.b2Body_e_staticType
    e_dynamicType = _Box2D2.b2Body_e_dynamicType
    e_maxTypes = _Box2D2.b2Body_e_maxTypes
    def __init__(self, *args): 
        """__init__(self, b2BodyDef bd, uint16 type, b2World world) -> b2Body"""
        this = _Box2D2.new_b2Body(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _Box2D2.delete_b2Body
    __del__ = lambda self : None;
    def ComputeMass(*args):
        """ComputeMass(self)"""
        return _Box2D2.b2Body_ComputeMass(*args)

    def SynchronizeShapes(*args):
        """SynchronizeShapes(self) -> bool"""
        return _Box2D2.b2Body_SynchronizeShapes(*args)

    def SynchronizeTransform(*args):
        """SynchronizeTransform(self)"""
        return _Box2D2.b2Body_SynchronizeTransform(*args)

    def IsConnected(*args):
        """IsConnected(self, b2Body other) -> bool"""
        return _Box2D2.b2Body_IsConnected(*args)

    def Advance(*args):
        """Advance(self, float32 t)"""
        return _Box2D2.b2Body_Advance(*args)

    __swig_setmethods__["m_flags"] = _Box2D2.b2Body_m_flags_set
    __swig_getmethods__["m_flags"] = _Box2D2.b2Body_m_flags_get
    if _newclass:m_flags = _swig_property(_Box2D2.b2Body_m_flags_get, _Box2D2.b2Body_m_flags_set)
    __swig_setmethods__["m_type"] = _Box2D2.b2Body_m_type_set
    __swig_getmethods__["m_type"] = _Box2D2.b2Body_m_type_get
    if _newclass:m_type = _swig_property(_Box2D2.b2Body_m_type_get, _Box2D2.b2Body_m_type_set)
    __swig_setmethods__["m_xf"] = _Box2D2.b2Body_m_xf_set
    __swig_getmethods__["m_xf"] = _Box2D2.b2Body_m_xf_get
    if _newclass:m_xf = _swig_property(_Box2D2.b2Body_m_xf_get, _Box2D2.b2Body_m_xf_set)
    __swig_setmethods__["m_sweep"] = _Box2D2.b2Body_m_sweep_set
    __swig_getmethods__["m_sweep"] = _Box2D2.b2Body_m_sweep_get
    if _newclass:m_sweep = _swig_property(_Box2D2.b2Body_m_sweep_get, _Box2D2.b2Body_m_sweep_set)
    __swig_setmethods__["m_linearVelocity"] = _Box2D2.b2Body_m_linearVelocity_set
    __swig_getmethods__["m_linearVelocity"] = _Box2D2.b2Body_m_linearVelocity_get
    if _newclass:m_linearVelocity = _swig_property(_Box2D2.b2Body_m_linearVelocity_get, _Box2D2.b2Body_m_linearVelocity_set)
    __swig_setmethods__["m_angularVelocity"] = _Box2D2.b2Body_m_angularVelocity_set
    __swig_getmethods__["m_angularVelocity"] = _Box2D2.b2Body_m_angularVelocity_get
    if _newclass:m_angularVelocity = _swig_property(_Box2D2.b2Body_m_angularVelocity_get, _Box2D2.b2Body_m_angularVelocity_set)
    __swig_setmethods__["m_force"] = _Box2D2.b2Body_m_force_set
    __swig_getmethods__["m_force"] = _Box2D2.b2Body_m_force_get
    if _newclass:m_force = _swig_property(_Box2D2.b2Body_m_force_get, _Box2D2.b2Body_m_force_set)
    __swig_setmethods__["m_torque"] = _Box2D2.b2Body_m_torque_set
    __swig_getmethods__["m_torque"] = _Box2D2.b2Body_m_torque_get
    if _newclass:m_torque = _swig_property(_Box2D2.b2Body_m_torque_get, _Box2D2.b2Body_m_torque_set)
    __swig_setmethods__["m_world"] = _Box2D2.b2Body_m_world_set
    __swig_getmethods__["m_world"] = _Box2D2.b2Body_m_world_get
    if _newclass:m_world = _swig_property(_Box2D2.b2Body_m_world_get, _Box2D2.b2Body_m_world_set)
    __swig_setmethods__["m_prev"] = _Box2D2.b2Body_m_prev_set
    __swig_getmethods__["m_prev"] = _Box2D2.b2Body_m_prev_get
    if _newclass:m_prev = _swig_property(_Box2D2.b2Body_m_prev_get, _Box2D2.b2Body_m_prev_set)
    __swig_setmethods__["m_next"] = _Box2D2.b2Body_m_next_set
    __swig_getmethods__["m_next"] = _Box2D2.b2Body_m_next_get
    if _newclass:m_next = _swig_property(_Box2D2.b2Body_m_next_get, _Box2D2.b2Body_m_next_set)
    __swig_setmethods__["m_shapeList"] = _Box2D2.b2Body_m_shapeList_set
    __swig_getmethods__["m_shapeList"] = _Box2D2.b2Body_m_shapeList_get
    if _newclass:m_shapeList = _swig_property(_Box2D2.b2Body_m_shapeList_get, _Box2D2.b2Body_m_shapeList_set)
    __swig_setmethods__["m_shapeCount"] = _Box2D2.b2Body_m_shapeCount_set
    __swig_getmethods__["m_shapeCount"] = _Box2D2.b2Body_m_shapeCount_get
    if _newclass:m_shapeCount = _swig_property(_Box2D2.b2Body_m_shapeCount_get, _Box2D2.b2Body_m_shapeCount_set)
    __swig_setmethods__["m_jointList"] = _Box2D2.b2Body_m_jointList_set
    __swig_getmethods__["m_jointList"] = _Box2D2.b2Body_m_jointList_get
    if _newclass:m_jointList = _swig_property(_Box2D2.b2Body_m_jointList_get, _Box2D2.b2Body_m_jointList_set)
    __swig_setmethods__["m_contactList"] = _Box2D2.b2Body_m_contactList_set
    __swig_getmethods__["m_contactList"] = _Box2D2.b2Body_m_contactList_get
    if _newclass:m_contactList = _swig_property(_Box2D2.b2Body_m_contactList_get, _Box2D2.b2Body_m_contactList_set)
    __swig_setmethods__["m_mass"] = _Box2D2.b2Body_m_mass_set
    __swig_getmethods__["m_mass"] = _Box2D2.b2Body_m_mass_get
    if _newclass:m_mass = _swig_property(_Box2D2.b2Body_m_mass_get, _Box2D2.b2Body_m_mass_set)
    __swig_setmethods__["m_invMass"] = _Box2D2.b2Body_m_invMass_set
    __swig_getmethods__["m_invMass"] = _Box2D2.b2Body_m_invMass_get
    if _newclass:m_invMass = _swig_property(_Box2D2.b2Body_m_invMass_get, _Box2D2.b2Body_m_invMass_set)
    __swig_setmethods__["m_I"] = _Box2D2.b2Body_m_I_set
    __swig_getmethods__["m_I"] = _Box2D2.b2Body_m_I_get
    if _newclass:m_I = _swig_property(_Box2D2.b2Body_m_I_get, _Box2D2.b2Body_m_I_set)
    __swig_setmethods__["m_invI"] = _Box2D2.b2Body_m_invI_set
    __swig_getmethods__["m_invI"] = _Box2D2.b2Body_m_invI_get
    if _newclass:m_invI = _swig_property(_Box2D2.b2Body_m_invI_get, _Box2D2.b2Body_m_invI_set)
    __swig_setmethods__["m_linearDamping"] = _Box2D2.b2Body_m_linearDamping_set
    __swig_getmethods__["m_linearDamping"] = _Box2D2.b2Body_m_linearDamping_get
    if _newclass:m_linearDamping = _swig_property(_Box2D2.b2Body_m_linearDamping_get, _Box2D2.b2Body_m_linearDamping_set)
    __swig_setmethods__["m_angularDamping"] = _Box2D2.b2Body_m_angularDamping_set
    __swig_getmethods__["m_angularDamping"] = _Box2D2.b2Body_m_angularDamping_get
    if _newclass:m_angularDamping = _swig_property(_Box2D2.b2Body_m_angularDamping_get, _Box2D2.b2Body_m_angularDamping_set)
    __swig_setmethods__["m_sleepTime"] = _Box2D2.b2Body_m_sleepTime_set
    __swig_getmethods__["m_sleepTime"] = _Box2D2.b2Body_m_sleepTime_get
    if _newclass:m_sleepTime = _swig_property(_Box2D2.b2Body_m_sleepTime_get, _Box2D2.b2Body_m_sleepTime_set)
    __swig_setmethods__["m_userData"] = _Box2D2.b2Body_m_userData_set
    __swig_getmethods__["m_userData"] = _Box2D2.b2Body_m_userData_get
    if _newclass:m_userData = _swig_property(_Box2D2.b2Body_m_userData_get, _Box2D2.b2Body_m_userData_set)
    def __repr__(self):
        return "b2Body(Position: %s)" % (self.GetPosition())

b2Body_swigregister = _Box2D2.b2Body_swigregister
b2Body_swigregister(b2Body)

class b2DistanceJointDef(b2JointDef):
    """Proxy of C++ b2DistanceJointDef class"""
    __swig_setmethods__ = {}
    for _s in [b2JointDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2DistanceJointDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2JointDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2DistanceJointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2DistanceJointDef"""
        this = _Box2D2.new_b2DistanceJointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    def Initialize(*args):
        """Initialize(self, b2Body body1, b2Body body2, b2Vec2 anchor1, b2Vec2 anchor2)"""
        return _Box2D2.b2DistanceJointDef_Initialize(*args)

    __swig_setmethods__["localAnchor1"] = _Box2D2.b2DistanceJointDef_localAnchor1_set
    __swig_getmethods__["localAnchor1"] = _Box2D2.b2DistanceJointDef_localAnchor1_get
    if _newclass:localAnchor1 = _swig_property(_Box2D2.b2DistanceJointDef_localAnchor1_get, _Box2D2.b2DistanceJointDef_localAnchor1_set)
    __swig_setmethods__["localAnchor2"] = _Box2D2.b2DistanceJointDef_localAnchor2_set
    __swig_getmethods__["localAnchor2"] = _Box2D2.b2DistanceJointDef_localAnchor2_get
    if _newclass:localAnchor2 = _swig_property(_Box2D2.b2DistanceJointDef_localAnchor2_get, _Box2D2.b2DistanceJointDef_localAnchor2_set)
    __swig_setmethods__["length"] = _Box2D2.b2DistanceJointDef_length_set
    __swig_getmethods__["length"] = _Box2D2.b2DistanceJointDef_length_get
    if _newclass:length = _swig_property(_Box2D2.b2DistanceJointDef_length_get, _Box2D2.b2DistanceJointDef_length_set)
    __swig_destroy__ = _Box2D2.delete_b2DistanceJointDef
    __del__ = lambda self : None;
b2DistanceJointDef_swigregister = _Box2D2.b2DistanceJointDef_swigregister
b2DistanceJointDef_swigregister(b2DistanceJointDef)

class b2DistanceJoint(b2Joint):
    """Proxy of C++ b2DistanceJoint class"""
    __swig_setmethods__ = {}
    for _s in [b2Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2DistanceJoint, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2DistanceJoint, name)
    __repr__ = _swig_repr
    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2DistanceJoint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2DistanceJoint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2DistanceJoint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2DistanceJoint_GetReactionTorque(*args)

    def __init__(self, *args): 
        """__init__(self, b2DistanceJointDef data) -> b2DistanceJoint"""
        this = _Box2D2.new_b2DistanceJoint(*args)
        try: self.this.append(this)
        except: self.this = this
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2DistanceJoint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2DistanceJoint_SolveVelocityConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2DistanceJoint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_localAnchor1"] = _Box2D2.b2DistanceJoint_m_localAnchor1_set
    __swig_getmethods__["m_localAnchor1"] = _Box2D2.b2DistanceJoint_m_localAnchor1_get
    if _newclass:m_localAnchor1 = _swig_property(_Box2D2.b2DistanceJoint_m_localAnchor1_get, _Box2D2.b2DistanceJoint_m_localAnchor1_set)
    __swig_setmethods__["m_localAnchor2"] = _Box2D2.b2DistanceJoint_m_localAnchor2_set
    __swig_getmethods__["m_localAnchor2"] = _Box2D2.b2DistanceJoint_m_localAnchor2_get
    if _newclass:m_localAnchor2 = _swig_property(_Box2D2.b2DistanceJoint_m_localAnchor2_get, _Box2D2.b2DistanceJoint_m_localAnchor2_set)
    __swig_setmethods__["m_u"] = _Box2D2.b2DistanceJoint_m_u_set
    __swig_getmethods__["m_u"] = _Box2D2.b2DistanceJoint_m_u_get
    if _newclass:m_u = _swig_property(_Box2D2.b2DistanceJoint_m_u_get, _Box2D2.b2DistanceJoint_m_u_set)
    __swig_setmethods__["m_force"] = _Box2D2.b2DistanceJoint_m_force_set
    __swig_getmethods__["m_force"] = _Box2D2.b2DistanceJoint_m_force_get
    if _newclass:m_force = _swig_property(_Box2D2.b2DistanceJoint_m_force_get, _Box2D2.b2DistanceJoint_m_force_set)
    __swig_setmethods__["m_mass"] = _Box2D2.b2DistanceJoint_m_mass_set
    __swig_getmethods__["m_mass"] = _Box2D2.b2DistanceJoint_m_mass_get
    if _newclass:m_mass = _swig_property(_Box2D2.b2DistanceJoint_m_mass_get, _Box2D2.b2DistanceJoint_m_mass_set)
    __swig_setmethods__["m_length"] = _Box2D2.b2DistanceJoint_m_length_set
    __swig_getmethods__["m_length"] = _Box2D2.b2DistanceJoint_m_length_get
    if _newclass:m_length = _swig_property(_Box2D2.b2DistanceJoint_m_length_get, _Box2D2.b2DistanceJoint_m_length_set)
    __swig_destroy__ = _Box2D2.delete_b2DistanceJoint
    __del__ = lambda self : None;
b2DistanceJoint_swigregister = _Box2D2.b2DistanceJoint_swigregister
b2DistanceJoint_swigregister(b2DistanceJoint)

class b2MouseJointDef(b2JointDef):
    """Proxy of C++ b2MouseJointDef class"""
    __swig_setmethods__ = {}
    for _s in [b2JointDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2MouseJointDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2JointDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2MouseJointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2MouseJointDef"""
        this = _Box2D2.new_b2MouseJointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_setmethods__["target"] = _Box2D2.b2MouseJointDef_target_set
    __swig_getmethods__["target"] = _Box2D2.b2MouseJointDef_target_get
    if _newclass:target = _swig_property(_Box2D2.b2MouseJointDef_target_get, _Box2D2.b2MouseJointDef_target_set)
    __swig_setmethods__["maxForce"] = _Box2D2.b2MouseJointDef_maxForce_set
    __swig_getmethods__["maxForce"] = _Box2D2.b2MouseJointDef_maxForce_get
    if _newclass:maxForce = _swig_property(_Box2D2.b2MouseJointDef_maxForce_get, _Box2D2.b2MouseJointDef_maxForce_set)
    __swig_setmethods__["frequencyHz"] = _Box2D2.b2MouseJointDef_frequencyHz_set
    __swig_getmethods__["frequencyHz"] = _Box2D2.b2MouseJointDef_frequencyHz_get
    if _newclass:frequencyHz = _swig_property(_Box2D2.b2MouseJointDef_frequencyHz_get, _Box2D2.b2MouseJointDef_frequencyHz_set)
    __swig_setmethods__["dampingRatio"] = _Box2D2.b2MouseJointDef_dampingRatio_set
    __swig_getmethods__["dampingRatio"] = _Box2D2.b2MouseJointDef_dampingRatio_get
    if _newclass:dampingRatio = _swig_property(_Box2D2.b2MouseJointDef_dampingRatio_get, _Box2D2.b2MouseJointDef_dampingRatio_set)
    __swig_setmethods__["timeStep"] = _Box2D2.b2MouseJointDef_timeStep_set
    __swig_getmethods__["timeStep"] = _Box2D2.b2MouseJointDef_timeStep_get
    if _newclass:timeStep = _swig_property(_Box2D2.b2MouseJointDef_timeStep_get, _Box2D2.b2MouseJointDef_timeStep_set)
    __swig_destroy__ = _Box2D2.delete_b2MouseJointDef
    __del__ = lambda self : None;
b2MouseJointDef_swigregister = _Box2D2.b2MouseJointDef_swigregister
b2MouseJointDef_swigregister(b2MouseJointDef)

class b2MouseJoint(b2Joint):
    """Proxy of C++ b2MouseJoint class"""
    __swig_setmethods__ = {}
    for _s in [b2Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2MouseJoint, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2MouseJoint, name)
    __repr__ = _swig_repr
    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2MouseJoint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2MouseJoint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2MouseJoint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2MouseJoint_GetReactionTorque(*args)

    def SetTarget(*args):
        """SetTarget(self, b2Vec2 target)"""
        return _Box2D2.b2MouseJoint_SetTarget(*args)

    def __init__(self, *args): 
        """__init__(self, b2MouseJointDef def) -> b2MouseJoint"""
        this = _Box2D2.new_b2MouseJoint(*args)
        try: self.this.append(this)
        except: self.this = this
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2MouseJoint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2MouseJoint_SolveVelocityConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2MouseJoint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_localAnchor"] = _Box2D2.b2MouseJoint_m_localAnchor_set
    __swig_getmethods__["m_localAnchor"] = _Box2D2.b2MouseJoint_m_localAnchor_get
    if _newclass:m_localAnchor = _swig_property(_Box2D2.b2MouseJoint_m_localAnchor_get, _Box2D2.b2MouseJoint_m_localAnchor_set)
    __swig_setmethods__["m_target"] = _Box2D2.b2MouseJoint_m_target_set
    __swig_getmethods__["m_target"] = _Box2D2.b2MouseJoint_m_target_get
    if _newclass:m_target = _swig_property(_Box2D2.b2MouseJoint_m_target_get, _Box2D2.b2MouseJoint_m_target_set)
    __swig_setmethods__["m_force"] = _Box2D2.b2MouseJoint_m_force_set
    __swig_getmethods__["m_force"] = _Box2D2.b2MouseJoint_m_force_get
    if _newclass:m_force = _swig_property(_Box2D2.b2MouseJoint_m_force_get, _Box2D2.b2MouseJoint_m_force_set)
    __swig_setmethods__["m_mass"] = _Box2D2.b2MouseJoint_m_mass_set
    __swig_getmethods__["m_mass"] = _Box2D2.b2MouseJoint_m_mass_get
    if _newclass:m_mass = _swig_property(_Box2D2.b2MouseJoint_m_mass_get, _Box2D2.b2MouseJoint_m_mass_set)
    __swig_setmethods__["m_C"] = _Box2D2.b2MouseJoint_m_C_set
    __swig_getmethods__["m_C"] = _Box2D2.b2MouseJoint_m_C_get
    if _newclass:m_C = _swig_property(_Box2D2.b2MouseJoint_m_C_get, _Box2D2.b2MouseJoint_m_C_set)
    __swig_setmethods__["m_maxForce"] = _Box2D2.b2MouseJoint_m_maxForce_set
    __swig_getmethods__["m_maxForce"] = _Box2D2.b2MouseJoint_m_maxForce_get
    if _newclass:m_maxForce = _swig_property(_Box2D2.b2MouseJoint_m_maxForce_get, _Box2D2.b2MouseJoint_m_maxForce_set)
    __swig_setmethods__["m_beta"] = _Box2D2.b2MouseJoint_m_beta_set
    __swig_getmethods__["m_beta"] = _Box2D2.b2MouseJoint_m_beta_get
    if _newclass:m_beta = _swig_property(_Box2D2.b2MouseJoint_m_beta_get, _Box2D2.b2MouseJoint_m_beta_set)
    __swig_setmethods__["m_gamma"] = _Box2D2.b2MouseJoint_m_gamma_set
    __swig_getmethods__["m_gamma"] = _Box2D2.b2MouseJoint_m_gamma_get
    if _newclass:m_gamma = _swig_property(_Box2D2.b2MouseJoint_m_gamma_get, _Box2D2.b2MouseJoint_m_gamma_set)
    __swig_destroy__ = _Box2D2.delete_b2MouseJoint
    __del__ = lambda self : None;
b2MouseJoint_swigregister = _Box2D2.b2MouseJoint_swigregister
b2MouseJoint_swigregister(b2MouseJoint)

class b2PrismaticJointDef(b2JointDef):
    """Proxy of C++ b2PrismaticJointDef class"""
    __swig_setmethods__ = {}
    for _s in [b2JointDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PrismaticJointDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2JointDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2PrismaticJointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2PrismaticJointDef"""
        this = _Box2D2.new_b2PrismaticJointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    def Initialize(*args):
        """Initialize(self, b2Body body1, b2Body body2, b2Vec2 anchor, b2Vec2 axis)"""
        return _Box2D2.b2PrismaticJointDef_Initialize(*args)

    __swig_setmethods__["localAnchor1"] = _Box2D2.b2PrismaticJointDef_localAnchor1_set
    __swig_getmethods__["localAnchor1"] = _Box2D2.b2PrismaticJointDef_localAnchor1_get
    if _newclass:localAnchor1 = _swig_property(_Box2D2.b2PrismaticJointDef_localAnchor1_get, _Box2D2.b2PrismaticJointDef_localAnchor1_set)
    __swig_setmethods__["localAnchor2"] = _Box2D2.b2PrismaticJointDef_localAnchor2_set
    __swig_getmethods__["localAnchor2"] = _Box2D2.b2PrismaticJointDef_localAnchor2_get
    if _newclass:localAnchor2 = _swig_property(_Box2D2.b2PrismaticJointDef_localAnchor2_get, _Box2D2.b2PrismaticJointDef_localAnchor2_set)
    __swig_setmethods__["localAxis1"] = _Box2D2.b2PrismaticJointDef_localAxis1_set
    __swig_getmethods__["localAxis1"] = _Box2D2.b2PrismaticJointDef_localAxis1_get
    if _newclass:localAxis1 = _swig_property(_Box2D2.b2PrismaticJointDef_localAxis1_get, _Box2D2.b2PrismaticJointDef_localAxis1_set)
    __swig_setmethods__["referenceAngle"] = _Box2D2.b2PrismaticJointDef_referenceAngle_set
    __swig_getmethods__["referenceAngle"] = _Box2D2.b2PrismaticJointDef_referenceAngle_get
    if _newclass:referenceAngle = _swig_property(_Box2D2.b2PrismaticJointDef_referenceAngle_get, _Box2D2.b2PrismaticJointDef_referenceAngle_set)
    __swig_setmethods__["enableLimit"] = _Box2D2.b2PrismaticJointDef_enableLimit_set
    __swig_getmethods__["enableLimit"] = _Box2D2.b2PrismaticJointDef_enableLimit_get
    if _newclass:enableLimit = _swig_property(_Box2D2.b2PrismaticJointDef_enableLimit_get, _Box2D2.b2PrismaticJointDef_enableLimit_set)
    __swig_setmethods__["lowerTranslation"] = _Box2D2.b2PrismaticJointDef_lowerTranslation_set
    __swig_getmethods__["lowerTranslation"] = _Box2D2.b2PrismaticJointDef_lowerTranslation_get
    if _newclass:lowerTranslation = _swig_property(_Box2D2.b2PrismaticJointDef_lowerTranslation_get, _Box2D2.b2PrismaticJointDef_lowerTranslation_set)
    __swig_setmethods__["upperTranslation"] = _Box2D2.b2PrismaticJointDef_upperTranslation_set
    __swig_getmethods__["upperTranslation"] = _Box2D2.b2PrismaticJointDef_upperTranslation_get
    if _newclass:upperTranslation = _swig_property(_Box2D2.b2PrismaticJointDef_upperTranslation_get, _Box2D2.b2PrismaticJointDef_upperTranslation_set)
    __swig_setmethods__["enableMotor"] = _Box2D2.b2PrismaticJointDef_enableMotor_set
    __swig_getmethods__["enableMotor"] = _Box2D2.b2PrismaticJointDef_enableMotor_get
    if _newclass:enableMotor = _swig_property(_Box2D2.b2PrismaticJointDef_enableMotor_get, _Box2D2.b2PrismaticJointDef_enableMotor_set)
    __swig_setmethods__["maxMotorForce"] = _Box2D2.b2PrismaticJointDef_maxMotorForce_set
    __swig_getmethods__["maxMotorForce"] = _Box2D2.b2PrismaticJointDef_maxMotorForce_get
    if _newclass:maxMotorForce = _swig_property(_Box2D2.b2PrismaticJointDef_maxMotorForce_get, _Box2D2.b2PrismaticJointDef_maxMotorForce_set)
    __swig_setmethods__["motorSpeed"] = _Box2D2.b2PrismaticJointDef_motorSpeed_set
    __swig_getmethods__["motorSpeed"] = _Box2D2.b2PrismaticJointDef_motorSpeed_get
    if _newclass:motorSpeed = _swig_property(_Box2D2.b2PrismaticJointDef_motorSpeed_get, _Box2D2.b2PrismaticJointDef_motorSpeed_set)
    __swig_destroy__ = _Box2D2.delete_b2PrismaticJointDef
    __del__ = lambda self : None;
b2PrismaticJointDef_swigregister = _Box2D2.b2PrismaticJointDef_swigregister
b2PrismaticJointDef_swigregister(b2PrismaticJointDef)

class b2PrismaticJoint(b2Joint):
    """Proxy of C++ b2PrismaticJoint class"""
    __swig_setmethods__ = {}
    for _s in [b2Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PrismaticJoint, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2PrismaticJoint, name)
    __repr__ = _swig_repr
    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2PrismaticJoint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2PrismaticJoint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2PrismaticJoint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetReactionTorque(*args)

    def GetJointTranslation(*args):
        """GetJointTranslation(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetJointTranslation(*args)

    def GetJointSpeed(*args):
        """GetJointSpeed(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetJointSpeed(*args)

    def IsLimitEnabled(*args):
        """IsLimitEnabled(self) -> bool"""
        return _Box2D2.b2PrismaticJoint_IsLimitEnabled(*args)

    def EnableLimit(*args):
        """EnableLimit(self, bool flag)"""
        return _Box2D2.b2PrismaticJoint_EnableLimit(*args)

    def GetLowerLimit(*args):
        """GetLowerLimit(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetLowerLimit(*args)

    def GetUpperLimit(*args):
        """GetUpperLimit(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetUpperLimit(*args)

    def SetLimits(*args):
        """SetLimits(self, float32 lower, float32 upper)"""
        return _Box2D2.b2PrismaticJoint_SetLimits(*args)

    def IsMotorEnabled(*args):
        """IsMotorEnabled(self) -> bool"""
        return _Box2D2.b2PrismaticJoint_IsMotorEnabled(*args)

    def EnableMotor(*args):
        """EnableMotor(self, bool flag)"""
        return _Box2D2.b2PrismaticJoint_EnableMotor(*args)

    def SetMotorSpeed(*args):
        """SetMotorSpeed(self, float32 speed)"""
        return _Box2D2.b2PrismaticJoint_SetMotorSpeed(*args)

    def GetMotorSpeed(*args):
        """GetMotorSpeed(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetMotorSpeed(*args)

    def SetMaxMotorForce(*args):
        """SetMaxMotorForce(self, float32 force)"""
        return _Box2D2.b2PrismaticJoint_SetMaxMotorForce(*args)

    def GetMotorForce(*args):
        """GetMotorForce(self) -> float32"""
        return _Box2D2.b2PrismaticJoint_GetMotorForce(*args)

    def __init__(self, *args): 
        """__init__(self, b2PrismaticJointDef def) -> b2PrismaticJoint"""
        this = _Box2D2.new_b2PrismaticJoint(*args)
        try: self.this.append(this)
        except: self.this = this
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2PrismaticJoint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2PrismaticJoint_SolveVelocityConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2PrismaticJoint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_localAnchor1"] = _Box2D2.b2PrismaticJoint_m_localAnchor1_set
    __swig_getmethods__["m_localAnchor1"] = _Box2D2.b2PrismaticJoint_m_localAnchor1_get
    if _newclass:m_localAnchor1 = _swig_property(_Box2D2.b2PrismaticJoint_m_localAnchor1_get, _Box2D2.b2PrismaticJoint_m_localAnchor1_set)
    __swig_setmethods__["m_localAnchor2"] = _Box2D2.b2PrismaticJoint_m_localAnchor2_set
    __swig_getmethods__["m_localAnchor2"] = _Box2D2.b2PrismaticJoint_m_localAnchor2_get
    if _newclass:m_localAnchor2 = _swig_property(_Box2D2.b2PrismaticJoint_m_localAnchor2_get, _Box2D2.b2PrismaticJoint_m_localAnchor2_set)
    __swig_setmethods__["m_localXAxis1"] = _Box2D2.b2PrismaticJoint_m_localXAxis1_set
    __swig_getmethods__["m_localXAxis1"] = _Box2D2.b2PrismaticJoint_m_localXAxis1_get
    if _newclass:m_localXAxis1 = _swig_property(_Box2D2.b2PrismaticJoint_m_localXAxis1_get, _Box2D2.b2PrismaticJoint_m_localXAxis1_set)
    __swig_setmethods__["m_localYAxis1"] = _Box2D2.b2PrismaticJoint_m_localYAxis1_set
    __swig_getmethods__["m_localYAxis1"] = _Box2D2.b2PrismaticJoint_m_localYAxis1_get
    if _newclass:m_localYAxis1 = _swig_property(_Box2D2.b2PrismaticJoint_m_localYAxis1_get, _Box2D2.b2PrismaticJoint_m_localYAxis1_set)
    __swig_setmethods__["m_refAngle"] = _Box2D2.b2PrismaticJoint_m_refAngle_set
    __swig_getmethods__["m_refAngle"] = _Box2D2.b2PrismaticJoint_m_refAngle_get
    if _newclass:m_refAngle = _swig_property(_Box2D2.b2PrismaticJoint_m_refAngle_get, _Box2D2.b2PrismaticJoint_m_refAngle_set)
    __swig_setmethods__["m_linearJacobian"] = _Box2D2.b2PrismaticJoint_m_linearJacobian_set
    __swig_getmethods__["m_linearJacobian"] = _Box2D2.b2PrismaticJoint_m_linearJacobian_get
    if _newclass:m_linearJacobian = _swig_property(_Box2D2.b2PrismaticJoint_m_linearJacobian_get, _Box2D2.b2PrismaticJoint_m_linearJacobian_set)
    __swig_setmethods__["m_linearMass"] = _Box2D2.b2PrismaticJoint_m_linearMass_set
    __swig_getmethods__["m_linearMass"] = _Box2D2.b2PrismaticJoint_m_linearMass_get
    if _newclass:m_linearMass = _swig_property(_Box2D2.b2PrismaticJoint_m_linearMass_get, _Box2D2.b2PrismaticJoint_m_linearMass_set)
    __swig_setmethods__["m_force"] = _Box2D2.b2PrismaticJoint_m_force_set
    __swig_getmethods__["m_force"] = _Box2D2.b2PrismaticJoint_m_force_get
    if _newclass:m_force = _swig_property(_Box2D2.b2PrismaticJoint_m_force_get, _Box2D2.b2PrismaticJoint_m_force_set)
    __swig_setmethods__["m_angularMass"] = _Box2D2.b2PrismaticJoint_m_angularMass_set
    __swig_getmethods__["m_angularMass"] = _Box2D2.b2PrismaticJoint_m_angularMass_get
    if _newclass:m_angularMass = _swig_property(_Box2D2.b2PrismaticJoint_m_angularMass_get, _Box2D2.b2PrismaticJoint_m_angularMass_set)
    __swig_setmethods__["m_torque"] = _Box2D2.b2PrismaticJoint_m_torque_set
    __swig_getmethods__["m_torque"] = _Box2D2.b2PrismaticJoint_m_torque_get
    if _newclass:m_torque = _swig_property(_Box2D2.b2PrismaticJoint_m_torque_get, _Box2D2.b2PrismaticJoint_m_torque_set)
    __swig_setmethods__["m_motorJacobian"] = _Box2D2.b2PrismaticJoint_m_motorJacobian_set
    __swig_getmethods__["m_motorJacobian"] = _Box2D2.b2PrismaticJoint_m_motorJacobian_get
    if _newclass:m_motorJacobian = _swig_property(_Box2D2.b2PrismaticJoint_m_motorJacobian_get, _Box2D2.b2PrismaticJoint_m_motorJacobian_set)
    __swig_setmethods__["m_motorMass"] = _Box2D2.b2PrismaticJoint_m_motorMass_set
    __swig_getmethods__["m_motorMass"] = _Box2D2.b2PrismaticJoint_m_motorMass_get
    if _newclass:m_motorMass = _swig_property(_Box2D2.b2PrismaticJoint_m_motorMass_get, _Box2D2.b2PrismaticJoint_m_motorMass_set)
    __swig_setmethods__["m_motorForce"] = _Box2D2.b2PrismaticJoint_m_motorForce_set
    __swig_getmethods__["m_motorForce"] = _Box2D2.b2PrismaticJoint_m_motorForce_get
    if _newclass:m_motorForce = _swig_property(_Box2D2.b2PrismaticJoint_m_motorForce_get, _Box2D2.b2PrismaticJoint_m_motorForce_set)
    __swig_setmethods__["m_limitForce"] = _Box2D2.b2PrismaticJoint_m_limitForce_set
    __swig_getmethods__["m_limitForce"] = _Box2D2.b2PrismaticJoint_m_limitForce_get
    if _newclass:m_limitForce = _swig_property(_Box2D2.b2PrismaticJoint_m_limitForce_get, _Box2D2.b2PrismaticJoint_m_limitForce_set)
    __swig_setmethods__["m_limitPositionImpulse"] = _Box2D2.b2PrismaticJoint_m_limitPositionImpulse_set
    __swig_getmethods__["m_limitPositionImpulse"] = _Box2D2.b2PrismaticJoint_m_limitPositionImpulse_get
    if _newclass:m_limitPositionImpulse = _swig_property(_Box2D2.b2PrismaticJoint_m_limitPositionImpulse_get, _Box2D2.b2PrismaticJoint_m_limitPositionImpulse_set)
    __swig_setmethods__["m_lowerTranslation"] = _Box2D2.b2PrismaticJoint_m_lowerTranslation_set
    __swig_getmethods__["m_lowerTranslation"] = _Box2D2.b2PrismaticJoint_m_lowerTranslation_get
    if _newclass:m_lowerTranslation = _swig_property(_Box2D2.b2PrismaticJoint_m_lowerTranslation_get, _Box2D2.b2PrismaticJoint_m_lowerTranslation_set)
    __swig_setmethods__["m_upperTranslation"] = _Box2D2.b2PrismaticJoint_m_upperTranslation_set
    __swig_getmethods__["m_upperTranslation"] = _Box2D2.b2PrismaticJoint_m_upperTranslation_get
    if _newclass:m_upperTranslation = _swig_property(_Box2D2.b2PrismaticJoint_m_upperTranslation_get, _Box2D2.b2PrismaticJoint_m_upperTranslation_set)
    __swig_setmethods__["m_maxMotorForce"] = _Box2D2.b2PrismaticJoint_m_maxMotorForce_set
    __swig_getmethods__["m_maxMotorForce"] = _Box2D2.b2PrismaticJoint_m_maxMotorForce_get
    if _newclass:m_maxMotorForce = _swig_property(_Box2D2.b2PrismaticJoint_m_maxMotorForce_get, _Box2D2.b2PrismaticJoint_m_maxMotorForce_set)
    __swig_setmethods__["m_motorSpeed"] = _Box2D2.b2PrismaticJoint_m_motorSpeed_set
    __swig_getmethods__["m_motorSpeed"] = _Box2D2.b2PrismaticJoint_m_motorSpeed_get
    if _newclass:m_motorSpeed = _swig_property(_Box2D2.b2PrismaticJoint_m_motorSpeed_get, _Box2D2.b2PrismaticJoint_m_motorSpeed_set)
    __swig_setmethods__["m_enableLimit"] = _Box2D2.b2PrismaticJoint_m_enableLimit_set
    __swig_getmethods__["m_enableLimit"] = _Box2D2.b2PrismaticJoint_m_enableLimit_get
    if _newclass:m_enableLimit = _swig_property(_Box2D2.b2PrismaticJoint_m_enableLimit_get, _Box2D2.b2PrismaticJoint_m_enableLimit_set)
    __swig_setmethods__["m_enableMotor"] = _Box2D2.b2PrismaticJoint_m_enableMotor_set
    __swig_getmethods__["m_enableMotor"] = _Box2D2.b2PrismaticJoint_m_enableMotor_get
    if _newclass:m_enableMotor = _swig_property(_Box2D2.b2PrismaticJoint_m_enableMotor_get, _Box2D2.b2PrismaticJoint_m_enableMotor_set)
    __swig_setmethods__["m_limitState"] = _Box2D2.b2PrismaticJoint_m_limitState_set
    __swig_getmethods__["m_limitState"] = _Box2D2.b2PrismaticJoint_m_limitState_get
    if _newclass:m_limitState = _swig_property(_Box2D2.b2PrismaticJoint_m_limitState_get, _Box2D2.b2PrismaticJoint_m_limitState_set)
    __swig_destroy__ = _Box2D2.delete_b2PrismaticJoint
    __del__ = lambda self : None;
b2PrismaticJoint_swigregister = _Box2D2.b2PrismaticJoint_swigregister
b2PrismaticJoint_swigregister(b2PrismaticJoint)

class b2RevoluteJointDef(b2JointDef):
    """Proxy of C++ b2RevoluteJointDef class"""
    __swig_setmethods__ = {}
    for _s in [b2JointDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2RevoluteJointDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2JointDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2RevoluteJointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2RevoluteJointDef"""
        this = _Box2D2.new_b2RevoluteJointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    def Initialize(*args):
        """Initialize(self, b2Body body1, b2Body body2, b2Vec2 anchor)"""
        return _Box2D2.b2RevoluteJointDef_Initialize(*args)

    __swig_setmethods__["localAnchor1"] = _Box2D2.b2RevoluteJointDef_localAnchor1_set
    __swig_getmethods__["localAnchor1"] = _Box2D2.b2RevoluteJointDef_localAnchor1_get
    if _newclass:localAnchor1 = _swig_property(_Box2D2.b2RevoluteJointDef_localAnchor1_get, _Box2D2.b2RevoluteJointDef_localAnchor1_set)
    __swig_setmethods__["localAnchor2"] = _Box2D2.b2RevoluteJointDef_localAnchor2_set
    __swig_getmethods__["localAnchor2"] = _Box2D2.b2RevoluteJointDef_localAnchor2_get
    if _newclass:localAnchor2 = _swig_property(_Box2D2.b2RevoluteJointDef_localAnchor2_get, _Box2D2.b2RevoluteJointDef_localAnchor2_set)
    __swig_setmethods__["referenceAngle"] = _Box2D2.b2RevoluteJointDef_referenceAngle_set
    __swig_getmethods__["referenceAngle"] = _Box2D2.b2RevoluteJointDef_referenceAngle_get
    if _newclass:referenceAngle = _swig_property(_Box2D2.b2RevoluteJointDef_referenceAngle_get, _Box2D2.b2RevoluteJointDef_referenceAngle_set)
    __swig_setmethods__["enableLimit"] = _Box2D2.b2RevoluteJointDef_enableLimit_set
    __swig_getmethods__["enableLimit"] = _Box2D2.b2RevoluteJointDef_enableLimit_get
    if _newclass:enableLimit = _swig_property(_Box2D2.b2RevoluteJointDef_enableLimit_get, _Box2D2.b2RevoluteJointDef_enableLimit_set)
    __swig_setmethods__["lowerAngle"] = _Box2D2.b2RevoluteJointDef_lowerAngle_set
    __swig_getmethods__["lowerAngle"] = _Box2D2.b2RevoluteJointDef_lowerAngle_get
    if _newclass:lowerAngle = _swig_property(_Box2D2.b2RevoluteJointDef_lowerAngle_get, _Box2D2.b2RevoluteJointDef_lowerAngle_set)
    __swig_setmethods__["upperAngle"] = _Box2D2.b2RevoluteJointDef_upperAngle_set
    __swig_getmethods__["upperAngle"] = _Box2D2.b2RevoluteJointDef_upperAngle_get
    if _newclass:upperAngle = _swig_property(_Box2D2.b2RevoluteJointDef_upperAngle_get, _Box2D2.b2RevoluteJointDef_upperAngle_set)
    __swig_setmethods__["enableMotor"] = _Box2D2.b2RevoluteJointDef_enableMotor_set
    __swig_getmethods__["enableMotor"] = _Box2D2.b2RevoluteJointDef_enableMotor_get
    if _newclass:enableMotor = _swig_property(_Box2D2.b2RevoluteJointDef_enableMotor_get, _Box2D2.b2RevoluteJointDef_enableMotor_set)
    __swig_setmethods__["motorSpeed"] = _Box2D2.b2RevoluteJointDef_motorSpeed_set
    __swig_getmethods__["motorSpeed"] = _Box2D2.b2RevoluteJointDef_motorSpeed_get
    if _newclass:motorSpeed = _swig_property(_Box2D2.b2RevoluteJointDef_motorSpeed_get, _Box2D2.b2RevoluteJointDef_motorSpeed_set)
    __swig_setmethods__["maxMotorTorque"] = _Box2D2.b2RevoluteJointDef_maxMotorTorque_set
    __swig_getmethods__["maxMotorTorque"] = _Box2D2.b2RevoluteJointDef_maxMotorTorque_get
    if _newclass:maxMotorTorque = _swig_property(_Box2D2.b2RevoluteJointDef_maxMotorTorque_get, _Box2D2.b2RevoluteJointDef_maxMotorTorque_set)
    __swig_destroy__ = _Box2D2.delete_b2RevoluteJointDef
    __del__ = lambda self : None;
b2RevoluteJointDef_swigregister = _Box2D2.b2RevoluteJointDef_swigregister
b2RevoluteJointDef_swigregister(b2RevoluteJointDef)

class b2RevoluteJoint(b2Joint):
    """Proxy of C++ b2RevoluteJoint class"""
    __swig_setmethods__ = {}
    for _s in [b2Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2RevoluteJoint, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2RevoluteJoint, name)
    __repr__ = _swig_repr
    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2RevoluteJoint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2RevoluteJoint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2RevoluteJoint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetReactionTorque(*args)

    def GetJointAngle(*args):
        """GetJointAngle(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetJointAngle(*args)

    def GetJointSpeed(*args):
        """GetJointSpeed(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetJointSpeed(*args)

    def IsLimitEnabled(*args):
        """IsLimitEnabled(self) -> bool"""
        return _Box2D2.b2RevoluteJoint_IsLimitEnabled(*args)

    def EnableLimit(*args):
        """EnableLimit(self, bool flag)"""
        return _Box2D2.b2RevoluteJoint_EnableLimit(*args)

    def GetLowerLimit(*args):
        """GetLowerLimit(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetLowerLimit(*args)

    def GetUpperLimit(*args):
        """GetUpperLimit(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetUpperLimit(*args)

    def SetLimits(*args):
        """SetLimits(self, float32 lower, float32 upper)"""
        return _Box2D2.b2RevoluteJoint_SetLimits(*args)

    def IsMotorEnabled(*args):
        """IsMotorEnabled(self) -> bool"""
        return _Box2D2.b2RevoluteJoint_IsMotorEnabled(*args)

    def EnableMotor(*args):
        """EnableMotor(self, bool flag)"""
        return _Box2D2.b2RevoluteJoint_EnableMotor(*args)

    def SetMotorSpeed(*args):
        """SetMotorSpeed(self, float32 speed)"""
        return _Box2D2.b2RevoluteJoint_SetMotorSpeed(*args)

    def GetMotorSpeed(*args):
        """GetMotorSpeed(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetMotorSpeed(*args)

    def SetMaxMotorTorque(*args):
        """SetMaxMotorTorque(self, float32 torque)"""
        return _Box2D2.b2RevoluteJoint_SetMaxMotorTorque(*args)

    def GetMotorTorque(*args):
        """GetMotorTorque(self) -> float32"""
        return _Box2D2.b2RevoluteJoint_GetMotorTorque(*args)

    def __init__(self, *args): 
        """__init__(self, b2RevoluteJointDef def) -> b2RevoluteJoint"""
        this = _Box2D2.new_b2RevoluteJoint(*args)
        try: self.this.append(this)
        except: self.this = this
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2RevoluteJoint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2RevoluteJoint_SolveVelocityConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2RevoluteJoint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_localAnchor1"] = _Box2D2.b2RevoluteJoint_m_localAnchor1_set
    __swig_getmethods__["m_localAnchor1"] = _Box2D2.b2RevoluteJoint_m_localAnchor1_get
    if _newclass:m_localAnchor1 = _swig_property(_Box2D2.b2RevoluteJoint_m_localAnchor1_get, _Box2D2.b2RevoluteJoint_m_localAnchor1_set)
    __swig_setmethods__["m_localAnchor2"] = _Box2D2.b2RevoluteJoint_m_localAnchor2_set
    __swig_getmethods__["m_localAnchor2"] = _Box2D2.b2RevoluteJoint_m_localAnchor2_get
    if _newclass:m_localAnchor2 = _swig_property(_Box2D2.b2RevoluteJoint_m_localAnchor2_get, _Box2D2.b2RevoluteJoint_m_localAnchor2_set)
    __swig_setmethods__["m_pivotForce"] = _Box2D2.b2RevoluteJoint_m_pivotForce_set
    __swig_getmethods__["m_pivotForce"] = _Box2D2.b2RevoluteJoint_m_pivotForce_get
    if _newclass:m_pivotForce = _swig_property(_Box2D2.b2RevoluteJoint_m_pivotForce_get, _Box2D2.b2RevoluteJoint_m_pivotForce_set)
    __swig_setmethods__["m_motorForce"] = _Box2D2.b2RevoluteJoint_m_motorForce_set
    __swig_getmethods__["m_motorForce"] = _Box2D2.b2RevoluteJoint_m_motorForce_get
    if _newclass:m_motorForce = _swig_property(_Box2D2.b2RevoluteJoint_m_motorForce_get, _Box2D2.b2RevoluteJoint_m_motorForce_set)
    __swig_setmethods__["m_limitForce"] = _Box2D2.b2RevoluteJoint_m_limitForce_set
    __swig_getmethods__["m_limitForce"] = _Box2D2.b2RevoluteJoint_m_limitForce_get
    if _newclass:m_limitForce = _swig_property(_Box2D2.b2RevoluteJoint_m_limitForce_get, _Box2D2.b2RevoluteJoint_m_limitForce_set)
    __swig_setmethods__["m_limitPositionImpulse"] = _Box2D2.b2RevoluteJoint_m_limitPositionImpulse_set
    __swig_getmethods__["m_limitPositionImpulse"] = _Box2D2.b2RevoluteJoint_m_limitPositionImpulse_get
    if _newclass:m_limitPositionImpulse = _swig_property(_Box2D2.b2RevoluteJoint_m_limitPositionImpulse_get, _Box2D2.b2RevoluteJoint_m_limitPositionImpulse_set)
    __swig_setmethods__["m_pivotMass"] = _Box2D2.b2RevoluteJoint_m_pivotMass_set
    __swig_getmethods__["m_pivotMass"] = _Box2D2.b2RevoluteJoint_m_pivotMass_get
    if _newclass:m_pivotMass = _swig_property(_Box2D2.b2RevoluteJoint_m_pivotMass_get, _Box2D2.b2RevoluteJoint_m_pivotMass_set)
    __swig_setmethods__["m_motorMass"] = _Box2D2.b2RevoluteJoint_m_motorMass_set
    __swig_getmethods__["m_motorMass"] = _Box2D2.b2RevoluteJoint_m_motorMass_get
    if _newclass:m_motorMass = _swig_property(_Box2D2.b2RevoluteJoint_m_motorMass_get, _Box2D2.b2RevoluteJoint_m_motorMass_set)
    __swig_setmethods__["m_enableMotor"] = _Box2D2.b2RevoluteJoint_m_enableMotor_set
    __swig_getmethods__["m_enableMotor"] = _Box2D2.b2RevoluteJoint_m_enableMotor_get
    if _newclass:m_enableMotor = _swig_property(_Box2D2.b2RevoluteJoint_m_enableMotor_get, _Box2D2.b2RevoluteJoint_m_enableMotor_set)
    __swig_setmethods__["m_maxMotorTorque"] = _Box2D2.b2RevoluteJoint_m_maxMotorTorque_set
    __swig_getmethods__["m_maxMotorTorque"] = _Box2D2.b2RevoluteJoint_m_maxMotorTorque_get
    if _newclass:m_maxMotorTorque = _swig_property(_Box2D2.b2RevoluteJoint_m_maxMotorTorque_get, _Box2D2.b2RevoluteJoint_m_maxMotorTorque_set)
    __swig_setmethods__["m_motorSpeed"] = _Box2D2.b2RevoluteJoint_m_motorSpeed_set
    __swig_getmethods__["m_motorSpeed"] = _Box2D2.b2RevoluteJoint_m_motorSpeed_get
    if _newclass:m_motorSpeed = _swig_property(_Box2D2.b2RevoluteJoint_m_motorSpeed_get, _Box2D2.b2RevoluteJoint_m_motorSpeed_set)
    __swig_setmethods__["m_enableLimit"] = _Box2D2.b2RevoluteJoint_m_enableLimit_set
    __swig_getmethods__["m_enableLimit"] = _Box2D2.b2RevoluteJoint_m_enableLimit_get
    if _newclass:m_enableLimit = _swig_property(_Box2D2.b2RevoluteJoint_m_enableLimit_get, _Box2D2.b2RevoluteJoint_m_enableLimit_set)
    __swig_setmethods__["m_referenceAngle"] = _Box2D2.b2RevoluteJoint_m_referenceAngle_set
    __swig_getmethods__["m_referenceAngle"] = _Box2D2.b2RevoluteJoint_m_referenceAngle_get
    if _newclass:m_referenceAngle = _swig_property(_Box2D2.b2RevoluteJoint_m_referenceAngle_get, _Box2D2.b2RevoluteJoint_m_referenceAngle_set)
    __swig_setmethods__["m_lowerAngle"] = _Box2D2.b2RevoluteJoint_m_lowerAngle_set
    __swig_getmethods__["m_lowerAngle"] = _Box2D2.b2RevoluteJoint_m_lowerAngle_get
    if _newclass:m_lowerAngle = _swig_property(_Box2D2.b2RevoluteJoint_m_lowerAngle_get, _Box2D2.b2RevoluteJoint_m_lowerAngle_set)
    __swig_setmethods__["m_upperAngle"] = _Box2D2.b2RevoluteJoint_m_upperAngle_set
    __swig_getmethods__["m_upperAngle"] = _Box2D2.b2RevoluteJoint_m_upperAngle_get
    if _newclass:m_upperAngle = _swig_property(_Box2D2.b2RevoluteJoint_m_upperAngle_get, _Box2D2.b2RevoluteJoint_m_upperAngle_set)
    __swig_setmethods__["m_limitState"] = _Box2D2.b2RevoluteJoint_m_limitState_set
    __swig_getmethods__["m_limitState"] = _Box2D2.b2RevoluteJoint_m_limitState_get
    if _newclass:m_limitState = _swig_property(_Box2D2.b2RevoluteJoint_m_limitState_get, _Box2D2.b2RevoluteJoint_m_limitState_set)
    __swig_destroy__ = _Box2D2.delete_b2RevoluteJoint
    __del__ = lambda self : None;
b2RevoluteJoint_swigregister = _Box2D2.b2RevoluteJoint_swigregister
b2RevoluteJoint_swigregister(b2RevoluteJoint)

class b2PulleyJointDef(b2JointDef):
    """Proxy of C++ b2PulleyJointDef class"""
    __swig_setmethods__ = {}
    for _s in [b2JointDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PulleyJointDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2JointDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2PulleyJointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2PulleyJointDef"""
        this = _Box2D2.new_b2PulleyJointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    def Initialize(*args):
        """
        Initialize(self, b2Body body1, b2Body body2, b2Vec2 groundAnchor1, b2Vec2 groundAnchor2, 
            b2Vec2 anchor1, b2Vec2 anchor2, 
            float32 ratio)
        """
        return _Box2D2.b2PulleyJointDef_Initialize(*args)

    __swig_setmethods__["groundAnchor1"] = _Box2D2.b2PulleyJointDef_groundAnchor1_set
    __swig_getmethods__["groundAnchor1"] = _Box2D2.b2PulleyJointDef_groundAnchor1_get
    if _newclass:groundAnchor1 = _swig_property(_Box2D2.b2PulleyJointDef_groundAnchor1_get, _Box2D2.b2PulleyJointDef_groundAnchor1_set)
    __swig_setmethods__["groundAnchor2"] = _Box2D2.b2PulleyJointDef_groundAnchor2_set
    __swig_getmethods__["groundAnchor2"] = _Box2D2.b2PulleyJointDef_groundAnchor2_get
    if _newclass:groundAnchor2 = _swig_property(_Box2D2.b2PulleyJointDef_groundAnchor2_get, _Box2D2.b2PulleyJointDef_groundAnchor2_set)
    __swig_setmethods__["localAnchor1"] = _Box2D2.b2PulleyJointDef_localAnchor1_set
    __swig_getmethods__["localAnchor1"] = _Box2D2.b2PulleyJointDef_localAnchor1_get
    if _newclass:localAnchor1 = _swig_property(_Box2D2.b2PulleyJointDef_localAnchor1_get, _Box2D2.b2PulleyJointDef_localAnchor1_set)
    __swig_setmethods__["localAnchor2"] = _Box2D2.b2PulleyJointDef_localAnchor2_set
    __swig_getmethods__["localAnchor2"] = _Box2D2.b2PulleyJointDef_localAnchor2_get
    if _newclass:localAnchor2 = _swig_property(_Box2D2.b2PulleyJointDef_localAnchor2_get, _Box2D2.b2PulleyJointDef_localAnchor2_set)
    __swig_setmethods__["length1"] = _Box2D2.b2PulleyJointDef_length1_set
    __swig_getmethods__["length1"] = _Box2D2.b2PulleyJointDef_length1_get
    if _newclass:length1 = _swig_property(_Box2D2.b2PulleyJointDef_length1_get, _Box2D2.b2PulleyJointDef_length1_set)
    __swig_setmethods__["maxLength1"] = _Box2D2.b2PulleyJointDef_maxLength1_set
    __swig_getmethods__["maxLength1"] = _Box2D2.b2PulleyJointDef_maxLength1_get
    if _newclass:maxLength1 = _swig_property(_Box2D2.b2PulleyJointDef_maxLength1_get, _Box2D2.b2PulleyJointDef_maxLength1_set)
    __swig_setmethods__["length2"] = _Box2D2.b2PulleyJointDef_length2_set
    __swig_getmethods__["length2"] = _Box2D2.b2PulleyJointDef_length2_get
    if _newclass:length2 = _swig_property(_Box2D2.b2PulleyJointDef_length2_get, _Box2D2.b2PulleyJointDef_length2_set)
    __swig_setmethods__["maxLength2"] = _Box2D2.b2PulleyJointDef_maxLength2_set
    __swig_getmethods__["maxLength2"] = _Box2D2.b2PulleyJointDef_maxLength2_get
    if _newclass:maxLength2 = _swig_property(_Box2D2.b2PulleyJointDef_maxLength2_get, _Box2D2.b2PulleyJointDef_maxLength2_set)
    __swig_setmethods__["ratio"] = _Box2D2.b2PulleyJointDef_ratio_set
    __swig_getmethods__["ratio"] = _Box2D2.b2PulleyJointDef_ratio_get
    if _newclass:ratio = _swig_property(_Box2D2.b2PulleyJointDef_ratio_get, _Box2D2.b2PulleyJointDef_ratio_set)
    __swig_destroy__ = _Box2D2.delete_b2PulleyJointDef
    __del__ = lambda self : None;
b2PulleyJointDef_swigregister = _Box2D2.b2PulleyJointDef_swigregister
b2PulleyJointDef_swigregister(b2PulleyJointDef)
b2_minPulleyLength = cvar.b2_minPulleyLength

class b2PulleyJoint(b2Joint):
    """Proxy of C++ b2PulleyJoint class"""
    __swig_setmethods__ = {}
    for _s in [b2Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2PulleyJoint, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2PulleyJoint, name)
    __repr__ = _swig_repr
    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2PulleyJoint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2PulleyJoint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2PulleyJoint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2PulleyJoint_GetReactionTorque(*args)

    def GetGroundAnchor1(*args):
        """GetGroundAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2PulleyJoint_GetGroundAnchor1(*args)

    def GetGroundAnchor2(*args):
        """GetGroundAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2PulleyJoint_GetGroundAnchor2(*args)

    def GetLength1(*args):
        """GetLength1(self) -> float32"""
        return _Box2D2.b2PulleyJoint_GetLength1(*args)

    def GetLength2(*args):
        """GetLength2(self) -> float32"""
        return _Box2D2.b2PulleyJoint_GetLength2(*args)

    def GetRatio(*args):
        """GetRatio(self) -> float32"""
        return _Box2D2.b2PulleyJoint_GetRatio(*args)

    def __init__(self, *args): 
        """__init__(self, b2PulleyJointDef data) -> b2PulleyJoint"""
        this = _Box2D2.new_b2PulleyJoint(*args)
        try: self.this.append(this)
        except: self.this = this
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2PulleyJoint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2PulleyJoint_SolveVelocityConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2PulleyJoint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_ground"] = _Box2D2.b2PulleyJoint_m_ground_set
    __swig_getmethods__["m_ground"] = _Box2D2.b2PulleyJoint_m_ground_get
    if _newclass:m_ground = _swig_property(_Box2D2.b2PulleyJoint_m_ground_get, _Box2D2.b2PulleyJoint_m_ground_set)
    __swig_setmethods__["m_groundAnchor1"] = _Box2D2.b2PulleyJoint_m_groundAnchor1_set
    __swig_getmethods__["m_groundAnchor1"] = _Box2D2.b2PulleyJoint_m_groundAnchor1_get
    if _newclass:m_groundAnchor1 = _swig_property(_Box2D2.b2PulleyJoint_m_groundAnchor1_get, _Box2D2.b2PulleyJoint_m_groundAnchor1_set)
    __swig_setmethods__["m_groundAnchor2"] = _Box2D2.b2PulleyJoint_m_groundAnchor2_set
    __swig_getmethods__["m_groundAnchor2"] = _Box2D2.b2PulleyJoint_m_groundAnchor2_get
    if _newclass:m_groundAnchor2 = _swig_property(_Box2D2.b2PulleyJoint_m_groundAnchor2_get, _Box2D2.b2PulleyJoint_m_groundAnchor2_set)
    __swig_setmethods__["m_localAnchor1"] = _Box2D2.b2PulleyJoint_m_localAnchor1_set
    __swig_getmethods__["m_localAnchor1"] = _Box2D2.b2PulleyJoint_m_localAnchor1_get
    if _newclass:m_localAnchor1 = _swig_property(_Box2D2.b2PulleyJoint_m_localAnchor1_get, _Box2D2.b2PulleyJoint_m_localAnchor1_set)
    __swig_setmethods__["m_localAnchor2"] = _Box2D2.b2PulleyJoint_m_localAnchor2_set
    __swig_getmethods__["m_localAnchor2"] = _Box2D2.b2PulleyJoint_m_localAnchor2_get
    if _newclass:m_localAnchor2 = _swig_property(_Box2D2.b2PulleyJoint_m_localAnchor2_get, _Box2D2.b2PulleyJoint_m_localAnchor2_set)
    __swig_setmethods__["m_u1"] = _Box2D2.b2PulleyJoint_m_u1_set
    __swig_getmethods__["m_u1"] = _Box2D2.b2PulleyJoint_m_u1_get
    if _newclass:m_u1 = _swig_property(_Box2D2.b2PulleyJoint_m_u1_get, _Box2D2.b2PulleyJoint_m_u1_set)
    __swig_setmethods__["m_u2"] = _Box2D2.b2PulleyJoint_m_u2_set
    __swig_getmethods__["m_u2"] = _Box2D2.b2PulleyJoint_m_u2_get
    if _newclass:m_u2 = _swig_property(_Box2D2.b2PulleyJoint_m_u2_get, _Box2D2.b2PulleyJoint_m_u2_set)
    __swig_setmethods__["m_constant"] = _Box2D2.b2PulleyJoint_m_constant_set
    __swig_getmethods__["m_constant"] = _Box2D2.b2PulleyJoint_m_constant_get
    if _newclass:m_constant = _swig_property(_Box2D2.b2PulleyJoint_m_constant_get, _Box2D2.b2PulleyJoint_m_constant_set)
    __swig_setmethods__["m_ratio"] = _Box2D2.b2PulleyJoint_m_ratio_set
    __swig_getmethods__["m_ratio"] = _Box2D2.b2PulleyJoint_m_ratio_get
    if _newclass:m_ratio = _swig_property(_Box2D2.b2PulleyJoint_m_ratio_get, _Box2D2.b2PulleyJoint_m_ratio_set)
    __swig_setmethods__["m_maxLength1"] = _Box2D2.b2PulleyJoint_m_maxLength1_set
    __swig_getmethods__["m_maxLength1"] = _Box2D2.b2PulleyJoint_m_maxLength1_get
    if _newclass:m_maxLength1 = _swig_property(_Box2D2.b2PulleyJoint_m_maxLength1_get, _Box2D2.b2PulleyJoint_m_maxLength1_set)
    __swig_setmethods__["m_maxLength2"] = _Box2D2.b2PulleyJoint_m_maxLength2_set
    __swig_getmethods__["m_maxLength2"] = _Box2D2.b2PulleyJoint_m_maxLength2_get
    if _newclass:m_maxLength2 = _swig_property(_Box2D2.b2PulleyJoint_m_maxLength2_get, _Box2D2.b2PulleyJoint_m_maxLength2_set)
    __swig_setmethods__["m_pulleyMass"] = _Box2D2.b2PulleyJoint_m_pulleyMass_set
    __swig_getmethods__["m_pulleyMass"] = _Box2D2.b2PulleyJoint_m_pulleyMass_get
    if _newclass:m_pulleyMass = _swig_property(_Box2D2.b2PulleyJoint_m_pulleyMass_get, _Box2D2.b2PulleyJoint_m_pulleyMass_set)
    __swig_setmethods__["m_limitMass1"] = _Box2D2.b2PulleyJoint_m_limitMass1_set
    __swig_getmethods__["m_limitMass1"] = _Box2D2.b2PulleyJoint_m_limitMass1_get
    if _newclass:m_limitMass1 = _swig_property(_Box2D2.b2PulleyJoint_m_limitMass1_get, _Box2D2.b2PulleyJoint_m_limitMass1_set)
    __swig_setmethods__["m_limitMass2"] = _Box2D2.b2PulleyJoint_m_limitMass2_set
    __swig_getmethods__["m_limitMass2"] = _Box2D2.b2PulleyJoint_m_limitMass2_get
    if _newclass:m_limitMass2 = _swig_property(_Box2D2.b2PulleyJoint_m_limitMass2_get, _Box2D2.b2PulleyJoint_m_limitMass2_set)
    __swig_setmethods__["m_force"] = _Box2D2.b2PulleyJoint_m_force_set
    __swig_getmethods__["m_force"] = _Box2D2.b2PulleyJoint_m_force_get
    if _newclass:m_force = _swig_property(_Box2D2.b2PulleyJoint_m_force_get, _Box2D2.b2PulleyJoint_m_force_set)
    __swig_setmethods__["m_limitForce1"] = _Box2D2.b2PulleyJoint_m_limitForce1_set
    __swig_getmethods__["m_limitForce1"] = _Box2D2.b2PulleyJoint_m_limitForce1_get
    if _newclass:m_limitForce1 = _swig_property(_Box2D2.b2PulleyJoint_m_limitForce1_get, _Box2D2.b2PulleyJoint_m_limitForce1_set)
    __swig_setmethods__["m_limitForce2"] = _Box2D2.b2PulleyJoint_m_limitForce2_set
    __swig_getmethods__["m_limitForce2"] = _Box2D2.b2PulleyJoint_m_limitForce2_get
    if _newclass:m_limitForce2 = _swig_property(_Box2D2.b2PulleyJoint_m_limitForce2_get, _Box2D2.b2PulleyJoint_m_limitForce2_set)
    __swig_setmethods__["m_positionImpulse"] = _Box2D2.b2PulleyJoint_m_positionImpulse_set
    __swig_getmethods__["m_positionImpulse"] = _Box2D2.b2PulleyJoint_m_positionImpulse_get
    if _newclass:m_positionImpulse = _swig_property(_Box2D2.b2PulleyJoint_m_positionImpulse_get, _Box2D2.b2PulleyJoint_m_positionImpulse_set)
    __swig_setmethods__["m_limitPositionImpulse1"] = _Box2D2.b2PulleyJoint_m_limitPositionImpulse1_set
    __swig_getmethods__["m_limitPositionImpulse1"] = _Box2D2.b2PulleyJoint_m_limitPositionImpulse1_get
    if _newclass:m_limitPositionImpulse1 = _swig_property(_Box2D2.b2PulleyJoint_m_limitPositionImpulse1_get, _Box2D2.b2PulleyJoint_m_limitPositionImpulse1_set)
    __swig_setmethods__["m_limitPositionImpulse2"] = _Box2D2.b2PulleyJoint_m_limitPositionImpulse2_set
    __swig_getmethods__["m_limitPositionImpulse2"] = _Box2D2.b2PulleyJoint_m_limitPositionImpulse2_get
    if _newclass:m_limitPositionImpulse2 = _swig_property(_Box2D2.b2PulleyJoint_m_limitPositionImpulse2_get, _Box2D2.b2PulleyJoint_m_limitPositionImpulse2_set)
    __swig_setmethods__["m_state"] = _Box2D2.b2PulleyJoint_m_state_set
    __swig_getmethods__["m_state"] = _Box2D2.b2PulleyJoint_m_state_get
    if _newclass:m_state = _swig_property(_Box2D2.b2PulleyJoint_m_state_get, _Box2D2.b2PulleyJoint_m_state_set)
    __swig_setmethods__["m_limitState1"] = _Box2D2.b2PulleyJoint_m_limitState1_set
    __swig_getmethods__["m_limitState1"] = _Box2D2.b2PulleyJoint_m_limitState1_get
    if _newclass:m_limitState1 = _swig_property(_Box2D2.b2PulleyJoint_m_limitState1_get, _Box2D2.b2PulleyJoint_m_limitState1_set)
    __swig_setmethods__["m_limitState2"] = _Box2D2.b2PulleyJoint_m_limitState2_set
    __swig_getmethods__["m_limitState2"] = _Box2D2.b2PulleyJoint_m_limitState2_get
    if _newclass:m_limitState2 = _swig_property(_Box2D2.b2PulleyJoint_m_limitState2_get, _Box2D2.b2PulleyJoint_m_limitState2_set)
    __swig_destroy__ = _Box2D2.delete_b2PulleyJoint
    __del__ = lambda self : None;
b2PulleyJoint_swigregister = _Box2D2.b2PulleyJoint_swigregister
b2PulleyJoint_swigregister(b2PulleyJoint)

class b2GearJointDef(b2JointDef):
    """Proxy of C++ b2GearJointDef class"""
    __swig_setmethods__ = {}
    for _s in [b2JointDef]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2GearJointDef, name, value)
    __swig_getmethods__ = {}
    for _s in [b2JointDef]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2GearJointDef, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """__init__(self) -> b2GearJointDef"""
        this = _Box2D2.new_b2GearJointDef(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_setmethods__["joint1"] = _Box2D2.b2GearJointDef_joint1_set
    __swig_getmethods__["joint1"] = _Box2D2.b2GearJointDef_joint1_get
    if _newclass:joint1 = _swig_property(_Box2D2.b2GearJointDef_joint1_get, _Box2D2.b2GearJointDef_joint1_set)
    __swig_setmethods__["joint2"] = _Box2D2.b2GearJointDef_joint2_set
    __swig_getmethods__["joint2"] = _Box2D2.b2GearJointDef_joint2_get
    if _newclass:joint2 = _swig_property(_Box2D2.b2GearJointDef_joint2_get, _Box2D2.b2GearJointDef_joint2_set)
    __swig_setmethods__["ratio"] = _Box2D2.b2GearJointDef_ratio_set
    __swig_getmethods__["ratio"] = _Box2D2.b2GearJointDef_ratio_get
    if _newclass:ratio = _swig_property(_Box2D2.b2GearJointDef_ratio_get, _Box2D2.b2GearJointDef_ratio_set)
    __swig_destroy__ = _Box2D2.delete_b2GearJointDef
    __del__ = lambda self : None;
b2GearJointDef_swigregister = _Box2D2.b2GearJointDef_swigregister
b2GearJointDef_swigregister(b2GearJointDef)

class b2GearJoint(b2Joint):
    """Proxy of C++ b2GearJoint class"""
    __swig_setmethods__ = {}
    for _s in [b2Joint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, b2GearJoint, name, value)
    __swig_getmethods__ = {}
    for _s in [b2Joint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, b2GearJoint, name)
    __repr__ = _swig_repr
    def GetAnchor1(*args):
        """GetAnchor1(self) -> b2Vec2"""
        return _Box2D2.b2GearJoint_GetAnchor1(*args)

    def GetAnchor2(*args):
        """GetAnchor2(self) -> b2Vec2"""
        return _Box2D2.b2GearJoint_GetAnchor2(*args)

    def GetReactionForce(*args):
        """GetReactionForce(self) -> b2Vec2"""
        return _Box2D2.b2GearJoint_GetReactionForce(*args)

    def GetReactionTorque(*args):
        """GetReactionTorque(self) -> float32"""
        return _Box2D2.b2GearJoint_GetReactionTorque(*args)

    def GetRatio(*args):
        """GetRatio(self) -> float32"""
        return _Box2D2.b2GearJoint_GetRatio(*args)

    def __init__(self, *args): 
        """__init__(self, b2GearJointDef data) -> b2GearJoint"""
        this = _Box2D2.new_b2GearJoint(*args)
        try: self.this.append(this)
        except: self.this = this
    def InitVelocityConstraints(*args):
        """InitVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2GearJoint_InitVelocityConstraints(*args)

    def SolveVelocityConstraints(*args):
        """SolveVelocityConstraints(self, b2TimeStep step)"""
        return _Box2D2.b2GearJoint_SolveVelocityConstraints(*args)

    def SolvePositionConstraints(*args):
        """SolvePositionConstraints(self) -> bool"""
        return _Box2D2.b2GearJoint_SolvePositionConstraints(*args)

    __swig_setmethods__["m_ground1"] = _Box2D2.b2GearJoint_m_ground1_set
    __swig_getmethods__["m_ground1"] = _Box2D2.b2GearJoint_m_ground1_get
    if _newclass:m_ground1 = _swig_property(_Box2D2.b2GearJoint_m_ground1_get, _Box2D2.b2GearJoint_m_ground1_set)
    __swig_setmethods__["m_ground2"] = _Box2D2.b2GearJoint_m_ground2_set
    __swig_getmethods__["m_ground2"] = _Box2D2.b2GearJoint_m_ground2_get
    if _newclass:m_ground2 = _swig_property(_Box2D2.b2GearJoint_m_ground2_get, _Box2D2.b2GearJoint_m_ground2_set)
    __swig_setmethods__["m_revolute1"] = _Box2D2.b2GearJoint_m_revolute1_set
    __swig_getmethods__["m_revolute1"] = _Box2D2.b2GearJoint_m_revolute1_get
    if _newclass:m_revolute1 = _swig_property(_Box2D2.b2GearJoint_m_revolute1_get, _Box2D2.b2GearJoint_m_revolute1_set)
    __swig_setmethods__["m_prismatic1"] = _Box2D2.b2GearJoint_m_prismatic1_set
    __swig_getmethods__["m_prismatic1"] = _Box2D2.b2GearJoint_m_prismatic1_get
    if _newclass:m_prismatic1 = _swig_property(_Box2D2.b2GearJoint_m_prismatic1_get, _Box2D2.b2GearJoint_m_prismatic1_set)
    __swig_setmethods__["m_revolute2"] = _Box2D2.b2GearJoint_m_revolute2_set
    __swig_getmethods__["m_revolute2"] = _Box2D2.b2GearJoint_m_revolute2_get
    if _newclass:m_revolute2 = _swig_property(_Box2D2.b2GearJoint_m_revolute2_get, _Box2D2.b2GearJoint_m_revolute2_set)
    __swig_setmethods__["m_prismatic2"] = _Box2D2.b2GearJoint_m_prismatic2_set
    __swig_getmethods__["m_prismatic2"] = _Box2D2.b2GearJoint_m_prismatic2_get
    if _newclass:m_prismatic2 = _swig_property(_Box2D2.b2GearJoint_m_prismatic2_get, _Box2D2.b2GearJoint_m_prismatic2_set)
    __swig_setmethods__["m_groundAnchor1"] = _Box2D2.b2GearJoint_m_groundAnchor1_set
    __swig_getmethods__["m_groundAnchor1"] = _Box2D2.b2GearJoint_m_groundAnchor1_get
    if _newclass:m_groundAnchor1 = _swig_property(_Box2D2.b2GearJoint_m_groundAnchor1_get, _Box2D2.b2GearJoint_m_groundAnchor1_set)
    __swig_setmethods__["m_groundAnchor2"] = _Box2D2.b2GearJoint_m_groundAnchor2_set
    __swig_getmethods__["m_groundAnchor2"] = _Box2D2.b2GearJoint_m_groundAnchor2_get
    if _newclass:m_groundAnchor2 = _swig_property(_Box2D2.b2GearJoint_m_groundAnchor2_get, _Box2D2.b2GearJoint_m_groundAnchor2_set)
    __swig_setmethods__["m_localAnchor1"] = _Box2D2.b2GearJoint_m_localAnchor1_set
    __swig_getmethods__["m_localAnchor1"] = _Box2D2.b2GearJoint_m_localAnchor1_get
    if _newclass:m_localAnchor1 = _swig_property(_Box2D2.b2GearJoint_m_localAnchor1_get, _Box2D2.b2GearJoint_m_localAnchor1_set)
    __swig_setmethods__["m_localAnchor2"] = _Box2D2.b2GearJoint_m_localAnchor2_set
    __swig_getmethods__["m_localAnchor2"] = _Box2D2.b2GearJoint_m_localAnchor2_get
    if _newclass:m_localAnchor2 = _swig_property(_Box2D2.b2GearJoint_m_localAnchor2_get, _Box2D2.b2GearJoint_m_localAnchor2_set)
    __swig_setmethods__["m_J"] = _Box2D2.b2GearJoint_m_J_set
    __swig_getmethods__["m_J"] = _Box2D2.b2GearJoint_m_J_get
    if _newclass:m_J = _swig_property(_Box2D2.b2GearJoint_m_J_get, _Box2D2.b2GearJoint_m_J_set)
    __swig_setmethods__["m_constant"] = _Box2D2.b2GearJoint_m_constant_set
    __swig_getmethods__["m_constant"] = _Box2D2.b2GearJoint_m_constant_get
    if _newclass:m_constant = _swig_property(_Box2D2.b2GearJoint_m_constant_get, _Box2D2.b2GearJoint_m_constant_set)
    __swig_setmethods__["m_ratio"] = _Box2D2.b2GearJoint_m_ratio_set
    __swig_getmethods__["m_ratio"] = _Box2D2.b2GearJoint_m_ratio_get
    if _newclass:m_ratio = _swig_property(_Box2D2.b2GearJoint_m_ratio_get, _Box2D2.b2GearJoint_m_ratio_set)
    __swig_setmethods__["m_mass"] = _Box2D2.b2GearJoint_m_mass_set
    __swig_getmethods__["m_mass"] = _Box2D2.b2GearJoint_m_mass_get
    if _newclass:m_mass = _swig_property(_Box2D2.b2GearJoint_m_mass_get, _Box2D2.b2GearJoint_m_mass_set)
    __swig_setmethods__["m_force"] = _Box2D2.b2GearJoint_m_force_set
    __swig_getmethods__["m_force"] = _Box2D2.b2GearJoint_m_force_get
    if _newclass:m_force = _swig_property(_Box2D2.b2GearJoint_m_force_get, _Box2D2.b2GearJoint_m_force_set)
    __swig_destroy__ = _Box2D2.delete_b2GearJoint
    __del__ = lambda self : None;
b2GearJoint_swigregister = _Box2D2.b2GearJoint_swigregister
b2GearJoint_swigregister(b2GearJoint)