File: Box2D_doxygen.i

package info (click to toggle)
python-box2d 2.3.2~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,596 kB
  • ctags: 5,116
  • sloc: python: 14,384; cpp: 13,393; makefile: 8; sh: 6
file content (2784 lines) | stat: -rw-r--r-- 129,578 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784

// File: index.xml

// File: structb2_a_a_b_b.xml
%feature("docstring") b2AABB "An axis aligned bounding box.";

%feature("docstring") b2AABB::IsValid "Verify that the bounds are sorted.";

%feature("docstring") b2AABB::GetCenter "Get the center of the AABB.";

%feature("docstring") b2AABB::GetExtents "Get the extents of the AABB (half-widths).";

%feature("docstring") b2AABB::GetPerimeter "Get the perimeter length.";

%feature("docstring") b2AABB::Combine "Combine an AABB into this one.";

%feature("docstring") b2AABB::Combine "Combine two AABBs into this one.";

%feature("docstring") b2AABB::Contains "Does this aabb contain the provided AABB.";

%feature("docstring") b2AABB::IsValid "Verify that the bounds are sorted.";

%feature("docstring") b2AABB::GetCenter "Get the center of the AABB.";

%feature("docstring") b2AABB::GetExtents "Get the extents of the AABB (half-widths).";

%feature("docstring") b2AABB::GetPerimeter "Get the perimeter length.";

%feature("docstring") b2AABB::Combine "Combine an AABB into this one.";

%feature("docstring") b2AABB::Combine "Combine two AABBs into this one.";

%feature("docstring") b2AABB::Contains "Does this aabb contain the provided AABB.";


// File: classb2_block_allocator.xml
%feature("docstring") b2BlockAllocator "This is a small object allocator used for allocating small objects that persist for more than one time step. See: http://www.codeproject.com/useritems/Small_Block_Allocator.asp";

%feature("docstring") b2BlockAllocator::Allocate "Allocate memory. This will use b2Alloc if the size is larger than b2_maxBlockSize.";

%feature("docstring") b2BlockAllocator::Free "Free memory. This will use b2Free if the size is larger than b2_maxBlockSize.";

%feature("docstring") b2BlockAllocator::Allocate "Allocate memory. This will use b2Alloc if the size is larger than b2_maxBlockSize.";

%feature("docstring") b2BlockAllocator::Free "Free memory. This will use b2Free if the size is larger than b2_maxBlockSize.";


// File: classb2_body.xml
%feature("docstring") b2Body "A rigid body. These are created via  b2World::CreateBody.";

%feature("docstring") b2Body::CreateFixture "Creates a fixture and attach it to this body. Use this function if you need to set some fixture parameters, like friction. Otherwise you can create the fixture directly from a shape. If the density is non-zero, this function automatically updates the mass of the body. Contacts are not created until the next time step.

Parameters:
-----------

def: 
the fixture definition.

WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2Body::CreateFixture "Creates a fixture from a shape and attach it to this body. This is a convenience function. Use  b2FixtureDefif you need to set parameters like friction, restitution, user data, or filtering. If the density is non-zero, this function automatically updates the mass of the body.

Parameters:
-----------

shape: 
the shape to be cloned.

density: 
the shape density (set to zero for static bodies).

WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2Body::DestroyFixture "Destroy a fixture. This removes the fixture from the broad-phase and destroys all contacts associated with this fixture. This will automatically adjust the mass of the body if the body is dynamic and the fixture has positive density. All fixtures attached to a body are implicitly destroyed when the body is destroyed.

Parameters:
-----------

fixture: 
the fixture to be removed.

WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2Body::SetTransform "Set the position of the body's origin and rotation. This breaks any contacts and wakes the other bodies. Manipulating a body's transform may cause non-physical behavior.

Parameters:
-----------

position: 
the world position of the body's local origin.

angle: 
the world rotation in radians.";

%feature("docstring") b2Body::GetTransform "Get the body transform for the body's origin. 
the world transform of the body's origin.";

%feature("docstring") b2Body::GetPosition "Get the world body origin position. 
the world position of the body's origin.";

%feature("docstring") b2Body::GetAngle "Get the angle in radians. 
the current world rotation angle in radians.";

%feature("docstring") b2Body::GetWorldCenter "Get the world position of the center of mass.";

%feature("docstring") b2Body::GetLocalCenter "Get the local position of the center of mass.";

%feature("docstring") b2Body::SetLinearVelocity "Set the linear velocity of the center of mass.

Parameters:
-----------

v: 
the new linear velocity of the center of mass.";

%feature("docstring") b2Body::GetLinearVelocity "Get the linear velocity of the center of mass. 
the linear velocity of the center of mass.";

%feature("docstring") b2Body::SetAngularVelocity "Set the angular velocity.

Parameters:
-----------

omega: 
the new angular velocity in radians/second.";

%feature("docstring") b2Body::GetAngularVelocity "Get the angular velocity. 
the angular velocity in radians/second.";

%feature("docstring") b2Body::ApplyForce "Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity. This wakes up the body.

Parameters:
-----------

force: 
the world force vector, usually in Newtons (N).

point: 
the world position of the point of application.";

%feature("docstring") b2Body::ApplyTorque "Apply a torque. This affects the angular velocity without affecting the linear velocity of the center of mass. This wakes up the body.

Parameters:
-----------

torque: 
about the z-axis (out of the screen), usually in N-m.";

%feature("docstring") b2Body::ApplyLinearImpulse "Apply an impulse at a point. This immediately modifies the velocity. It also modifies the angular velocity if the point of application is not at the center of mass. This wakes up the body.

Parameters:
-----------

impulse: 
the world impulse vector, usually in N-seconds or kg-m/s.

point: 
the world position of the point of application.";

%feature("docstring") b2Body::ApplyAngularImpulse "Apply an angular impulse.

Parameters:
-----------

impulse: 
the angular impulse in units of kg*m*m/s";

%feature("docstring") b2Body::GetMass "Get the total mass of the body. 
the mass, usually in kilograms (kg).";

%feature("docstring") b2Body::GetInertia "Get the rotational inertia of the body about the local origin. 
the rotational inertia, usually in kg-m^2.";

%feature("docstring") b2Body::GetMassData "Get the mass data of the body. 
a struct containing the mass, inertia and center of the body.";

%feature("docstring") b2Body::SetMassData "Set the mass properties to override the mass properties of the fixtures. Note that this changes the center of mass position. Note that creating or destroying fixtures can also alter the mass. This function has no effect if the body isn't dynamic.

Parameters:
-----------

massData: 
the mass properties.";

%feature("docstring") b2Body::ResetMassData "This resets the mass properties to the sum of the mass properties of the fixtures. This normally does not need to be called unless you called SetMassData to override the mass and you later want to reset the mass.";

%feature("docstring") b2Body::GetWorldPoint "Get the world coordinates of a point given the local coordinates.

Parameters:
-----------

localPoint: 
a point on the body measured relative the the body's origin. 
the same point expressed in world coordinates.";

%feature("docstring") b2Body::GetWorldVector "Get the world coordinates of a vector given the local coordinates.

Parameters:
-----------

localVector: 
a vector fixed in the body. 
the same vector expressed in world coordinates.";

%feature("docstring") b2Body::GetLocalPoint "Gets a local point relative to the body's origin given a world point.

Parameters:
-----------

a: 
point in world coordinates. 
the corresponding local point relative to the body's origin.";

%feature("docstring") b2Body::GetLocalVector "Gets a local vector given a world vector.

Parameters:
-----------

a: 
vector in world coordinates. 
the corresponding local vector.";

%feature("docstring") b2Body::GetLinearVelocityFromWorldPoint "Get the world linear velocity of a world point attached to this body.

Parameters:
-----------

a: 
point in world coordinates. 
the world velocity of a point.";

%feature("docstring") b2Body::GetLinearVelocityFromLocalPoint "Get the world velocity of a local point.

Parameters:
-----------

a: 
point in local coordinates. 
the world velocity of a point.";

%feature("docstring") b2Body::GetLinearDamping "Get the linear damping of the body.";

%feature("docstring") b2Body::SetLinearDamping "Set the linear damping of the body.";

%feature("docstring") b2Body::GetAngularDamping "Get the angular damping of the body.";

%feature("docstring") b2Body::SetAngularDamping "Set the angular damping of the body.";

%feature("docstring") b2Body::SetType "Set the type of this body. This may alter the mass and velocity.";

%feature("docstring") b2Body::GetType "Get the type of this body.";

%feature("docstring") b2Body::SetBullet "Should this body be treated like a bullet for continuous collision detection?";

%feature("docstring") b2Body::IsBullet "Is this body treated like a bullet for continuous collision detection?";

%feature("docstring") b2Body::SetSleepingAllowed "You can disable sleeping on this body. If you disable sleeping, the body will be woken.";

%feature("docstring") b2Body::IsSleepingAllowed "Is this body allowed to sleep.";

%feature("docstring") b2Body::SetAwake "Set the sleep state of the body. A sleeping body has very low CPU cost.

Parameters:
-----------

flag: 
set to true to put body to sleep, false to wake it.";

%feature("docstring") b2Body::IsAwake "Get the sleeping state of this body. 
true if the body is sleeping.";

%feature("docstring") b2Body::SetActive "Set the active state of the body. An inactive body is not simulated and cannot be collided with or woken up. If you pass a flag of true, all fixtures will be added to the broad-phase. If you pass a flag of false, all fixtures will be removed from the broad-phase and all contacts will be destroyed. Fixtures and joints are otherwise unaffected. You may continue to create/destroy fixtures and joints on inactive bodies. Fixtures on an inactive body are implicitly inactive and will not participate in collisions, ray-casts, or queries. Joints connected to an inactive body are implicitly inactive. An inactive body is still owned by a  b2Worldobject and remains in the body list.";

%feature("docstring") b2Body::IsActive "Get the active state of the body.";

%feature("docstring") b2Body::SetFixedRotation "Set this body to have fixed rotation. This causes the mass to be reset.";

%feature("docstring") b2Body::IsFixedRotation "Does this body have fixed rotation?";

%feature("docstring") b2Body::GetFixtureList "Get the list of all fixtures attached to this body.";

%feature("docstring") b2Body::GetJointList "Get the list of all joints attached to this body.";

%feature("docstring") b2Body::GetContactList "Get the list of all contacts attached to this body. 
WARNING: 
this list changes during the time step and you may miss some collisions if you don't use  b2ContactListener.";

%feature("docstring") b2Body::GetNext "Get the next body in the world's body list.";

%feature("docstring") b2Body::GetUserData "Get the user data pointer that was provided in the body definition.";

%feature("docstring") b2Body::SetUserData "Set the user data. Use this to store your application specific data.";

%feature("docstring") b2Body::GetWorld "Get the parent world of this body.";

%feature("docstring") b2Body::CreateFixture "Creates a fixture and attach it to this body. Use this function if you need to set some fixture parameters, like friction. Otherwise you can create the fixture directly from a shape. If the density is non-zero, this function automatically updates the mass of the body. Contacts are not created until the next time step.

Parameters:
-----------

def: 
the fixture definition.

WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2Body::CreateFixture "Creates a fixture from a shape and attach it to this body. This is a convenience function. Use  b2FixtureDefif you need to set parameters like friction, restitution, user data, or filtering. If the density is non-zero, this function automatically updates the mass of the body.

Parameters:
-----------

shape: 
the shape to be cloned.

density: 
the shape density (set to zero for static bodies).

WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2Body::DestroyFixture "Destroy a fixture. This removes the fixture from the broad-phase and destroys all contacts associated with this fixture. This will automatically adjust the mass of the body if the body is dynamic and the fixture has positive density. All fixtures attached to a body are implicitly destroyed when the body is destroyed.

Parameters:
-----------

fixture: 
the fixture to be removed.

WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2Body::SetTransform "Set the position of the body's origin and rotation. This breaks any contacts and wakes the other bodies. Manipulating a body's transform may cause non-physical behavior.

Parameters:
-----------

position: 
the world position of the body's local origin.

angle: 
the world rotation in radians.";

%feature("docstring") b2Body::GetTransform "Get the body transform for the body's origin. 
the world transform of the body's origin.";

%feature("docstring") b2Body::GetPosition "Get the world body origin position. 
the world position of the body's origin.";

%feature("docstring") b2Body::GetAngle "Get the angle in radians. 
the current world rotation angle in radians.";

%feature("docstring") b2Body::GetWorldCenter "Get the world position of the center of mass.";

%feature("docstring") b2Body::GetLocalCenter "Get the local position of the center of mass.";

%feature("docstring") b2Body::SetLinearVelocity "Set the linear velocity of the center of mass.

Parameters:
-----------

v: 
the new linear velocity of the center of mass.";

%feature("docstring") b2Body::GetLinearVelocity "Get the linear velocity of the center of mass. 
the linear velocity of the center of mass.";

%feature("docstring") b2Body::SetAngularVelocity "Set the angular velocity.

Parameters:
-----------

omega: 
the new angular velocity in radians/second.";

%feature("docstring") b2Body::GetAngularVelocity "Get the angular velocity. 
the angular velocity in radians/second.";

%feature("docstring") b2Body::ApplyForce "Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity. This wakes up the body.

Parameters:
-----------

force: 
the world force vector, usually in Newtons (N).

point: 
the world position of the point of application.";

%feature("docstring") b2Body::ApplyTorque "Apply a torque. This affects the angular velocity without affecting the linear velocity of the center of mass. This wakes up the body.

Parameters:
-----------

torque: 
about the z-axis (out of the screen), usually in N-m.";

%feature("docstring") b2Body::ApplyLinearImpulse "Apply an impulse at a point. This immediately modifies the velocity. It also modifies the angular velocity if the point of application is not at the center of mass. This wakes up the body.

