Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:11 CET 2013 -->
6
<TITLE>
7
com.badlogic.gdx.physics.box2d (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="com.badlogic.gdx.physics.box2d (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../../com/badlogic/gdx/net/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../index.html?com/badlogic/gdx/physics/box2d/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
</TABLE>
93
<A NAME="skip-navbar_top"></A>
94
<!-- ========= END OF TOP NAVBAR ========= -->
95
 
96
<HR>
97
<H2>
98
Package com.badlogic.gdx.physics.box2d
99
</H2>
100
 
101
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
102
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
104
<B>Interface Summary</B></FONT></TH>
105
</TR>
106
<TR BGCOLOR="white" CLASS="TableRowColor">
107
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/ContactFilter.html" title="interface in com.badlogic.gdx.physics.box2d">ContactFilter</A></B></TD>
108
<TD>Implement this class to provide collision filtering.</TD>
109
</TR>
110
<TR BGCOLOR="white" CLASS="TableRowColor">
111
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/ContactListener.html" title="interface in com.badlogic.gdx.physics.box2d">ContactListener</A></B></TD>
112
<TD>&nbsp;</TD>
113
</TR>
114
<TR BGCOLOR="white" CLASS="TableRowColor">
115
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/DestructionListener.html" title="interface in com.badlogic.gdx.physics.box2d">DestructionListener</A></B></TD>
116
<TD>&nbsp;</TD>
117
</TR>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/QueryCallback.html" title="interface in com.badlogic.gdx.physics.box2d">QueryCallback</A></B></TD>
120
<TD>Callback class for AABB queries.</TD>
121
</TR>
122
<TR BGCOLOR="white" CLASS="TableRowColor">
123
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/RayCastCallback.html" title="interface in com.badlogic.gdx.physics.box2d">RayCastCallback</A></B></TD>
124
<TD>Callback class for ray casts.</TD>
125
</TR>
126
</TABLE>
127
&nbsp;
128
 
129
<P>
130
 
131
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134
<B>Class Summary</B></FONT></TH>
135
</TR>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A></B></TD>
138
<TD>A rigid body.</TD>
139
</TR>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/BodyDef.html" title="class in com.badlogic.gdx.physics.box2d">BodyDef</A></B></TD>
142
<TD>A body definition holds all the data needed to construct a rigid body.</TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Box2DDebugRenderer.html" title="class in com.badlogic.gdx.physics.box2d">Box2DDebugRenderer</A></B></TD>
146
<TD>&nbsp;</TD>
147
</TR>
148
<TR BGCOLOR="white" CLASS="TableRowColor">
149
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/ChainShape.html" title="class in com.badlogic.gdx.physics.box2d">ChainShape</A></B></TD>
150
<TD>&nbsp;</TD>
151
</TR>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/CircleShape.html" title="class in com.badlogic.gdx.physics.box2d">CircleShape</A></B></TD>
154
<TD>A circle shape.</TD>
155
</TR>
156
<TR BGCOLOR="white" CLASS="TableRowColor">
157
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Contact.html" title="class in com.badlogic.gdx.physics.box2d">Contact</A></B></TD>
158
<TD>The class manages contact between two shapes.</TD>
159
</TR>
160
<TR BGCOLOR="white" CLASS="TableRowColor">
161
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/ContactImpulse.html" title="class in com.badlogic.gdx.physics.box2d">ContactImpulse</A></B></TD>
162
<TD>Contact impulses for reporting.</TD>
163
</TR>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/EdgeShape.html" title="class in com.badlogic.gdx.physics.box2d">EdgeShape</A></B></TD>
166
<TD>A line segment (edge) shape.</TD>
167
</TR>
168
<TR BGCOLOR="white" CLASS="TableRowColor">
169
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Filter.html" title="class in com.badlogic.gdx.physics.box2d">Filter</A></B></TD>
170
<TD>This holds contact filtering data.</TD>
171
</TR>
172
<TR BGCOLOR="white" CLASS="TableRowColor">
173
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Fixture.html" title="class in com.badlogic.gdx.physics.box2d">Fixture</A></B></TD>
174
<TD>&nbsp;</TD>
175
</TR>
176
<TR BGCOLOR="white" CLASS="TableRowColor">
177
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/FixtureDef.html" title="class in com.badlogic.gdx.physics.box2d">FixtureDef</A></B></TD>
178
<TD>A fixture definition is used to create a fixture.</TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html" title="class in com.badlogic.gdx.physics.box2d">Joint</A></B></TD>
182
<TD>&nbsp;</TD>
183
</TR>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d">JointDef</A></B></TD>
186
<TD>&nbsp;</TD>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointEdge.html" title="class in com.badlogic.gdx.physics.box2d">JointEdge</A></B></TD>
190
<TD>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
191
 edge.</TD>
192
</TR>
193
<TR BGCOLOR="white" CLASS="TableRowColor">
194
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Manifold.html" title="class in com.badlogic.gdx.physics.box2d">Manifold</A></B></TD>
195
<TD>&nbsp;</TD>
196
</TR>
197
<TR BGCOLOR="white" CLASS="TableRowColor">
198
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/MassData.html" title="class in com.badlogic.gdx.physics.box2d">MassData</A></B></TD>
199
<TD>This holds the mass data computed for a shape.</TD>
200
</TR>
201
<TR BGCOLOR="white" CLASS="TableRowColor">
202
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/PolygonShape.html" title="class in com.badlogic.gdx.physics.box2d">PolygonShape</A></B></TD>
203
<TD>&nbsp;</TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Shape.html" title="class in com.badlogic.gdx.physics.box2d">Shape</A></B></TD>
207
<TD>A shape is used for collision detection.</TD>
208
</TR>
209
<TR BGCOLOR="white" CLASS="TableRowColor">
210
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Transform.html" title="class in com.badlogic.gdx.physics.box2d">Transform</A></B></TD>
211
<TD>Encodes a Box2D transform.</TD>
212
</TR>
213
<TR BGCOLOR="white" CLASS="TableRowColor">
214
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A></B></TD>
215
<TD>The world class manages all physics entities, dynamic simulation, and asynchronous queries.</TD>
216
</TR>
217
<TR BGCOLOR="white" CLASS="TableRowColor">
218
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/WorldManifold.html" title="class in com.badlogic.gdx.physics.box2d">WorldManifold</A></B></TD>
219
<TD>This is used to compute the current state of a contact manifold.</TD>
220
</TR>
221
</TABLE>
222
&nbsp;
223
 
224
<P>
225
 
226
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
227
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
228
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
229
<B>Enum Summary</B></FONT></TH>
230
</TR>
231
<TR BGCOLOR="white" CLASS="TableRowColor">
232
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/BodyDef.BodyType.html" title="enum in com.badlogic.gdx.physics.box2d">BodyDef.BodyType</A></B></TD>
233
<TD>The body type.</TD>
234
</TR>
235
<TR BGCOLOR="white" CLASS="TableRowColor">
236
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointDef.JointType.html" title="enum in com.badlogic.gdx.physics.box2d">JointDef.JointType</A></B></TD>
237
<TD>&nbsp;</TD>
238
</TR>
239
<TR BGCOLOR="white" CLASS="TableRowColor">
240
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Manifold.ManifoldType.html" title="enum in com.badlogic.gdx.physics.box2d">Manifold.ManifoldType</A></B></TD>
241
<TD>&nbsp;</TD>
242
</TR>
243
<TR BGCOLOR="white" CLASS="TableRowColor">
244
<TD WIDTH="15%"><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Shape.Type.html" title="enum in com.badlogic.gdx.physics.box2d">Shape.Type</A></B></TD>
245
<TD>Enum describing the type of a shape</TD>
246
</TR>
247
</TABLE>
248
&nbsp;
249
 
250
<P>
251
<DL>
252
</DL>
253
<HR>
254
 
255
 
256
<!-- ======= START OF BOTTOM NAVBAR ====== -->
257
<A NAME="navbar_bottom"><!-- --></A>
258
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
259
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
260
<TR>
261
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
262
<A NAME="navbar_bottom_firstrow"><!-- --></A>
263
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
264
  <TR ALIGN="center" VALIGN="top">
265
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
266
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
267
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
268
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
269
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
270
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
271
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
272
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
273
  </TR>
274
</TABLE>
275
</TD>
276
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
277
libgdx API</EM>
278
</TD>
279
</TR>
280
 
281
<TR>
282
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
283
&nbsp;<A HREF="../../../../../com/badlogic/gdx/net/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
284
&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
285
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
286
  <A HREF="../../../../../index.html?com/badlogic/gdx/physics/box2d/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
287
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
288
&nbsp;<SCRIPT type="text/javascript">
289
  <!--
290
  if(window==top) {
291
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
292
  }
293
  //-->
294
</SCRIPT>
295
<NOSCRIPT>
296
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
297
</NOSCRIPT>
298
 
299
 
300
</FONT></TD>
301
</TR>
302
</TABLE>
303
<A NAME="skip-navbar_bottom"></A>
304
<!-- ======== END OF BOTTOM NAVBAR ======= -->
305
 
306
<HR>
307
 
308
                                <div style="font-size:9pt"><i>
309
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
310
                                </i></div>
311
 
312
</BODY>
313
</HTML>