Parameters:
-----------

impulse: 
the world impulse vector, usually in N-seconds or kg-m/s.

point: 
the world position of the point of application.";

%feature("docstring") b2Body::ApplyAngularImpulse "Apply an angular impulse.

Parameters:
-----------

impulse: 
the angular impulse in units of kg*m*m/s";

%feature("docstring") b2Body::GetMass "Get the total mass of the body. 
the mass, usually in kilograms (kg).";

%feature("docstring") b2Body::GetInertia "Get the rotational inertia of the body about the local origin. 
the rotational inertia, usually in kg-m^2.";

%feature("docstring") b2Body::GetMassData "Get the mass data of the body. 
a struct containing the mass, inertia and center of the body.";

%feature("docstring") b2Body::SetMassData "Set the mass properties to override the mass properties of the fixtures. Note that this changes the center of mass position. Note that creating or destroying fixtures can also alter the mass. This function has no effect if the body isn't dynamic.

Parameters:
-----------

massData: 
the mass properties.";

%feature("docstring") b2Body::ResetMassData "This resets the mass properties to the sum of the mass properties of the fixtures. This normally does not need to be called unless you called SetMassData to override the mass and you later want to reset the mass.";

%feature("docstring") b2Body::GetWorldPoint "Get the world coordinates of a point given the local coordinates.

Parameters:
-----------

localPoint: 
a point on the body measured relative the the body's origin. 
the same point expressed in world coordinates.";

%feature("docstring") b2Body::GetWorldVector "Get the world coordinates of a vector given the local coordinates.

Parameters:
-----------

localVector: 
a vector fixed in the body. 
the same vector expressed in world coordinates.";

%feature("docstring") b2Body::GetLocalPoint "Gets a local point relative to the body's origin given a world point.

Parameters:
-----------

a: 
point in world coordinates. 
the corresponding local point relative to the body's origin.";

%feature("docstring") b2Body::GetLocalVector "Gets a local vector given a world vector.

Parameters:
-----------

a: 
vector in world coordinates. 
the corresponding local vector.";

%feature("docstring") b2Body::GetLinearVelocityFromWorldPoint "Get the world linear velocity of a world point attached to this body.

Parameters:
-----------

a: 
point in world coordinates. 
the world velocity of a point.";

%feature("docstring") b2Body::GetLinearVelocityFromLocalPoint "Get the world velocity of a local point.

Parameters:
-----------

a: 
point in local coordinates. 
the world velocity of a point.";

%feature("docstring") b2Body::GetLinearDamping "Get the linear damping of the body.";

%feature("docstring") b2Body::SetLinearDamping "Set the linear damping of the body.";

%feature("docstring") b2Body::GetAngularDamping "Get the angular damping of the body.";

%feature("docstring") b2Body::SetAngularDamping "Set the angular damping of the body.";

%feature("docstring") b2Body::SetType "Set the type of this body. This may alter the mass and velocity.";

%feature("docstring") b2Body::GetType "Get the type of this body.";

%feature("docstring") b2Body::SetBullet "Should this body be treated like a bullet for continuous collision detection?";

%feature("docstring") b2Body::IsBullet "Is this body treated like a bullet for continuous collision detection?";

%feature("docstring") b2Body::SetSleepingAllowed "You can disable sleeping on this body. If you disable sleeping, the body will be woken.";

%feature("docstring") b2Body::IsSleepingAllowed "Is this body allowed to sleep.";

%feature("docstring") b2Body::SetAwake "Set the sleep state of the body. A sleeping body has very low CPU cost.

Parameters:
-----------

flag: 
set to true to put body to sleep, false to wake it.";

%feature("docstring") b2Body::IsAwake "Get the sleeping state of this body. 
true if the body is sleeping.";

%feature("docstring") b2Body::SetActive "Set the active state of the body. An inactive body is not simulated and cannot be collided with or woken up. If you pass a flag of true, all fixtures will be added to the broad-phase. If you pass a flag of false, all fixtures will be removed from the broad-phase and all contacts will be destroyed. Fixtures and joints are otherwise unaffected. You may continue to create/destroy fixtures and joints on inactive bodies. Fixtures on an inactive body are implicitly inactive and will not participate in collisions, ray-casts, or queries. Joints connected to an inactive body are implicitly inactive. An inactive body is still owned by a  b2Worldobject and remains in the body list.";

%feature("docstring") b2Body::IsActive "Get the active state of the body.";

%feature("docstring") b2Body::SetFixedRotation "Set this body to have fixed rotation. This causes the mass to be reset.";

%feature("docstring") b2Body::IsFixedRotation "Does this body have fixed rotation?";

%feature("docstring") b2Body::GetFixtureList "Get the list of all fixtures attached to this body.";

%feature("docstring") b2Body::GetJointList "Get the list of all joints attached to this body.";

%feature("docstring") b2Body::GetContactList "Get the list of all contacts attached to this body. 
WARNING: 
this list changes during the time step and you may miss some collisions if you don't use  b2ContactListener.";

%feature("docstring") b2Body::GetNext "Get the next body in the world's body list.";

%feature("docstring") b2Body::GetUserData "Get the user data pointer that was provided in the body definition.";

%feature("docstring") b2Body::SetUserData "Set the user data. Use this to store your application specific data.";

%feature("docstring") b2Body::GetWorld "Get the parent world of this body.";


// File: structb2_body_def.xml
%feature("docstring") b2BodyDef "A body definition holds all the data needed to construct a rigid body. You can safely re-use body definitions. Shapes are added to a body after construction.";

%feature("docstring") b2BodyDef::b2BodyDef "This constructor sets the body definition default values.";

%feature("docstring") b2BodyDef::b2BodyDef "This constructor sets the body definition default values.";


// File: classb2_broad_phase.xml
%feature("docstring") b2BroadPhase "The broad-phase is used for computing pairs and performing volume queries and ray casts. This broad-phase does not persist pairs. Instead, this reports potentially new pairs. It is up to the client to consume the new pairs and to track subsequent overlap.";

%feature("docstring") b2BroadPhase::CreateProxy "Create a proxy with an initial AABB. Pairs are not reported until UpdatePairs is called.";

%feature("docstring") b2BroadPhase::DestroyProxy "Destroy a proxy. It is up to the client to remove any pairs.";

%feature("docstring") b2BroadPhase::MoveProxy "Call MoveProxy as many times as you like, then when you are done call UpdatePairs to finalized the proxy pairs (for your time step).";

%feature("docstring") b2BroadPhase::TouchProxy "Call to trigger a re-processing of it's pairs on the next call to UpdatePairs.";

%feature("docstring") b2BroadPhase::GetFatAABB "Get the fat AABB for a proxy.";

%feature("docstring") b2BroadPhase::GetUserData "Get user data from a proxy. Returns NULL if the id is invalid.";

%feature("docstring") b2BroadPhase::TestOverlap "Test overlap of fat AABBs.";

%feature("docstring") b2BroadPhase::GetProxyCount "Get the number of proxies.";

%feature("docstring") b2BroadPhase::UpdatePairs "Update the pairs. This results in pair callbacks. This can only add pairs.";

%feature("docstring") b2BroadPhase::Query "Query an AABB for overlapping proxies. The callback class is called for each proxy that overlaps the supplied AABB.";

%feature("docstring") b2BroadPhase::RayCast "Ray-cast against the proxies in the tree. This relies on the callback to perform a exact ray-cast in the case were the proxy contains a shape. The callback also performs the any collision filtering. This has performance roughly equal to k * log(n), where k is the number of collisions and n is the number of proxies in the tree.

Parameters:
-----------

input: 
the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

callback: 
a callback class that is called for each proxy that is hit by the ray.";

%feature("docstring") b2BroadPhase::ComputeHeight "Compute the height of the embedded tree.";

%feature("docstring") b2BroadPhase::CreateProxy "Create a proxy with an initial AABB. Pairs are not reported until UpdatePairs is called.";

%feature("docstring") b2BroadPhase::DestroyProxy "Destroy a proxy. It is up to the client to remove any pairs.";

%feature("docstring") b2BroadPhase::MoveProxy "Call MoveProxy as many times as you like, then when you are done call UpdatePairs to finalized the proxy pairs (for your time step).";

%feature("docstring") b2BroadPhase::TouchProxy "Call to trigger a re-processing of it's pairs on the next call to UpdatePairs.";

%feature("docstring") b2BroadPhase::GetFatAABB "Get the fat AABB for a proxy.";

%feature("docstring") b2BroadPhase::GetUserData "Get user data from a proxy. Returns NULL if the id is invalid.";

%feature("docstring") b2BroadPhase::TestOverlap "Test overlap of fat AABBs.";

%feature("docstring") b2BroadPhase::GetProxyCount "Get the number of proxies.";

%feature("docstring") b2BroadPhase::UpdatePairs "Update the pairs. This results in pair callbacks. This can only add pairs.";

%feature("docstring") b2BroadPhase::Query "Query an AABB for overlapping proxies. The callback class is called for each proxy that overlaps the supplied AABB.";

%feature("docstring") b2BroadPhase::RayCast "Ray-cast against the proxies in the tree. This relies on the callback to perform a exact ray-cast in the case were the proxy contains a shape. The callback also performs the any collision filtering. This has performance roughly equal to k * log(n), where k is the number of collisions and n is the number of proxies in the tree.

Parameters:
-----------

input: 
the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

callback: 
a callback class that is called for each proxy that is hit by the ray.";

%feature("docstring") b2BroadPhase::ComputeHeight "Compute the height of the embedded tree.";


// File: classb2_circle_shape.xml
%feature("docstring") b2CircleShape "A circle shape.";

%feature("docstring") b2CircleShape::Clone "Implement  b2Shape.";

%feature("docstring") b2CircleShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2CircleShape::TestPoint "Implement  b2Shape.";

%feature("docstring") b2CircleShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2CircleShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2CircleShape::ComputeMass "

See: 
 b2Shape::ComputeMass";

%feature("docstring") b2CircleShape::GetSupport "Get the supporting vertex index in the given direction.";

%feature("docstring") b2CircleShape::GetSupportVertex "Get the supporting vertex in the given direction.";

%feature("docstring") b2CircleShape::GetVertexCount "Get the vertex count.";

%feature("docstring") b2CircleShape::GetVertex "Get a vertex by index. Used by b2Distance.";

%feature("docstring") b2CircleShape::Clone "Implement  b2Shape.";

%feature("docstring") b2CircleShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2CircleShape::TestPoint "Implement  b2Shape.";

%feature("docstring") b2CircleShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2CircleShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2CircleShape::ComputeMass "

See: 
 b2Shape::ComputeMass";

%feature("docstring") b2CircleShape::GetSupport "Get the supporting vertex index in the given direction.";

%feature("docstring") b2CircleShape::GetSupportVertex "Get the supporting vertex in the given direction.";

%feature("docstring") b2CircleShape::GetVertexCount "Get the vertex count.";

%feature("docstring") b2CircleShape::GetVertex "Get a vertex by index. Used by b2Distance.";


// File: structb2_clip_vertex.xml
%feature("docstring") b2ClipVertex "Used for computing contact manifolds.";


// File: structb2_color.xml
%feature("docstring") b2Color "Color for debug drawing. Each value has the range [0,1].";


// File: classb2_contact.xml
%feature("docstring") b2Contact "The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.";

%feature("docstring") b2Contact::GetManifold "Get the contact manifold. Do not modify the manifold unless you understand the internals of Box2D.";

%feature("docstring") b2Contact::GetWorldManifold "Get the world manifold.";

%feature("docstring") b2Contact::IsTouching "Is this contact touching?";

%feature("docstring") b2Contact::SetEnabled "Enable/disable this contact. This can be used inside the pre-solve contact listener. The contact is only disabled for the current time step (or sub-step in continuous collisions).";

%feature("docstring") b2Contact::IsEnabled "Has this contact been disabled?";

%feature("docstring") b2Contact::GetNext "Get the next contact in the world's contact list.";

%feature("docstring") b2Contact::GetFixtureA "Get fixture A in this contact.";

%feature("docstring") b2Contact::GetChildIndexA "Get the child primitive index for fixture A.";

%feature("docstring") b2Contact::GetFixtureB "Get fixture B in this contact.";

%feature("docstring") b2Contact::GetChildIndexB "Get the child primitive index for fixture B.";

%feature("docstring") b2Contact::SetFriction "Override the default friction mixture. You can call this in  b2ContactListener::PreSolve. This value persists until set or reset.";

%feature("docstring") b2Contact::GetFriction "Get the friction.";

%feature("docstring") b2Contact::ResetFriction "Reset the friction mixture to the default value.";

%feature("docstring") b2Contact::SetRestitution "Override the default restitution mixture. You can call this in  b2ContactListener::PreSolve. The value persists until you set or reset.";

%feature("docstring") b2Contact::GetRestitution "Get the restitution.";

%feature("docstring") b2Contact::ResetRestitution "Reset the restitution to the default value.";

%feature("docstring") b2Contact::Evaluate "Evaluate this contact with your own manifold and transforms.";

%feature("docstring") b2Contact::GetManifold "Get the contact manifold. Do not modify the manifold unless you understand the internals of Box2D.";

%feature("docstring") b2Contact::GetWorldManifold "Get the world manifold.";

%feature("docstring") b2Contact::IsTouching "Is this contact touching?";

%feature("docstring") b2Contact::SetEnabled "Enable/disable this contact. This can be used inside the pre-solve contact listener. The contact is only disabled for the current time step (or sub-step in continuous collisions).";

%feature("docstring") b2Contact::IsEnabled "Has this contact been disabled?";

%feature("docstring") b2Contact::GetNext "Get the next contact in the world's contact list.";

%feature("docstring") b2Contact::GetFixtureA "Get fixture A in this contact.";

%feature("docstring") b2Contact::GetChildIndexA "Get the child primitive index for fixture A.";

%feature("docstring") b2Contact::GetFixtureB "Get fixture B in this contact.";

%feature("docstring") b2Contact::GetChildIndexB "Get the child primitive index for fixture B.";

%feature("docstring") b2Contact::Evaluate "Evaluate this contact with your own manifold and transforms.";


// File: structb2_contact_edge.xml
%feature("docstring") b2ContactEdge "A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body.";


// File: structb2_contact_feature.xml
%feature("docstring") b2ContactFeature "The features that intersect to form the contact point This must be 4 bytes or less.";


// File: classb2_contact_filter.xml
%feature("docstring") b2ContactFilter "Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.";

%feature("docstring") b2ContactFilter::ShouldCollide "Return true if contact calculations should be performed between these two shapes. 
WARNING: 
for performance reasons this is only called when the AABBs begin to overlap.";

%feature("docstring") b2ContactFilter::ShouldCollide "Return true if contact calculations should be performed between these two shapes. 
WARNING: 
for performance reasons this is only called when the AABBs begin to overlap.";


// File: structb2_contact_impulse.xml
%feature("docstring") b2ContactImpulse "Contact impulses for reporting. Impulses are used instead of forces because sub-step forces may approach infinity for rigid body collisions. These match up one-to-one with the contact points in  b2Manifold.";


// File: classb2_contact_listener.xml
%feature("docstring") b2ContactListener "Implement this class to get contact information. You can use these results for things like sounds and game logic. You can also get contact results by traversing the contact lists after the time step. However, you might miss some contacts because continuous physics leads to sub-stepping. Additionally you may receive multiple callbacks for the same contact in a single time step. You should strive to make your callbacks efficient because there may be many callbacks per time step. 
WARNING: 
You cannot create/destroy Box2D entities inside these callbacks.";

%feature("docstring") b2ContactListener::BeginContact "Called when two fixtures begin to touch.";

%feature("docstring") b2ContactListener::EndContact "Called when two fixtures cease to touch.";

%feature("docstring") b2ContactListener::PreSolve "This is called after a contact is updated. This allows you to inspect a contact before it goes to the solver. If you are careful, you can modify the contact manifold (e.g. disable contact). A copy of the old manifold is provided so that you can detect changes. Note: this is called only for awake bodies. Note: this is called even when the number of contact points is zero. Note: this is not called for sensors. Note: if you set the number of contact points to zero, you will not get an EndContact callback. However, you may get a BeginContact callback the next step.";

%feature("docstring") b2ContactListener::PostSolve "This lets you inspect a contact after the solver is finished. This is useful for inspecting impulses. Note: the contact manifold does not include time of impact impulses, which can be arbitrarily large if the sub-step is small. Hence the impulse is provided explicitly in a separate data structure. Note: this is only called for contacts that are touching, solid, and awake.";

%feature("docstring") b2ContactListener::BeginContact "Called when two fixtures begin to touch.";

%feature("docstring") b2ContactListener::EndContact "Called when two fixtures cease to touch.";

%feature("docstring") b2ContactListener::PreSolve "This is called after a contact is updated. This allows you to inspect a contact before it goes to the solver. If you are careful, you can modify the contact manifold (e.g. disable contact). A copy of the old manifold is provided so that you can detect changes. Note: this is called only for awake bodies. Note: this is called even when the number of contact points is zero. Note: this is not called for sensors. Note: if you set the number of contact points to zero, you will not get an EndContact callback. However, you may get a BeginContact callback the next step.";

%feature("docstring") b2ContactListener::PostSolve "This lets you inspect a contact after the solver is finished. This is useful for inspecting impulses. Note: the contact manifold does not include time of impact impulses, which can be arbitrarily large if the sub-step is small. Hence the impulse is provided explicitly in a separate data structure. Note: this is only called for contacts that are touching, solid, and awake.";


// File: classb2_destruction_listener.xml
%feature("docstring") b2DestructionListener "Joints and fixtures are destroyed when their associated body is destroyed. Implement this listener so that you may nullify references to these joints and shapes.";

%feature("docstring") b2DestructionListener::SayGoodbye "Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.";

%feature("docstring") b2DestructionListener::SayGoodbye "Called when any fixture is about to be destroyed due to the destruction of its parent body.";

%feature("docstring") b2DestructionListener::SayGoodbye "Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.";

%feature("docstring") b2DestructionListener::SayGoodbye "Called when any fixture is about to be destroyed due to the destruction of its parent body.";


// File: structb2_distance_input.xml
%feature("docstring") b2DistanceInput "Input for b2Distance. You have to option to use the shape radii in the computation. Even";


// File: classb2_distance_joint.xml
%feature("docstring") b2DistanceJoint "A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.";

%feature("docstring") b2DistanceJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2DistanceJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2DistanceJoint::GetReactionForce "Get the reaction force given the inverse time step. Unit is N.";

%feature("docstring") b2DistanceJoint::GetReactionTorque "Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a distance joint.";

%feature("docstring") b2DistanceJoint::SetLength "Set/get the natural length. Manipulating the length can lead to non-physical behavior when the frequency is zero.";

%feature("docstring") b2DistanceJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2DistanceJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2DistanceJoint::GetReactionForce "Get the reaction force given the inverse time step. Unit is N.";

%feature("docstring") b2DistanceJoint::GetReactionTorque "Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a distance joint.";

%feature("docstring") b2DistanceJoint::SetLength "Set/get the natural length. Manipulating the length can lead to non-physical behavior when the frequency is zero.";


// File: structb2_distance_joint_def.xml
%feature("docstring") b2DistanceJointDef "Distance joint definition. This requires defining an anchor point on both bodies and the non-zero length of the distance joint. The definition uses local anchor points so that the initial configuration can violate the constraint slightly. This helps when saving and loading a game. 
WARNING: 
Do not use a zero or short length.";

%feature("docstring") b2DistanceJointDef::Initialize "Initialize the bodies, anchors, and length using the world anchors.";

%feature("docstring") b2DistanceJointDef::Initialize "Initialize the bodies, anchors, and length using the world anchors.";


// File: structb2_distance_output.xml
%feature("docstring") b2DistanceOutput "Output for b2Distance.";


// File: structb2_distance_proxy.xml
%feature("docstring") b2DistanceProxy "A distance proxy is used by the GJK algorithm. It encapsulates any shape.";

%feature("docstring") b2DistanceProxy::Set "Initialize the proxy using the given shape. The shape must remain in scope while the proxy is in use.";

%feature("docstring") b2DistanceProxy::GetSupport "Get the supporting vertex index in the given direction.";

%feature("docstring") b2DistanceProxy::GetSupportVertex "Get the supporting vertex in the given direction.";

%feature("docstring") b2DistanceProxy::GetVertexCount "Get the vertex count.";

%feature("docstring") b2DistanceProxy::GetVertex "Get a vertex by index. Used by b2Distance.";

%feature("docstring") b2DistanceProxy::Set "Initialize the proxy using the given shape. The shape must remain in scope while the proxy is in use.";

%feature("docstring") b2DistanceProxy::GetSupport "Get the supporting vertex index in the given direction.";

%feature("docstring") b2DistanceProxy::GetSupportVertex "Get the supporting vertex in the given direction.";

%feature("docstring") b2DistanceProxy::GetVertexCount "Get the vertex count.";

%feature("docstring") b2DistanceProxy::GetVertex "Get a vertex by index. Used by b2Distance.";


// File: classb2_draw.xml
%feature("docstring") b2Draw "Implement and register this class with a  b2Worldto provide debug drawing of physics entities in your game.";

%feature("docstring") b2Draw::SetFlags "Set the drawing flags.";

%feature("docstring") b2Draw::GetFlags "Get the drawing flags.";

%feature("docstring") b2Draw::AppendFlags "Append flags to the current flags.";

%feature("docstring") b2Draw::ClearFlags "Clear flags from the current flags.";

%feature("docstring") b2Draw::DrawPolygon "Draw a closed polygon provided in CCW order.";

%feature("docstring") b2Draw::DrawSolidPolygon "Draw a solid closed polygon provided in CCW order.";

%feature("docstring") b2Draw::DrawCircle "Draw a circle.";

%feature("docstring") b2Draw::DrawSolidCircle "Draw a solid circle.";

%feature("docstring") b2Draw::DrawSegment "Draw a line segment.";

%feature("docstring") b2Draw::DrawTransform "Draw a transform. Choose your own length scale.

Parameters:
-----------

xf: 
a transform.";

%feature("docstring") b2Draw::SetFlags "Set the drawing flags.";

%feature("docstring") b2Draw::GetFlags "Get the drawing flags.";

%feature("docstring") b2Draw::AppendFlags "Append flags to the current flags.";

%feature("docstring") b2Draw::ClearFlags "Clear flags from the current flags.";

%feature("docstring") b2Draw::DrawPolygon "Draw a closed polygon provided in CCW order.";

%feature("docstring") b2Draw::DrawSolidPolygon "Draw a solid closed polygon provided in CCW order.";

%feature("docstring") b2Draw::DrawCircle "Draw a circle.";

%feature("docstring") b2Draw::DrawSolidCircle "Draw a solid circle.";

%feature("docstring") b2Draw::DrawSegment "Draw a line segment.";

%feature("docstring") b2Draw::DrawTransform "Draw a transform. Choose your own length scale.

Parameters:
-----------

xf: 
a transform.";


// File: classb2_dynamic_tree.xml
%feature("docstring") b2DynamicTree "A dynamic tree arranges data in a binary tree to accelerate queries such as volume queries and ray casts. Leafs are proxies with an AABB. In the tree we expand the proxy AABB by b2_fatAABBFactor so that the proxy AABB is bigger than the client object. This allows the client object to move by small amounts without triggering a tree update.
Nodes are pooled and relocatable, so we use node indices rather than pointers.";

%feature("docstring") b2DynamicTree::b2DynamicTree "Constructing the tree initializes the node pool.";

%feature("docstring") b2DynamicTree::~b2DynamicTree "Destroy the tree, freeing the node pool.";

%feature("docstring") b2DynamicTree::CreateProxy "Create a proxy. Provide a tight fitting AABB and a userData pointer.";

%feature("docstring") b2DynamicTree::DestroyProxy "Destroy a proxy. This asserts if the id is invalid.";

%feature("docstring") b2DynamicTree::MoveProxy "Move a proxy with a swepted AABB. If the proxy has moved outside of its fattened AABB, then the proxy is removed from the tree and re-inserted. Otherwise the function returns immediately. 
true if the proxy was re-inserted.";

%feature("docstring") b2DynamicTree::Rebalance "Perform some iterations to re-balance the tree.";

%feature("docstring") b2DynamicTree::GetUserData "Get proxy user data. 
the proxy user data or 0 if the id is invalid.";

%feature("docstring") b2DynamicTree::GetFatAABB "Get the fat AABB for a proxy.";

%feature("docstring") b2DynamicTree::ComputeHeight "Compute the height of the binary tree in O(N) time. Should not be called often.";

%feature("docstring") b2DynamicTree::Query "Query an AABB for overlapping proxies. The callback class is called for each proxy that overlaps the supplied AABB.";

%feature("docstring") b2DynamicTree::RayCast "Ray-cast against the proxies in the tree. This relies on the callback to perform a exact ray-cast in the case were the proxy contains a shape. The callback also performs the any collision filtering. This has performance roughly equal to k * log(n), where k is the number of collisions and n is the number of proxies in the tree.

Parameters:
-----------

input: 
the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

callback: 
a callback class that is called for each proxy that is hit by the ray.";

%feature("docstring") b2DynamicTree::b2DynamicTree "Constructing the tree initializes the node pool.";

%feature("docstring") b2DynamicTree::~b2DynamicTree "Destroy the tree, freeing the node pool.";

%feature("docstring") b2DynamicTree::CreateProxy "Create a proxy. Provide a tight fitting AABB and a userData pointer.";

%feature("docstring") b2DynamicTree::DestroyProxy "Destroy a proxy. This asserts if the id is invalid.";

%feature("docstring") b2DynamicTree::MoveProxy "Move a proxy with a swepted AABB. If the proxy has moved outside of its fattened AABB, then the proxy is removed from the tree and re-inserted. Otherwise the function returns immediately. 
true if the proxy was re-inserted.";

%feature("docstring") b2DynamicTree::Rebalance "Perform some iterations to re-balance the tree.";

%feature("docstring") b2DynamicTree::GetUserData "Get proxy user data. 
the proxy user data or 0 if the id is invalid.";

%feature("docstring") b2DynamicTree::GetFatAABB "Get the fat AABB for a proxy.";

%feature("docstring") b2DynamicTree::ComputeHeight "Compute the height of the binary tree in O(N) time. Should not be called often.";

%feature("docstring") b2DynamicTree::Query "Query an AABB for overlapping proxies. The callback class is called for each proxy that overlaps the supplied AABB.";

%feature("docstring") b2DynamicTree::RayCast "Ray-cast against the proxies in the tree. This relies on the callback to perform a exact ray-cast in the case were the proxy contains a shape. The callback also performs the any collision filtering. This has performance roughly equal to k * log(n), where k is the number of collisions and n is the number of proxies in the tree.

Parameters:
-----------

input: 
the ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

callback: 
a callback class that is called for each proxy that is hit by the ray.";


// File: structb2_dynamic_tree_node.xml
%feature("docstring") b2DynamicTreeNode "A node in the dynamic tree. The client does not interact with this directly. 
A dynamic AABB tree broad-phase, inspired by Nathanael Presson's btDbvt.";


// File: classb2_edge_shape.xml
%feature("docstring") b2EdgeShape "A line segment (edge) shape. These can be connected in chains or loops to other edge shapes. The connectivity information is used to ensure correct contact normals.";

%feature("docstring") b2EdgeShape::Set "Set this as an isolated edge.";

%feature("docstring") b2EdgeShape::Clone "Implement  b2Shape.";

%feature("docstring") b2EdgeShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2EdgeShape::TestPoint "

See: 
 b2Shape::TestPoint";

%feature("docstring") b2EdgeShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2EdgeShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2EdgeShape::ComputeMass "

See: 
 b2Shape::ComputeMass";

%feature("docstring") b2EdgeShape::Set "Set this as an isolated edge.";

%feature("docstring") b2EdgeShape::Clone "Implement  b2Shape.";

%feature("docstring") b2EdgeShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2EdgeShape::TestPoint "

See: 
 b2Shape::TestPoint";

%feature("docstring") b2EdgeShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2EdgeShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2EdgeShape::ComputeMass "

See: 
 b2Shape::ComputeMass";


// File: structb2_filter.xml
%feature("docstring") b2Filter "This holds contact filtering data.";


// File: classb2_fixture.xml
%feature("docstring") b2Fixture "A fixture is used to attach a shape to a body for collision detection. A fixture inherits its transform from its parent. Fixtures hold additional non-geometric data such as friction, collision filters, etc. Fixtures are created via  b2Body::CreateFixture. 
WARNING: 
you cannot reuse fixtures.";

%feature("docstring") b2Fixture::GetType "Get the type of the child shape. You can use this to down cast to the concrete shape. 
the shape type.";

%feature("docstring") b2Fixture::GetShape "Get the child shape. You can modify the child shape, however you should not change the number of vertices because this will crash some collision caching mechanisms. Manipulating the shape may lead to non-physical behavior.";

%feature("docstring") b2Fixture::SetSensor "Set if this fixture is a sensor.";

%feature("docstring") b2Fixture::IsSensor "Is this fixture a sensor (non-solid)? 
the true if the shape is a sensor.";

%feature("docstring") b2Fixture::SetFilterData "Set the contact filtering data. This will not update contacts until the next time step when either parent body is active and awake. This automatically calls Refilter.";

%feature("docstring") b2Fixture::GetFilterData "Get the contact filtering data.";

%feature("docstring") b2Fixture::Refilter "Call this if you want to establish collision that was previously disabled by  b2ContactFilter::ShouldCollide.";

%feature("docstring") b2Fixture::GetBody "Get the parent body of this fixture. This is NULL if the fixture is not attached. 
the parent body.";

%feature("docstring") b2Fixture::GetNext "Get the next fixture in the parent body's fixture list. 
the next shape.";

%feature("docstring") b2Fixture::GetUserData "Get the user data that was assigned in the fixture definition. Use this to store your application specific data.";

%feature("docstring") b2Fixture::SetUserData "Set the user data. Use this to store your application specific data.";

%feature("docstring") b2Fixture::TestPoint "Test a point for containment in this fixture.

Parameters:
-----------

p: 
a point in world coordinates.";

%feature("docstring") b2Fixture::RayCast "Cast a ray against this shape.

Parameters:
-----------

output: 
the ray-cast results.

input: 
the ray-cast input parameters.";

%feature("docstring") b2Fixture::GetMassData "Get the mass data for this fixture. The mass data is based on the density and the shape. The rotational inertia is about the shape's origin. This operation may be expensive.";

%feature("docstring") b2Fixture::SetDensity "Set the density of this fixture. This will _not_ automatically adjust the mass of the body. You must call  b2Body::ResetMassDatato update the body's mass.";

%feature("docstring") b2Fixture::GetDensity "Get the density of this fixture.";

%feature("docstring") b2Fixture::GetFriction "Get the coefficient of friction.";

%feature("docstring") b2Fixture::SetFriction "Set the coefficient of friction. This will immediately update the mixed friction on all associated contacts.";

%feature("docstring") b2Fixture::GetRestitution "Get the coefficient of restitution.";

%feature("docstring") b2Fixture::SetRestitution "Set the coefficient of restitution. This will immediately update the mixed restitution on all associated contacts.";

%feature("docstring") b2Fixture::GetAABB "Get the fixture's AABB. This AABB may be enlarge and/or stale. If you need a more accurate AABB, compute it using the shape and the body transform.";

%feature("docstring") b2Fixture::GetType "Get the type of the child shape. You can use this to down cast to the concrete shape. 
the shape type.";

%feature("docstring") b2Fixture::GetShape "Get the child shape. You can modify the child shape, however you should not change the number of vertices because this will crash some collision caching mechanisms. Manipulating the shape may lead to non-physical behavior.";

%feature("docstring") b2Fixture::SetSensor "Set if this fixture is a sensor.";

%feature("docstring") b2Fixture::IsSensor "Is this fixture a sensor (non-solid)? 
the true if the shape is a sensor.";

%feature("docstring") b2Fixture::SetFilterData "Set the contact filtering data. This will not update contacts until the next time step when either parent body is active and awake. This automatically calls Refilter.";

%feature("docstring") b2Fixture::GetFilterData "Get the contact filtering data.";

%feature("docstring") b2Fixture::Refilter "Call this if you want to establish collision that was previously disabled by  b2ContactFilter::ShouldCollide.";

%feature("docstring") b2Fixture::GetBody "Get the parent body of this fixture. This is NULL if the fixture is not attached. 
the parent body.";

%feature("docstring") b2Fixture::GetNext "Get the next fixture in the parent body's fixture list. 
the next shape.";

%feature("docstring") b2Fixture::GetUserData "Get the user data that was assigned in the fixture definition. Use this to store your application specific data.";

%feature("docstring") b2Fixture::SetUserData "Set the user data. Use this to store your application specific data.";

%feature("docstring") b2Fixture::TestPoint "Test a point for containment in this fixture.

Parameters:
-----------

p: 
a point in world coordinates.";

%feature("docstring") b2Fixture::RayCast "Cast a ray against this shape.

Parameters:
-----------

output: 
the ray-cast results.

input: 
the ray-cast input parameters.";

%feature("docstring") b2Fixture::GetMassData "Get the mass data for this fixture. The mass data is based on the density and the shape. The rotational inertia is about the shape's origin. This operation may be expensive.";

%feature("docstring") b2Fixture::SetDensity "Set the density of this fixture. This will _not_ automatically adjust the mass of the body. You must call  b2Body::ResetMassDatato update the body's mass.";

%feature("docstring") b2Fixture::GetDensity "Get the density of this fixture.";

%feature("docstring") b2Fixture::GetFriction "Get the coefficient of friction.";

%feature("docstring") b2Fixture::SetFriction "Set the coefficient of friction. This will immediately update the mixed friction on all associated contacts.";

%feature("docstring") b2Fixture::GetRestitution "Get the coefficient of restitution.";

%feature("docstring") b2Fixture::SetRestitution "Set the coefficient of restitution. This will immediately update the mixed restitution on all associated contacts.";

%feature("docstring") b2Fixture::GetAABB "Get the fixture's AABB. This AABB may be enlarge and/or stale. If you need a more accurate AABB, compute it using the shape and the body transform.";


// File: structb2_fixture_def.xml
%feature("docstring") b2FixtureDef "A fixture definition is used to create a fixture. This class defines an abstract fixture definition. You can reuse fixture definitions safely.";

%feature("docstring") b2FixtureDef::b2FixtureDef "The constructor sets the default fixture definition values.";

%feature("docstring") b2FixtureDef::b2FixtureDef "The constructor sets the default fixture definition values.";


// File: structb2_fixture_proxy.xml
%feature("docstring") b2FixtureProxy "This proxy is used internally to connect fixtures to the broad-phase.";


// File: classb2_friction_joint.xml
%feature("docstring") b2FrictionJoint "Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction.";

%feature("docstring") b2FrictionJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2FrictionJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2FrictionJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2FrictionJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2FrictionJoint::SetMaxForce "Set the maximum friction force in N.";

%feature("docstring") b2FrictionJoint::GetMaxForce "Get the maximum friction force in N.";

%feature("docstring") b2FrictionJoint::SetMaxTorque "Set the maximum friction torque in N*m.";

%feature("docstring") b2FrictionJoint::GetMaxTorque "Get the maximum friction torque in N*m.";

%feature("docstring") b2FrictionJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2FrictionJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2FrictionJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2FrictionJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2FrictionJoint::SetMaxForce "Set the maximum friction force in N.";

%feature("docstring") b2FrictionJoint::GetMaxForce "Get the maximum friction force in N.";

%feature("docstring") b2FrictionJoint::SetMaxTorque "Set the maximum friction torque in N*m.";

%feature("docstring") b2FrictionJoint::GetMaxTorque "Get the maximum friction torque in N*m.";


// File: structb2_friction_joint_def.xml
%feature("docstring") b2FrictionJointDef "Friction joint definition.";

%feature("docstring") b2FrictionJointDef::Initialize "Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.";

%feature("docstring") b2FrictionJointDef::Initialize "Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.";


// File: classb2_gear_joint.xml
%feature("docstring") b2GearJoint "A gear joint is used to connect two joints together. Either joint can be a revolute or prismatic joint. You specify a gear ratio to bind the motions together: coordinate1 + ratio * coordinate2 = constant The ratio can be negative or positive. If one joint is a revolute joint and the other joint is a prismatic joint, then the ratio will have units of length or units of 1/length. 
WARNING: 
The revolute and prismatic joints must be attached to fixed bodies (which must be body1 on those joints).";

%feature("docstring") b2GearJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2GearJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2GearJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2GearJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2GearJoint::SetRatio "Set/Get the gear ratio.";

%feature("docstring") b2GearJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2GearJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2GearJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2GearJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2GearJoint::SetRatio "Set/Get the gear ratio.";


// File: structb2_gear_joint_def.xml
%feature("docstring") b2GearJointDef "Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work). The provided joints must attach a dynamic body to a static body.";


// File: classb2_growable_stack.xml
%feature("docstring") b2GrowableStack "This is a growable LIFO stack with an initial capacity of N. If the stack size exceeds the initial capacity, the heap is used to increase the size of the stack.";


// File: classb2_island.xml
%feature("docstring") b2Island "This is an internal class.";


// File: classb2_joint.xml
%feature("docstring") b2Joint "The base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors.";

%feature("docstring") b2Joint::GetType "Get the type of the concrete joint.";

%feature("docstring") b2Joint::GetBodyA "Get the first body attached to this joint.";

%feature("docstring") b2Joint::GetBodyB "Get the second body attached to this joint.";

%feature("docstring") b2Joint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2Joint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2Joint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2Joint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2Joint::GetNext "Get the next joint the world joint list.";

%feature("docstring") b2Joint::GetUserData "Get the user data pointer.";

%feature("docstring") b2Joint::SetUserData "Set the user data pointer.";

%feature("docstring") b2Joint::IsActive "Short-cut function to determine if either body is inactive.";

%feature("docstring") b2Joint::GetType "Get the type of the concrete joint.";

%feature("docstring") b2Joint::GetBodyA "Get the first body attached to this joint.";

%feature("docstring") b2Joint::GetBodyB "Get the second body attached to this joint.";

%feature("docstring") b2Joint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2Joint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2Joint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2Joint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2Joint::GetNext "Get the next joint the world joint list.";

%feature("docstring") b2Joint::GetUserData "Get the user data pointer.";

%feature("docstring") b2Joint::SetUserData "Set the user data pointer.";

%feature("docstring") b2Joint::IsActive "Short-cut function to determine if either body is inactive.";


// File: structb2_joint_def.xml
%feature("docstring") b2JointDef "Joint definitions are used to construct joints.";


// File: structb2_joint_edge.xml
%feature("docstring") b2JointEdge "A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge. A joint edge belongs to a doubly linked list maintained in each attached body. Each joint has two joint nodes, one for each attached body.";


// File: classb2_line_joint.xml
%feature("docstring") b2WheelJoint "A line joint. This joint provides two degrees of freedom: translation along an axis fixed in body1 and rotation in the plane. You can use a joint limit to restrict the range of motion and a joint motor to drive the rotation or to model rotational friction. This joint is designed for vehicle suspensions.";

%feature("docstring") b2WheelJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2WheelJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2WheelJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2WheelJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2WheelJoint::GetJointTranslation "Get the current joint translation, usually in meters.";

%feature("docstring") b2WheelJoint::GetJointSpeed "Get the current joint translation speed, usually in meters per second.";

%feature("docstring") b2WheelJoint::IsMotorEnabled "Is the joint motor enabled?";

%feature("docstring") b2WheelJoint::EnableMotor "Enable/disable the joint motor.";

%feature("docstring") b2WheelJoint::SetMotorSpeed "Set the motor speed, usually in radians per second.";

%feature("docstring") b2WheelJoint::GetMotorSpeed "Get the motor speed, usually in radians per second.";

%feature("docstring") b2WheelJoint::SetMaxMotorTorque "Set/Get the maximum motor force, usually in N-m.";

%feature("docstring") b2WheelJoint::GetMotorTorque "Get the current motor torque given the inverse time step, usually in N-m.";

%feature("docstring") b2WheelJoint::SetSpringFrequencyHz "Set/Get the spring frequency in hertz. Setting the frequency to zero disables the spring.";

%feature("docstring") b2WheelJoint::SetSpringDampingRatio "Set/Get the spring damping ratio.";

%feature("docstring") b2WheelJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2WheelJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2WheelJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2WheelJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2WheelJoint::GetJointTranslation "Get the current joint translation, usually in meters.";

%feature("docstring") b2WheelJoint::GetJointSpeed "Get the current joint translation speed, usually in meters per second.";

%feature("docstring") b2WheelJoint::IsMotorEnabled "Is the joint motor enabled?";

%feature("docstring") b2WheelJoint::EnableMotor "Enable/disable the joint motor.";

%feature("docstring") b2WheelJoint::SetMotorSpeed "Set the motor speed, usually in radians per second.";

%feature("docstring") b2WheelJoint::GetMotorSpeed "Get the motor speed, usually in radians per second.";

%feature("docstring") b2WheelJoint::SetMaxMotorTorque "Set/Get the maximum motor force, usually in N-m.";

%feature("docstring") b2WheelJoint::GetMotorTorque "Get the current motor torque given the inverse time step, usually in N-m.";

%feature("docstring") b2WheelJoint::SetSpringFrequencyHz "Set/Get the spring frequency in hertz. Setting the frequency to zero disables the spring.";

%feature("docstring") b2WheelJoint::SetSpringDampingRatio "Set/Get the spring damping ratio.";


// File: structb2_line_joint_def.xml
%feature("docstring") b2WheelJointDef "Line joint definition. This requires defining a line of motion using an axis and an anchor point. The definition uses local anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a game.";

%feature("docstring") b2WheelJointDef::Initialize "Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.";

%feature("docstring") b2WheelJointDef::Initialize "Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.";


// File: classb2_loop_shape.xml
%feature("docstring") b2ChainShape "A loop shape is a free form sequence of line segments that form a circular list. The loop may cross upon itself, but this is not recommended for smooth collision. The loop has double sided collision, so you can use inside and outside collision. Therefore, you may use any winding order. Since there may be many vertices, they are allocated using b2Alloc.";

%feature("docstring") b2ChainShape::~b2ChainShape "The destructor frees the vertices using b2Free.";

%feature("docstring") b2ChainShape::Create "Create the loop shape, copy all vertices.";

%feature("docstring") b2ChainShape::Clone "Implement  b2Shape. Vertices are cloned using b2Alloc.";

%feature("docstring") b2ChainShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2ChainShape::GetChildEdge "Get a child edge.";

%feature("docstring") b2ChainShape::TestPoint "This always return false. 
See: 
 b2Shape::TestPoint";

%feature("docstring") b2ChainShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2ChainShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2ChainShape::ComputeMass "Chains have zero mass. 
See: 
 b2Shape::ComputeMass";

%feature("docstring") b2ChainShape::GetCount "Get the number of vertices.";

%feature("docstring") b2ChainShape::GetVertex "Get the vertices (read-only).";

%feature("docstring") b2ChainShape::GetVertices "Get the vertices (read-only).";

%feature("docstring") b2ChainShape::~b2ChainShape "The destructor frees the vertices using b2Free.";

%feature("docstring") b2ChainShape::Create "Create the loop shape, copy all vertices.";

%feature("docstring") b2ChainShape::Clone "Implement  b2Shape. Vertices are cloned using b2Alloc.";

%feature("docstring") b2ChainShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2ChainShape::GetChildEdge "Get a child edge.";

%feature("docstring") b2ChainShape::TestPoint "This always return false. 
See: 
 b2Shape::TestPoint";

%feature("docstring") b2ChainShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2ChainShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2ChainShape::ComputeMass "Chains have zero mass. 
See: 
 b2Shape::ComputeMass";

%feature("docstring") b2ChainShape::GetCount "Get the number of vertices.";

%feature("docstring") b2ChainShape::GetVertex "Get the vertices (read-only).";

%feature("docstring") b2ChainShape::GetVertices "Get the vertices (read-only).";


// File: structb2_manifold.xml
%feature("docstring") b2Manifold "A manifold for two touching convex shapes. Box2D supports multiple types of contact:
clip point versus plane with radius
point versus point with radius (circles) The local point usage depends on the manifold type: -e_circles: the local center of circleA -e_faceA: the center of faceA -e_faceB: the center of faceB Similarly the local normal usage: -e_circles: not used -e_faceA: the normal on polygonA -e_faceB: the normal on polygonB We store contacts in this way so that position correction can account for movement, which is critical for continuous physics. All contact scenarios must be expressed in one of these types. This structure is stored across time steps, so we keep it small.";


// File: structb2_manifold_point.xml
%feature("docstring") b2ManifoldPoint "A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. The local point usage depends on the manifold type: -e_circles: the local center of circleB -e_faceA: the local center of cirlceB or the clip point of polygonB -e_faceB: the clip point of polygonA This structure is stored across time steps, so we keep it small. Note: the impulses are used for internal caching and may not provide reliable contact forces, especially for high speed collisions.";


// File: structb2_mass_data.xml
%feature("docstring") b2MassData "This holds the mass data computed for a shape.";


// File: structb2_mat22.xml
%feature("docstring") b2Mat22 "A 2-by-2 matrix. Stored in column-major order.";

%feature("docstring") b2Mat22::b2Mat22 "The default constructor does nothing (for performance).";

%feature("docstring") b2Mat22::b2Mat22 "Construct this matrix using columns.";

%feature("docstring") b2Mat22::b2Mat22 "Construct this matrix using scalars.";

%feature("docstring") b2Mat22::b2Mat22 "Construct this matrix using an angle. This matrix becomes an orthonormal rotation matrix.";

%feature("docstring") b2Mat22::Set "Initialize this matrix using columns.";

%feature("docstring") b2Mat22::Set "Initialize this matrix using an angle. This matrix becomes an orthonormal rotation matrix.";

%feature("docstring") b2Mat22::SetIdentity "Set this to the identity matrix.";

%feature("docstring") b2Mat22::SetZero "Set this matrix to all zeros.";

%feature("docstring") b2Mat22::GetAngle "Extract the angle from this matrix (assumed to be a rotation matrix).";

%feature("docstring") b2Mat22::Solve "Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.";

%feature("docstring") b2Mat22::b2Mat22 "The default constructor does nothing (for performance).";

%feature("docstring") b2Mat22::b2Mat22 "Construct this matrix using columns.";

%feature("docstring") b2Mat22::b2Mat22 "Construct this matrix using scalars.";

%feature("docstring") b2Mat22::b2Mat22 "Construct this matrix using an angle. This matrix becomes an orthonormal rotation matrix.";

%feature("docstring") b2Mat22::Set "Initialize this matrix using columns.";

%feature("docstring") b2Mat22::Set "Initialize this matrix using an angle. This matrix becomes an orthonormal rotation matrix.";

%feature("docstring") b2Mat22::SetIdentity "Set this to the identity matrix.";

%feature("docstring") b2Mat22::SetZero "Set this matrix to all zeros.";

%feature("docstring") b2Mat22::GetAngle "Extract the angle from this matrix (assumed to be a rotation matrix).";

%feature("docstring") b2Mat22::Solve "Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.";


// File: structb2_mat33.xml
%feature("docstring") b2Mat33 "A 3-by-3 matrix. Stored in column-major order.";

%feature("docstring") b2Mat33::b2Mat33 "The default constructor does nothing (for performance).";

%feature("docstring") b2Mat33::b2Mat33 "Construct this matrix using columns.";

%feature("docstring") b2Mat33::SetZero "Set this matrix to all zeros.";

%feature("docstring") b2Mat33::Solve33 "Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.";

%feature("docstring") b2Mat33::Solve22 "Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.
Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.";

%feature("docstring") b2Mat33::b2Mat33 "The default constructor does nothing (for performance).";

%feature("docstring") b2Mat33::b2Mat33 "Construct this matrix using columns.";

%feature("docstring") b2Mat33::SetZero "Set this matrix to all zeros.";

%feature("docstring") b2Mat33::Solve33 "Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.";

%feature("docstring") b2Mat33::Solve22 "Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.";


// File: classb2_mouse_joint.xml
%feature("docstring") b2MouseJoint "A mouse joint is used to make a point on a body track a specified world point. This a soft constraint with a maximum force. This allows the constraint to stretch and without applying huge forces. NOTE: this joint is not documented in the manual because it was developed to be used in the testbed. If you want to learn how to use the mouse joint, look at the testbed.";

%feature("docstring") b2MouseJoint::GetAnchorA "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::GetAnchorB "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::GetReactionForce "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::GetReactionTorque "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::SetTarget "Use this to update the target point.";

%feature("docstring") b2MouseJoint::SetMaxForce "Set/get the maximum force in Newtons.";

%feature("docstring") b2MouseJoint::SetFrequency "Set/get the frequency in Hertz.";

%feature("docstring") b2MouseJoint::SetDampingRatio "Set/get the damping ratio (dimensionless).";

%feature("docstring") b2MouseJoint::GetAnchorA "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::GetAnchorB "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::GetReactionForce "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::GetReactionTorque "Implements  b2Joint.";

%feature("docstring") b2MouseJoint::SetTarget "Use this to update the target point.";

%feature("docstring") b2MouseJoint::SetMaxForce "Set/get the maximum force in Newtons.";

%feature("docstring") b2MouseJoint::SetFrequency "Set/get the frequency in Hertz.";

%feature("docstring") b2MouseJoint::SetDampingRatio "Set/get the damping ratio (dimensionless).";


// File: structb2_mouse_joint_def.xml
%feature("docstring") b2MouseJointDef "Mouse joint definition. This requires a world target point, tuning parameters, and the time step.";


// File: classb2_polygon_shape.xml
%feature("docstring") b2PolygonShape "A convex polygon. It is assumed that the interior of the polygon is to the left of each edge. Polygons have a maximum number of vertices equal to b2_maxPolygonVertices. In most cases you should not need many vertices for a convex polygon.";

%feature("docstring") b2PolygonShape::Clone "Implement  b2Shape.";

%feature("docstring") b2PolygonShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2PolygonShape::Set "Copy vertices. This assumes the vertices define a convex polygon. It is assumed that the exterior is the the right of each edge. The count must be in the range [3, b2_maxPolygonVertices].";

%feature("docstring") b2PolygonShape::SetAsBox "Build vertices to represent an axis-aligned box.

Parameters:
-----------

hx: 
the half-width.

hy: 
the half-height.";

%feature("docstring") b2PolygonShape::SetAsBox "Build vertices to represent an oriented box.

Parameters:
-----------

hx: 
the half-width.

hy: 
the half-height.

center: 
the center of the box in local coordinates.

angle: 
the rotation of the box in local coordinates.";

%feature("docstring") b2PolygonShape::TestPoint "

See: 
 b2Shape::TestPoint";

%feature("docstring") b2PolygonShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2PolygonShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2PolygonShape::ComputeMass "

See: 
 b2Shape::ComputeMass";

%feature("docstring") b2PolygonShape::GetVertexCount "Get the vertex count.";

%feature("docstring") b2PolygonShape::GetVertex "Get a vertex by index.";

%feature("docstring") b2PolygonShape::Clone "Implement  b2Shape.";

%feature("docstring") b2PolygonShape::GetChildCount "

See: 
 b2Shape::GetChildCount";

%feature("docstring") b2PolygonShape::Set "Copy vertices. This assumes the vertices define a convex polygon. It is assumed that the exterior is the the right of each edge. The count must be in the range [3, b2_maxPolygonVertices].";

%feature("docstring") b2PolygonShape::SetAsBox "Build vertices to represent an axis-aligned box.

Parameters:
-----------

hx: 
the half-width.

hy: 
the half-height.";

%feature("docstring") b2PolygonShape::SetAsBox "Build vertices to represent an oriented box.

Parameters:
-----------

hx: 
the half-width.

hy: 
the half-height.

center: 
the center of the box in local coordinates.

angle: 
the rotation of the box in local coordinates.";

%feature("docstring") b2PolygonShape::TestPoint "

See: 
 b2Shape::TestPoint";

%feature("docstring") b2PolygonShape::RayCast "Implement  b2Shape.";

%feature("docstring") b2PolygonShape::ComputeAABB "

See: 
 b2Shape::ComputeAABB";

%feature("docstring") b2PolygonShape::ComputeMass "

See: 
 b2Shape::ComputeMass";

%feature("docstring") b2PolygonShape::GetVertexCount "Get the vertex count.";

%feature("docstring") b2PolygonShape::GetVertex "Get a vertex by index.";


// File: structb2_position.xml
%feature("docstring") b2Position "This is an internal structure.";


// File: classb2_prismatic_joint.xml
%feature("docstring") b2PrismaticJoint "A prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in body1. Relative rotation is prevented. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction.";

%feature("docstring") b2PrismaticJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2PrismaticJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2PrismaticJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2PrismaticJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2PrismaticJoint::GetJointTranslation "Get the current joint translation, usually in meters.";

%feature("docstring") b2PrismaticJoint::GetJointSpeed "Get the current joint translation speed, usually in meters per second.";

%feature("docstring") b2PrismaticJoint::IsLimitEnabled "Is the joint limit enabled?";

%feature("docstring") b2PrismaticJoint::EnableLimit "Enable/disable the joint limit.";

%feature("docstring") b2PrismaticJoint::GetLowerLimit "Get the lower joint limit, usually in meters.";

%feature("docstring") b2PrismaticJoint::GetUpperLimit "Get the upper joint limit, usually in meters.";

%feature("docstring") b2PrismaticJoint::SetLimits "Set the joint limits, usually in meters.";

%feature("docstring") b2PrismaticJoint::IsMotorEnabled "Is the joint motor enabled?";

%feature("docstring") b2PrismaticJoint::EnableMotor "Enable/disable the joint motor.";

%feature("docstring") b2PrismaticJoint::SetMotorSpeed "Set the motor speed, usually in meters per second.";

%feature("docstring") b2PrismaticJoint::GetMotorSpeed "Get the motor speed, usually in meters per second.";

%feature("docstring") b2PrismaticJoint::SetMaxMotorForce "Set the maximum motor force, usually in N.";

%feature("docstring") b2PrismaticJoint::GetMotorForce "Get the current motor force given the inverse time step, usually in N.";

%feature("docstring") b2PrismaticJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2PrismaticJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2PrismaticJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2PrismaticJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2PrismaticJoint::GetJointTranslation "Get the current joint translation, usually in meters.";

%feature("docstring") b2PrismaticJoint::GetJointSpeed "Get the current joint translation speed, usually in meters per second.";

%feature("docstring") b2PrismaticJoint::IsLimitEnabled "Is the joint limit enabled?";

%feature("docstring") b2PrismaticJoint::EnableLimit "Enable/disable the joint limit.";

%feature("docstring") b2PrismaticJoint::GetLowerLimit "Get the lower joint limit, usually in meters.";

%feature("docstring") b2PrismaticJoint::GetUpperLimit "Get the upper joint limit, usually in meters.";

%feature("docstring") b2PrismaticJoint::SetLimits "Set the joint limits, usually in meters.";

%feature("docstring") b2PrismaticJoint::IsMotorEnabled "Is the joint motor enabled?";

%feature("docstring") b2PrismaticJoint::EnableMotor "Enable/disable the joint motor.";

%feature("docstring") b2PrismaticJoint::SetMotorSpeed "Set the motor speed, usually in meters per second.";

%feature("docstring") b2PrismaticJoint::GetMotorSpeed "Get the motor speed, usually in meters per second.";

%feature("docstring") b2PrismaticJoint::SetMaxMotorForce "Set the maximum motor force, usually in N.";

%feature("docstring") b2PrismaticJoint::GetMotorForce "Get the current motor force given the inverse time step, usually in N.";


// File: structb2_prismatic_joint_def.xml
%feature("docstring") b2PrismaticJointDef "Prismatic joint definition. This requires defining a line of motion using an axis and an anchor point. The definition uses local anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a game. 
WARNING: 
at least one body should by dynamic with a non-fixed rotation.";

%feature("docstring") b2PrismaticJointDef::Initialize "Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.";

%feature("docstring") b2PrismaticJointDef::Initialize "Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.";


// File: classb2_pulley_joint.xml
%feature("docstring") b2PulleyJoint "The pulley joint is connected to two bodies and two fixed ground points. The pulley supports a ratio such that: length1 + ratio * length2 <= constant Yes, the force transmitted is scaled by the ratio. The pulley also enforces a maximum length limit on both sides. This is useful to prevent one side of the pulley hitting the top.";

%feature("docstring") b2PulleyJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2PulleyJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2PulleyJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2PulleyJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2PulleyJoint::GetGroundAnchorA "Get the first ground anchor.";

%feature("docstring") b2PulleyJoint::GetGroundAnchorB "Get the second ground anchor.";

%feature("docstring") b2PulleyJoint::GetLength1 "Get the current length of the segment attached to body1.";

%feature("docstring") b2PulleyJoint::GetLength2 "Get the current length of the segment attached to body2.";

%feature("docstring") b2PulleyJoint::GetRatio "Get the pulley ratio.";

%feature("docstring") b2PulleyJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2PulleyJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2PulleyJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2PulleyJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2PulleyJoint::GetGroundAnchorA "Get the first ground anchor.";

%feature("docstring") b2PulleyJoint::GetGroundAnchorB "Get the second ground anchor.";

%feature("docstring") b2PulleyJoint::GetLength1 "Get the current length of the segment attached to body1.";

%feature("docstring") b2PulleyJoint::GetLength2 "Get the current length of the segment attached to body2.";

%feature("docstring") b2PulleyJoint::GetRatio "Get the pulley ratio.";


// File: structb2_pulley_joint_def.xml
%feature("docstring") b2PulleyJointDef "Pulley joint definition. This requires two ground anchors, two dynamic body anchor points, max lengths for each side, and a pulley ratio.";

%feature("docstring") b2PulleyJointDef::Initialize "Initialize the bodies, anchors, lengths, max lengths, and ratio using the world anchors.";

%feature("docstring") b2PulleyJointDef::Initialize "Initialize the bodies, anchors, lengths, max lengths, and ratio using the world anchors.";


// File: classb2_query_callback.xml
%feature("docstring") b2QueryCallback "Callback class for AABB queries. See b2World::Query";

%feature("docstring") b2QueryCallback::ReportFixture "Called for each fixture found in the query AABB. 
false to terminate the query.";

%feature("docstring") b2QueryCallback::ReportFixture "Called for each fixture found in the query AABB. 
false to terminate the query.";


// File: classb2_ray_cast_callback.xml
%feature("docstring") b2RayCastCallback "Callback class for ray casts. See  b2World::RayCast";

%feature("docstring") b2RayCastCallback::ReportFixture "Called for each fixture found in the query. You control how the ray cast proceeds by returning a float: return -1: ignore this fixture and continue return 0: terminate the ray cast return fraction: clip the ray to this point return 1: don't clip the ray and continue

Parameters:
-----------

fixture: 
the fixture hit by the ray

point: 
the point of initial intersection

normal: 
the normal vector at the point of intersection 
-1 to filter, 0 to terminate, fraction to clip the ray for closest hit, 1 to continue";

%feature("docstring") b2RayCastCallback::ReportFixture "Called for each fixture found in the query. You control how the ray cast proceeds by returning a float: return -1: ignore this fixture and continue return 0: terminate the ray cast return fraction: clip the ray to this point return 1: don't clip the ray and continue

Parameters:
-----------

fixture: 
the fixture hit by the ray

point: 
the point of initial intersection

normal: 
the normal vector at the point of intersection 
-1 to filter, 0 to terminate, fraction to clip the ray for closest hit, 1 to continue";


// File: structb2_ray_cast_input.xml
%feature("docstring") b2RayCastInput "Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).";


// File: structb2_ray_cast_output.xml
%feature("docstring") b2RayCastOutput "Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from  b2RayCastInput.";


// File: classb2_revolute_joint.xml
%feature("docstring") b2RevoluteJoint "A revolute joint constrains two bodies to share a common point while they are free to rotate about the point. The relative rotation about the shared point is the joint angle. You can limit the relative rotation with a joint limit that specifies a lower and upper angle. You can use a motor to drive the relative rotation about the shared point. A maximum motor torque is provided so that infinite forces are not generated.";

%feature("docstring") b2RevoluteJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2RevoluteJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2RevoluteJoint::GetJointAngle "Get the current joint angle in radians.";

%feature("docstring") b2RevoluteJoint::GetJointSpeed "Get the current joint angle speed in radians per second.";

%feature("docstring") b2RevoluteJoint::IsLimitEnabled "Is the joint limit enabled?";

%feature("docstring") b2RevoluteJoint::EnableLimit "Enable/disable the joint limit.";

%feature("docstring") b2RevoluteJoint::GetLowerLimit "Get the lower joint limit in radians.";

%feature("docstring") b2RevoluteJoint::GetUpperLimit "Get the upper joint limit in radians.";

%feature("docstring") b2RevoluteJoint::SetLimits "Set the joint limits in radians.";

%feature("docstring") b2RevoluteJoint::IsMotorEnabled "Is the joint motor enabled?";

%feature("docstring") b2RevoluteJoint::EnableMotor "Enable/disable the joint motor.";

%feature("docstring") b2RevoluteJoint::SetMotorSpeed "Set the motor speed in radians per second.";

%feature("docstring") b2RevoluteJoint::GetMotorSpeed "Get the motor speed in radians per second.";

%feature("docstring") b2RevoluteJoint::SetMaxMotorTorque "Set the maximum motor torque, usually in N-m.";

%feature("docstring") b2RevoluteJoint::GetReactionForce "Get the reaction force given the inverse time step. Unit is N.";

%feature("docstring") b2RevoluteJoint::GetReactionTorque "Get the reaction torque due to the joint limit given the inverse time step. Unit is N*m.";

%feature("docstring") b2RevoluteJoint::GetMotorTorque "Get the current motor torque given the inverse time step. Unit is N*m.";

%feature("docstring") b2RevoluteJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2RevoluteJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2RevoluteJoint::GetJointAngle "Get the current joint angle in radians.";

%feature("docstring") b2RevoluteJoint::GetJointSpeed "Get the current joint angle speed in radians per second.";

%feature("docstring") b2RevoluteJoint::IsLimitEnabled "Is the joint limit enabled?";

%feature("docstring") b2RevoluteJoint::EnableLimit "Enable/disable the joint limit.";

%feature("docstring") b2RevoluteJoint::GetLowerLimit "Get the lower joint limit in radians.";

%feature("docstring") b2RevoluteJoint::GetUpperLimit "Get the upper joint limit in radians.";

%feature("docstring") b2RevoluteJoint::SetLimits "Set the joint limits in radians.";

%feature("docstring") b2RevoluteJoint::IsMotorEnabled "Is the joint motor enabled?";

%feature("docstring") b2RevoluteJoint::EnableMotor "Enable/disable the joint motor.";

%feature("docstring") b2RevoluteJoint::SetMotorSpeed "Set the motor speed in radians per second.";

%feature("docstring") b2RevoluteJoint::GetMotorSpeed "Get the motor speed in radians per second.";

%feature("docstring") b2RevoluteJoint::SetMaxMotorTorque "Set the maximum motor torque, usually in N-m.";

%feature("docstring") b2RevoluteJoint::GetReactionForce "Get the reaction force given the inverse time step. Unit is N.";

%feature("docstring") b2RevoluteJoint::GetReactionTorque "Get the reaction torque due to the joint limit given the inverse time step. Unit is N*m.";

%feature("docstring") b2RevoluteJoint::GetMotorTorque "Get the current motor torque given the inverse time step. Unit is N*m.";


// File: structb2_revolute_joint_def.xml
%feature("docstring") b2RevoluteJointDef "Revolute joint definition. This requires defining an anchor point where the bodies are joined. The definition uses local anchor points so that the initial configuration can violate the constraint slightly. You also need to specify the initial relative angle for joint limits. This helps when saving and loading a game. The local anchor points are measured from the body's origin rather than the center of mass because: 1. you might not know where the center of mass will be. 2. if you add/remove shapes from a body and recompute the mass, the joints will be broken.";

%feature("docstring") b2RevoluteJointDef::Initialize "Initialize the bodies, anchors, and reference angle using a world anchor point.";

%feature("docstring") b2RevoluteJointDef::Initialize "Initialize the bodies, anchors, and reference angle using a world anchor point.";


// File: classb2_rope_joint.xml
%feature("docstring") b2RopeJoint "A rope joint enforces a maximum distance between two points on two bodies. It has no other effect. Warning: if you attempt to change the maximum length during the simulation you will get some non-physical behavior. A model that would allow you to dynamically modify the length would have some sponginess, so I chose not to implement it that way. See  b2DistanceJointif you want to dynamically control length.";

%feature("docstring") b2RopeJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2RopeJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2RopeJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2RopeJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2RopeJoint::GetMaxLength "Get the maximum length of the rope.";

%feature("docstring") b2RopeJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2RopeJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2RopeJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2RopeJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2RopeJoint::GetMaxLength "Get the maximum length of the rope.";


// File: structb2_rope_joint_def.xml
%feature("docstring") b2RopeJointDef "Rope joint definition. This requires two body anchor points and a maximum lengths. Note: by default the connected objects will not collide. see collideConnected in  b2JointDef.";


// File: classb2_shape.xml
%feature("docstring") b2Shape "A shape is used for collision detection. You can create a shape however you like. Shapes used for simulation in  b2Worldare created automatically when a  b2Fixtureis created. Shapes may encapsulate a one or more child shapes.";

%feature("docstring") b2Shape::Clone "Clone the concrete shape using the provided allocator.";

%feature("docstring") b2Shape::GetType "Get the type of this shape. You can use this to down cast to the concrete shape. 
the shape type.";

%feature("docstring") b2Shape::GetChildCount "Get the number of child primitives.";

%feature("docstring") b2Shape::TestPoint "Test a point for containment in this shape. This only works for convex shapes.

Parameters:
-----------

xf: 
the shape world transform.

p: 
a point in world coordinates.";

%feature("docstring") b2Shape::RayCast "Cast a ray against a child shape.

Parameters:
-----------

output: 
the ray-cast results.

input: 
the ray-cast input parameters.

transform: 
the transform to be applied to the shape.

childIndex: 
the child shape index";

%feature("docstring") b2Shape::ComputeAABB "Given a transform, compute the associated axis aligned bounding box for a child shape.

Parameters:
-----------

aabb: 
returns the axis aligned box.

xf: 
the world transform of the shape.

childIndex: 
the child shape";

%feature("docstring") b2Shape::ComputeMass "Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin.

Parameters:
-----------

massData: 
returns the mass data for this shape.

density: 
the density in kilograms per meter squared.";

%feature("docstring") b2Shape::Clone "Clone the concrete shape using the provided allocator.";

%feature("docstring") b2Shape::GetType "Get the type of this shape. You can use this to down cast to the concrete shape. 
the shape type.";

%feature("docstring") b2Shape::GetChildCount "Get the number of child primitives.";

%feature("docstring") b2Shape::TestPoint "Test a point for containment in this shape. This only works for convex shapes.

Parameters:
-----------

xf: 
the shape world transform.

p: 
a point in world coordinates.";

%feature("docstring") b2Shape::RayCast "Cast a ray against a child shape.

Parameters:
-----------

output: 
the ray-cast results.

input: 
the ray-cast input parameters.

transform: 
the transform to be applied to the shape.

childIndex: 
the child shape index";

%feature("docstring") b2Shape::ComputeAABB "Given a transform, compute the associated axis aligned bounding box for a child shape.

Parameters:
-----------

aabb: 
returns the axis aligned box.

xf: 
the world transform of the shape.

childIndex: 
the child shape";

%feature("docstring") b2Shape::ComputeMass "Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin.

Parameters:
-----------

massData: 
returns the mass data for this shape.

density: 
the density in kilograms per meter squared.";


// File: structb2_simplex_cache.xml
%feature("docstring") b2SimplexCache "Used to warm start b2Distance. Set count to zero on first call.";


// File: structb2_sweep.xml
%feature("docstring") b2Sweep "This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may no coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position.";

%feature("docstring") b2Sweep::GetTransform "Get the interpolated transform at a specific time.

Parameters:
-----------

beta: 
is a factor in [0,1], where 0 indicates alpha0.";

%feature("docstring") b2Sweep::Advance "Advance the sweep forward, yielding a new initial state.

Parameters:
-----------

alpha: 
the new initial time.";

%feature("docstring") b2Sweep::Normalize "Normalize the angles. 
Normalize an angle in radians to be between -pi and pi.";

%feature("docstring") b2Sweep::GetTransform "Get the interpolated transform at a specific time.

Parameters:
-----------

beta: 
is a factor in [0,1], where 0 indicates alpha0.";

%feature("docstring") b2Sweep::Advance "Advance the sweep forward, yielding a new initial state.

Parameters:
-----------

alpha: 
the new initial time.";

%feature("docstring") b2Sweep::Normalize "Normalize the angles.";


// File: structb2_time_step.xml
%feature("docstring") b2TimeStep "This is an internal structure.";


// File: structb2_t_o_i_input.xml
%feature("docstring") b2TOIInput "Input parameters for b2TimeOfImpact.";


// File: structb2_transform.xml
%feature("docstring") b2Transform "A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames.";

%feature("docstring") b2Transform::b2Transform "The default constructor does nothing (for performance).";

%feature("docstring") b2Transform::b2Transform "Initialize using a position vector and a rotation matrix.";

%feature("docstring") b2Transform::SetIdentity "Set this to the identity transform.";

%feature("docstring") b2Transform::Set "Set this based on the position and angle.";

%feature("docstring") b2Transform::GetAngle "Calculate the angle that the rotation matrix represents.";

%feature("docstring") b2Transform::b2Transform "The default constructor does nothing (for performance).";

%feature("docstring") b2Transform::b2Transform "Initialize using a position vector and a rotation matrix.";

%feature("docstring") b2Transform::SetIdentity "Set this to the identity transform.";

%feature("docstring") b2Transform::Set "Set this based on the position and angle.";

%feature("docstring") b2Transform::GetAngle "Calculate the angle that the rotation matrix represents.";


// File: structb2_vec2.xml
%feature("docstring") b2Vec2 "A 2D column vector.";

%feature("docstring") b2Vec2::b2Vec2 "Default constructor does nothing (for performance).";

%feature("docstring") b2Vec2::b2Vec2 "Construct using coordinates.";

%feature("docstring") b2Vec2::SetZero "Set this vector to all zeros.";

%feature("docstring") b2Vec2::Set "Set this vector to some specified coordinates.";

%feature("docstring") b2Vec2::Length "Get the length of this vector (the norm).";

%feature("docstring") b2Vec2::LengthSquared "Get the length squared. For performance, use this instead of  b2Vec2::Length(if possible).";

%feature("docstring") b2Vec2::Normalize "Convert this vector into a unit vector. Returns the length.";

%feature("docstring") b2Vec2::IsValid "Does this vector contain finite coordinates?";

%feature("docstring") b2Vec2::Skew "Get the skew vector such that dot(skew_vec, other) == cross(vec, other)";

%feature("docstring") b2Vec2::b2Vec2 "Default constructor does nothing (for performance).";

%feature("docstring") b2Vec2::b2Vec2 "Construct using coordinates.";

%feature("docstring") b2Vec2::SetZero "Set this vector to all zeros.";

%feature("docstring") b2Vec2::Set "Set this vector to some specified coordinates.";

%feature("docstring") b2Vec2::Length "Get the length of this vector (the norm).";

%feature("docstring") b2Vec2::LengthSquared "Get the length squared. For performance, use this instead of  b2Vec2::Length(if possible).";

%feature("docstring") b2Vec2::Normalize "Convert this vector into a unit vector. Returns the length.";

%feature("docstring") b2Vec2::IsValid "Does this vector contain finite coordinates?";

%feature("docstring") b2Vec2::Skew "Get the skew vector such that dot(skew_vec, other) == cross(vec, other)";


// File: structb2_vec3.xml
%feature("docstring") b2Vec3 "A 2D column vector with 3 elements.";

%feature("docstring") b2Vec3::b2Vec3 "Default constructor does nothing (for performance).";

%feature("docstring") b2Vec3::b2Vec3 "Construct using coordinates.";

%feature("docstring") b2Vec3::SetZero "Set this vector to all zeros.";

%feature("docstring") b2Vec3::Set "Set this vector to some specified coordinates.";

%feature("docstring") b2Vec3::b2Vec3 "Default constructor does nothing (for performance).";

%feature("docstring") b2Vec3::b2Vec3 "Construct using coordinates.";

%feature("docstring") b2Vec3::SetZero "Set this vector to all zeros.";

%feature("docstring") b2Vec3::Set "Set this vector to some specified coordinates.";


// File: structb2_velocity.xml
%feature("docstring") b2Velocity "This is an internal structure.";


// File: structb2_version.xml
%feature("docstring") b2Version "Version numbering scheme. See http://en.wikipedia.org/wiki/Software_versioning";


// File: classb2_weld_joint.xml
%feature("docstring") b2WeldJoint "A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate.";

%feature("docstring") b2WeldJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2WeldJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2WeldJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2WeldJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";

%feature("docstring") b2WeldJoint::GetAnchorA "Get the anchor point on bodyA in world coordinates.";

%feature("docstring") b2WeldJoint::GetAnchorB "Get the anchor point on bodyB in world coordinates.";

%feature("docstring") b2WeldJoint::GetReactionForce "Get the reaction force on body2 at the joint anchor in Newtons.";

%feature("docstring") b2WeldJoint::GetReactionTorque "Get the reaction torque on body2 in N*m.";


// File: structb2_weld_joint_def.xml
%feature("docstring") b2WeldJointDef "Weld joint definition. You need to specify local anchor points where they are attached and the relative body angle. The position of the anchor points is important for computing the reaction torque.";

%feature("docstring") b2WeldJointDef::Initialize "Initialize the bodies, anchors, and reference angle using a world anchor point.";

%feature("docstring") b2WeldJointDef::Initialize "Initialize the bodies, anchors, and reference angle using a world anchor point.";


// File: classb2_world.xml
%feature("docstring") b2World "The world class manages all physics entities, dynamic simulation, and asynchronous queries. The world also contains efficient memory management facilities.";

%feature("docstring") b2World::b2World "Construct a world object.

Parameters:
-----------

gravity: 
the world gravity vector.

doSleep: 
improve performance by not simulating inactive bodies.";

%feature("docstring") b2World::~b2World "Destruct the world. All physics entities are destroyed and all heap memory is released.";

%feature("docstring") b2World::SetDestructionListener "Register a destruction listener. The listener is owned by you and must remain in scope.";

%feature("docstring") b2World::SetContactFilter "Register a contact filter to provide specific control over collision. Otherwise the default filter is used (b2_defaultFilter). The listener is owned by you and must remain in scope.";

%feature("docstring") b2World::SetContactListener "Register a contact event listener. The listener is owned by you and must remain in scope.";

%feature("docstring") b2World::SetDebugDraw "Register a routine for debug drawing. The debug draw functions are called inside with  b2World::DrawDebugDatamethod. The debug draw object is owned by you and must remain in scope.";

%feature("docstring") b2World::CreateBody "Create a rigid body given a definition. No reference to the definition is retained. 
WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2World::DestroyBody "Destroy a rigid body given a definition. No reference to the definition is retained. This function is locked during callbacks. 
WARNING: 
This automatically deletes all associated shapes and joints. 
This function is locked during callbacks.";

%feature("docstring") b2World::CreateJoint "Create a joint to constrain bodies together. No reference to the definition is retained. This may cause the connected bodies to cease colliding. 
WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2World::DestroyJoint "Destroy a joint. This may cause the connected bodies to begin colliding. 
WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2World::Step "Take a time step. This performs collision detection, integration, and constraint solution.

Parameters:
-----------

timeStep: 
the amount of time to simulate, this should not vary.

velocityIterations: 
for the velocity constraint solver.

positionIterations: 
for the position constraint solver.";

%feature("docstring") b2World::ClearForces "Manually clear the force buffer on all bodies. By default, forces are cleared automatically after each call to Step. The default behavior is modified by calling SetAutoClearForces. The purpose of this function is to support sub-stepping. Sub-stepping is often used to maintain a fixed sized time step under a variable frame-rate. When you perform sub-stepping you will disable auto clearing of forces and instead call ClearForces after all sub-steps are complete in one pass of your game loop. 
See: 
 SetAutoClearForces";

%feature("docstring") b2World::DrawDebugData "Call this to draw shapes and other debug draw data.";

%feature("docstring") b2World::QueryAABB "Query the world for all fixtures that potentially overlap the provided AABB.

Parameters:
-----------

callback: 
a user implemented callback class.

aabb: 
the query box.";

%feature("docstring") b2World::RayCast "Ray-cast the world for all fixtures in the path of the ray. Your callback controls whether you get the closest point, any point, or n-points. The ray-cast ignores shapes that contain the starting point.

Parameters:
-----------

callback: 
a user implemented callback class.

point1: 
the ray starting point

point2: 
the ray ending point";

%feature("docstring") b2World::GetBodyList "Get the world body list. With the returned body, use  b2Body::GetNextto get the next body in the world list. A NULL body indicates the end of the list. 
the head of the world body list.";

%feature("docstring") b2World::GetJointList "Get the world joint list. With the returned joint, use  b2Joint::GetNextto get the next joint in the world list. A NULL joint indicates the end of the list. 
the head of the world joint list.";

%feature("docstring") b2World::GetContactList "Get the world contact list. With the returned contact, use  b2Contact::GetNextto get the next contact in the world list. A NULL contact indicates the end of the list. 
the head of the world contact list.

WARNING: 
contacts are";

%feature("docstring") b2World::SetWarmStarting "Enable/disable warm starting. For testing.";

%feature("docstring") b2World::SetContinuousPhysics "Enable/disable continuous physics. For testing.";

%feature("docstring") b2World::SetSubStepping "Enable/disable single stepped continuous physics. For testing.";

%feature("docstring") b2World::GetProxyCount "Get the number of broad-phase proxies.";

%feature("docstring") b2World::GetBodyCount "Get the number of bodies.";

%feature("docstring") b2World::GetJointCount "Get the number of joints.";

%feature("docstring") b2World::GetContactCount "Get the number of contacts (each may have 0 or more contact points).";

%feature("docstring") b2World::SetGravity "Change the global gravity vector.";

%feature("docstring") b2World::GetGravity "Get the global gravity vector.";

%feature("docstring") b2World::IsLocked "Is the world locked (in the middle of a time step).";

%feature("docstring") b2World::SetAutoClearForces "Set flag to control automatic clearing of forces after each time step.";

%feature("docstring") b2World::GetAutoClearForces "Get the flag that controls automatic clearing of forces after each time step.";

%feature("docstring") b2World::GetContactManager "Get the contact manager for testing.";

%feature("docstring") b2World::b2World "Construct a world object.

Parameters:
-----------

gravity: 
the world gravity vector.

doSleep: 
improve performance by not simulating inactive bodies.";

%feature("docstring") b2World::~b2World "Destruct the world. All physics entities are destroyed and all heap memory is released.";

%feature("docstring") b2World::SetDestructionListener "Register a destruction listener. The listener is owned by you and must remain in scope.";

%feature("docstring") b2World::SetContactFilter "Register a contact filter to provide specific control over collision. Otherwise the default filter is used (b2_defaultFilter). The listener is owned by you and must remain in scope.";

%feature("docstring") b2World::SetContactListener "Register a contact event listener. The listener is owned by you and must remain in scope.";

%feature("docstring") b2World::SetDebugDraw "Register a routine for debug drawing. The debug draw functions are called inside with  b2World::DrawDebugDatamethod. The debug draw object is owned by you and must remain in scope.";

%feature("docstring") b2World::CreateBody "Create a rigid body given a definition. No reference to the definition is retained. 
WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2World::DestroyBody "Destroy a rigid body given a definition. No reference to the definition is retained. This function is locked during callbacks. 
WARNING: 
This automatically deletes all associated shapes and joints. 
This function is locked during callbacks.";

%feature("docstring") b2World::CreateJoint "Create a joint to constrain bodies together. No reference to the definition is retained. This may cause the connected bodies to cease colliding. 
WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2World::DestroyJoint "Destroy a joint. This may cause the connected bodies to begin colliding. 
WARNING: 
This function is locked during callbacks.";

%feature("docstring") b2World::Step "Take a time step. This performs collision detection, integration, and constraint solution.

Parameters:
-----------

timeStep: 
the amount of time to simulate, this should not vary.

velocityIterations: 
for the velocity constraint solver.

positionIterations: 
for the position constraint solver.";

%feature("docstring") b2World::ClearForces "Manually clear the force buffer on all bodies. By default, forces are cleared automatically after each call to Step. The default behavior is modified by calling SetAutoClearForces. The purpose of this function is to support sub-stepping. Sub-stepping is often used to maintain a fixed sized time step under a variable frame-rate. When you perform sub-stepping you will disable auto clearing of forces and instead call ClearForces after all sub-steps are complete in one pass of your game loop. 
See: 
 SetAutoClearForces";

%feature("docstring") b2World::DrawDebugData "Call this to draw shapes and other debug draw data.";

%feature("docstring") b2World::QueryAABB "Query the world for all fixtures that potentially overlap the provided AABB.

Parameters:
-----------

callback: 
a user implemented callback class.

aabb: 
the query box.";

%feature("docstring") b2World::RayCast "Ray-cast the world for all fixtures in the path of the ray. Your callback controls whether you get the closest point, any point, or n-points. The ray-cast ignores shapes that contain the starting point.

Parameters:
-----------

callback: 
a user implemented callback class.

point1: 
the ray starting point

point2: 
the ray ending point";

%feature("docstring") b2World::GetBodyList "Get the world body list. With the returned body, use  b2Body::GetNextto get the next body in the world list. A NULL body indicates the end of the list. 
the head of the world body list.";

%feature("docstring") b2World::GetJointList "Get the world joint list. With the returned joint, use  b2Joint::GetNextto get the next joint in the world list. A NULL joint indicates the end of the list. 
the head of the world joint list.";

%feature("docstring") b2World::GetContactList "Get the world contact list. With the returned contact, use  b2Contact::GetNextto get the next contact in the world list. A NULL contact indicates the end of the list. 
the head of the world contact list.

WARNING: 
contacts are";

%feature("docstring") b2World::SetWarmStarting "Enable/disable warm starting. For testing.";

%feature("docstring") b2World::SetContinuousPhysics "Enable/disable continuous physics. For testing.";

%feature("docstring") b2World::SetSubStepping "Enable/disable single stepped continuous physics. For testing.";

%feature("docstring") b2World::GetProxyCount "Get the number of broad-phase proxies.";

%feature("docstring") b2World::GetBodyCount "Get the number of bodies.";

%feature("docstring") b2World::GetJointCount "Get the number of joints.";

%feature("docstring") b2World::GetContactCount "Get the number of contacts (each may have 0 or more contact points).";

%feature("docstring") b2World::SetGravity "Change the global gravity vector.";

%feature("docstring") b2World::GetGravity "Get the global gravity vector.";

%feature("docstring") b2World::IsLocked "Is the world locked (in the middle of a time step).";

%feature("docstring") b2World::SetAutoClearForces "Set flag to control automatic clearing of forces after each time step.";

%feature("docstring") b2World::GetAutoClearForces "Get the flag that controls automatic clearing of forces after each time step.";

%feature("docstring") b2World::GetContactManager "Get the contact manager for testing.";


// File: structb2_world_manifold.xml
%feature("docstring") b2WorldManifold "This is used to compute the current state of a contact manifold.";

%feature("docstring") b2WorldManifold::Initialize "Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the shapes that generated the manifold.";

%feature("docstring") b2WorldManifold::Initialize "Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the shapes that generated the manifold.";


// File: ___box2_d_2_collision_2b2_broad_phase_8h.xml
%feature("docstring") b2PairLessThan "This is used to sort pairs.";


// File: _collision_2b2_broad_phase_8h.xml
%feature("docstring") b2PairLessThan "This is used to sort pairs.";


// File: ___box2_d_2_collision_2b2_collide_circle_8cpp.xml
%feature("docstring") b2CollideCircles "Compute the collision manifold between two circles.";

%feature("docstring") b2CollidePolygonAndCircle "Compute the collision manifold between a polygon and a circle.";


// File: _collision_2b2_collide_circle_8cpp.xml
%feature("docstring") b2CollideCircles "Compute the collision manifold between two circles.";

%feature("docstring") b2CollidePolygonAndCircle "Compute the collision manifold between a polygon and a circle.";


// File: ___box2_d_2_collision_2b2_collide_edge_8cpp.xml
%feature("docstring") b2CollideEdgeAndCircle "Compute the collision manifold between an edge and a circle.";

%feature("docstring") b2CollideEdgeAndPolygon "Compute the collision manifold between an edge and a circle.";


// File: _collision_2b2_collide_edge_8cpp.xml
%feature("docstring") b2CollideEdgeAndCircle "Compute the collision manifold between an edge and a circle.";

%feature("docstring") b2CollideEdgeAndPolygon "Compute the collision manifold between an edge and a circle.";


// File: ___box2_d_2_collision_2b2_collide_polygon_8cpp.xml
%feature("docstring") b2CollidePolygons "Compute the collision manifold between two polygons.";


// File: _collision_2b2_collide_polygon_8cpp.xml
%feature("docstring") b2CollidePolygons "Compute the collision manifold between two polygons.";


// File: ___box2_d_2_collision_2b2_collision_8cpp.xml
%feature("docstring") b2GetPointStates "Compute the point states given two manifolds. The states pertain to the transition from manifold1 to manifold2. So state1 is either persist or remove while state2 is either add or persist.";

%feature("docstring") b2ClipSegmentToLine "Clipping for contact manifolds.";

%feature("docstring") b2TestOverlap "Determine if two generic shapes overlap.";


// File: _collision_2b2_collision_8cpp.xml
%feature("docstring") b2GetPointStates "Compute the point states given two manifolds. The states pertain to the transition from manifold1 to manifold2. So state1 is either persist or remove while state2 is either add or persist.";

%feature("docstring") b2ClipSegmentToLine "Clipping for contact manifolds.";

%feature("docstring") b2TestOverlap "Determine if two generic shapes overlap.";


// File: ___box2_d_2_collision_2b2_collision_8h.xml
%feature("docstring") b2GetPointStates "Compute the point states given two manifolds. The states pertain to the transition from manifold1 to manifold2. So state1 is either persist or remove while state2 is either add or persist.";

%feature("docstring") b2CollideCircles "Compute the collision manifold between two circles.";

%feature("docstring") b2CollidePolygonAndCircle "Compute the collision manifold between a polygon and a circle.";

%feature("docstring") b2CollidePolygons "Compute the collision manifold between two polygons.";

%feature("docstring") b2CollideEdgeAndCircle "Compute the collision manifold between an edge and a circle.";

%feature("docstring") b2CollideEdgeAndPolygon "Compute the collision manifold between an edge and a circle.";

%feature("docstring") b2ClipSegmentToLine "Clipping for contact manifolds.";

%feature("docstring") b2TestOverlap "Determine if two generic shapes overlap.";


// File: _collision_2b2_collision_8h.xml
%feature("docstring") b2GetPointStates "Compute the point states given two manifolds. The states pertain to the transition from manifold1 to manifold2. So state1 is either persist or remove while state2 is either add or persist.";

%feature("docstring") b2CollideCircles "Compute the collision manifold between two circles.";

%feature("docstring") b2CollidePolygonAndCircle "Compute the collision manifold between a polygon and a circle.";

%feature("docstring") b2CollidePolygons "Compute the collision manifold between two polygons.";

%feature("docstring") b2CollideEdgeAndCircle "Compute the collision manifold between an edge and a circle.";

%feature("docstring") b2CollideEdgeAndPolygon "Compute the collision manifold between an edge and a circle.";

%feature("docstring") b2ClipSegmentToLine "Clipping for contact manifolds.";

%feature("docstring") b2TestOverlap "Determine if two generic shapes overlap.";


// File: ___box2_d_2_collision_2b2_distance_8cpp.xml
%feature("docstring") b2Distance "Compute the closest points between two shapes. Supports any combination of:  b2CircleShape,  b2PolygonShape,  b2EdgeShape. The simplex cache is input/output. On the first call set b2SimplexCache.count to zero.";


// File: _collision_2b2_distance_8cpp.xml
%feature("docstring") b2Distance "Compute the closest points between two shapes. Supports any combination of:  b2CircleShape,  b2PolygonShape,  b2EdgeShape. The simplex cache is input/output. On the first call set b2SimplexCache.count to zero.";


// File: ___box2_d_2_collision_2b2_distance_8h.xml
%feature("docstring") b2Distance "Compute the closest points between two shapes. Supports any combination of:  b2CircleShape,  b2PolygonShape,  b2EdgeShape. The simplex cache is input/output. On the first call set b2SimplexCache.count to zero.";


// File: _collision_2b2_distance_8h.xml
%feature("docstring") b2Distance "Compute the closest points between two shapes. Supports any combination of:  b2CircleShape,  b2PolygonShape,  b2EdgeShape. The simplex cache is input/output. On the first call set b2SimplexCache.count to zero.";


// File: ___box2_d_2_collision_2b2_time_of_impact_8cpp.xml
%feature("docstring") b2TimeOfImpact "Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use b2Distance to compute the contact point and normal at the time of impact.";


// File: _collision_2b2_time_of_impact_8cpp.xml
%feature("docstring") b2TimeOfImpact "Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use b2Distance to compute the contact point and normal at the time of impact.";


// File: ___box2_d_2_collision_2b2_time_of_impact_8h.xml
%feature("docstring") b2TimeOfImpact "Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use b2Distance to compute the contact point and normal at the time of impact.";


// File: _collision_2b2_time_of_impact_8h.xml
%feature("docstring") b2TimeOfImpact "Compute the upper bound on time before two shapes penetrate. Time is represented as a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, non-tunneling collision. If you change the time interval, you should call this function again. Note: use b2Distance to compute the contact point and normal at the time of impact.";


// File: ___box2_d_2_common_2b2_math_8h.xml
%feature("docstring") b2IsValid "This function is used to ensure that a floating point number is not a NaN or infinity.";

%feature("docstring") b2InvSqrt "This is a approximate yet fast inverse square-root.";

%feature("docstring") b2Dot "Perform the dot product on two vectors.";

%feature("docstring") b2Cross "Perform the cross product on two vectors. In 2D this produces a scalar.";

%feature("docstring") b2Cross "Perform the cross product on a vector and a scalar. In 2D this produces a vector.";

%feature("docstring") b2Cross "Perform the cross product on a scalar and a vector. In 2D this produces a vector.";

%feature("docstring") b2Mul "Multiply a matrix times a vector. If a rotation matrix is provided, then this transforms the vector from one frame to another.";

%feature("docstring") b2MulT "Multiply a matrix transpose times a vector. If a rotation matrix is provided, then this transforms the vector from one frame to another (inverse transform).";

%feature("docstring") b2Dot "Perform the dot product on two vectors.";

%feature("docstring") b2Cross "Perform the cross product on two vectors.";

%feature("docstring") b2Mul "Multiply a matrix times a vector.";

%feature("docstring") b2NextPowerOfTwo "\"Next Largest Power of 2 Given a binary integer value x, the next largest power of 2 can be computed by a SWAR algorithm that recursively \"folds\" the upper bits into the lower bits. This process yields a bit vector with the same most significant 1 as x, but all 1's below it. Adding 1 to that value yields the next largest power of 2. For a 32-bit value:\"";


// File: _common_2b2_math_8h.xml
%feature("docstring") b2IsValid "This function is used to ensure that a floating point number is not a NaN or infinity.";

%feature("docstring") b2InvSqrt "This is a approximate yet fast inverse square-root.";

%feature("docstring") b2Dot "Perform the dot product on two vectors.";

%feature("docstring") b2Cross "Perform the cross product on two vectors. In 2D this produces a scalar.";

%feature("docstring") b2Cross "Perform the cross product on a vector and a scalar. In 2D this produces a vector.";

%feature("docstring") b2Cross "Perform the cross product on a scalar and a vector. In 2D this produces a vector.";

%feature("docstring") b2Mul "Multiply a matrix times a vector. If a rotation matrix is provided, then this transforms the vector from one frame to another.";

%feature("docstring") b2MulT "Multiply a matrix transpose times a vector. If a rotation matrix is provided, then this transforms the vector from one frame to another (inverse transform).";

%feature("docstring") b2Dot "Perform the dot product on two vectors.";

%feature("docstring") b2Cross "Perform the cross product on two vectors.";

%feature("docstring") b2Mul "Multiply a matrix times a vector.";

%feature("docstring") b2NextPowerOfTwo "\"Next Largest Power of 2 Given a binary integer value x, the next largest power of 2 can be computed by a SWAR algorithm that recursively \"folds\" the upper bits into the lower bits. This process yields a bit vector with the same most significant 1 as x, but all 1's below it. Adding 1 to that value yields the next largest power of 2. For a 32-bit value:\"";


// File: ___box2_d_2_common_2b2_settings_8cpp.xml
%feature("docstring") b2Alloc "Implement this function to use your own memory allocator.";

%feature("docstring") b2Free "If you implement b2Alloc, you should also implement this function.";


// File: _common_2b2_settings_8cpp.xml
%feature("docstring") b2Alloc "Implement this function to use your own memory allocator.";

%feature("docstring") b2Free "If you implement b2Alloc, you should also implement this function.";


// File: ___box2_d_2_common_2b2_settings_8h.xml
%feature("docstring") b2Alloc "Implement this function to use your own memory allocator.";

%feature("docstring") b2Free "If you implement b2Alloc, you should also implement this function.";

%feature("docstring") b2MixFriction "Friction mixing law. Feel free to customize this.";

%feature("docstring") b2MixRestitution "Restitution mixing law. Feel free to customize this.";


// File: _common_2b2_settings_8h.xml
%feature("docstring") b2Alloc "Implement this function to use your own memory allocator.";

%feature("docstring") b2Free "If you implement b2Alloc, you should also implement this function.";

%feature("docstring") b2MixFriction "Friction mixing law. Feel free to customize this.";

%feature("docstring") b2MixRestitution "Restitution mixing law. Feel free to customize this.";