Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
307 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 Jun 03 02:18:09 CEST 2012 -->
6
<TITLE>
7
Joint (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2012-06-03">
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="Joint (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="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Joint.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/physics/box2d/FixtureDef.html" title="class in com.badlogic.gdx.physics.box2d"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../../index.html?com/badlogic/gdx/physics/box2d/Joint.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Joint.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
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.physics.box2d</FONT>
107
<BR>
108
Class Joint</H2>
109
<PRE>
110
java.lang.Object
111
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.badlogic.gdx.physics.box2d.Joint</B>
112
</PRE>
113
<DL>
114
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/DistanceJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">DistanceJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/FrictionJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">FrictionJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/GearJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">GearJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/MouseJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">MouseJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/PrismaticJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">PrismaticJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/PulleyJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">PulleyJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/RevoluteJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">RevoluteJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/RopeJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">RopeJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/WeldJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">WeldJoint</A>, <A HREF="../../../../../com/badlogic/gdx/physics/box2d/joints/WheelJoint.html" title="class in com.badlogic.gdx.physics.box2d.joints">WheelJoint</A></DD>
115
</DL>
116
<HR>
117
<DL>
118
<DT><PRE>public abstract class <B>Joint</B><DT>extends java.lang.Object</DL>
119
</PRE>
120
 
121
<P>
122
<HR>
123
 
124
<P>
125
<!-- =========== FIELD SUMMARY =========== -->
126
 
127
<A NAME="field_summary"><!-- --></A>
128
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
131
<B>Field Summary</B></FONT></TH>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135
<CODE>protected &nbsp;long</CODE></FONT></TD>
136
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#addr">addr</A></B></CODE>
137
 
138
<BR>
139
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the address of the joint</TD>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143
<CODE>protected &nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointEdge.html" title="class in com.badlogic.gdx.physics.box2d">JointEdge</A></CODE></FONT></TD>
144
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#jointEdgeA">jointEdgeA</A></B></CODE>
145
 
146
<BR>
147
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;joint edge a</TD>
148
</TR>
149
<TR BGCOLOR="white" CLASS="TableRowColor">
150
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151
<CODE>protected &nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointEdge.html" title="class in com.badlogic.gdx.physics.box2d">JointEdge</A></CODE></FONT></TD>
152
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#jointEdgeB">jointEdgeB</A></B></CODE>
153
 
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;joint edge b</TD>
156
</TR>
157
</TABLE>
158
&nbsp;
159
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
160
 
161
<A NAME="constructor_summary"><!-- --></A>
162
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
164
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
165
<B>Constructor Summary</B></FONT></TH>
166
</TR>
167
<TR BGCOLOR="white" CLASS="TableRowColor">
168
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169
<CODE>protected </CODE></FONT></TD>
170
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#Joint(com.badlogic.gdx.physics.box2d.World, long)">Joint</A></B>(<A HREF="../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A>&nbsp;world,
171
      long&nbsp;addr)</CODE>
172
 
173
<BR>
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new joint</TD>
175
</TR>
176
</TABLE>
177
&nbsp;
178
<!-- ========== METHOD SUMMARY =========== -->
179
 
180
<A NAME="method_summary"><!-- --></A>
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
184
<B>Method Summary</B></FONT></TH>
185
</TR>
186
<TR BGCOLOR="white" CLASS="TableRowColor">
187
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
189
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getAnchorA()">getAnchorA</A></B>()</CODE>
190
 
191
<BR>
192
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
193
</TR>
194
<TR BGCOLOR="white" CLASS="TableRowColor">
195
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
197
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getAnchorB()">getAnchorB</A></B>()</CODE>
198
 
199
<BR>
200
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
201
</TR>
202
<TR BGCOLOR="white" CLASS="TableRowColor">
203
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A></CODE></FONT></TD>
205
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getBodyA()">getBodyA</A></B>()</CODE>
206
 
207
<BR>
208
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the first body attached to this joint.</TD>
209
</TR>
210
<TR BGCOLOR="white" CLASS="TableRowColor">
211
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A></CODE></FONT></TD>
213
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getBodyB()">getBodyB</A></B>()</CODE>
214
 
215
<BR>
216
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the second body attached to this joint.</TD>
217
</TR>
218
<TR BGCOLOR="white" CLASS="TableRowColor">
219
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A></CODE></FONT></TD>
221
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getReactionForce(float)">getReactionForce</A></B>(float&nbsp;inv_dt)</CODE>
222
 
223
<BR>
224
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
225
</TR>
226
<TR BGCOLOR="white" CLASS="TableRowColor">
227
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228
<CODE>&nbsp;float</CODE></FONT></TD>
229
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getReactionTorque(float)">getReactionTorque</A></B>(float&nbsp;inv_dt)</CODE>
230
 
231
<BR>
232
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the reaction torque on body2 in N*m.</TD>
233
</TR>
234
<TR BGCOLOR="white" CLASS="TableRowColor">
235
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236
<CODE>&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointDef.JointType.html" title="enum in com.badlogic.gdx.physics.box2d">JointDef.JointType</A></CODE></FONT></TD>
237
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#getType()">getType</A></B>()</CODE>
238
 
239
<BR>
240
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the type of the concrete joint.</TD>
241
</TR>
242
<TR BGCOLOR="white" CLASS="TableRowColor">
243
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244
<CODE>&nbsp;boolean</CODE></FONT></TD>
245
<TD><CODE><B><A HREF="../../../../../com/badlogic/gdx/physics/box2d/Joint.html#isActive()">isActive</A></B>()</CODE>
246
 
247
<BR>
248
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Short-cut function to determine if either body is inactive.</TD>
249
</TR>
250
</TABLE>
251
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
252
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
253
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
254
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
255
</TR>
256
<TR BGCOLOR="white" CLASS="TableRowColor">
257
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
258
</TR>
259
</TABLE>
260
&nbsp;
261
<P>
262
 
263
<!-- ============ FIELD DETAIL =========== -->
264
 
265
<A NAME="field_detail"><!-- --></A>
266
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
267
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
268
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
269
<B>Field Detail</B></FONT></TH>
270
</TR>
271
</TABLE>
272
 
273
<A NAME="addr"><!-- --></A><H3>
274
addr</H3>
275
<PRE>
276
protected long <B>addr</B></PRE>
277
<DL>
278
<DD>the address of the joint
279
<P>
280
<DL>
281
</DL>
282
</DL>
283
<HR>
284
 
285
<A NAME="jointEdgeA"><!-- --></A><H3>
286
jointEdgeA</H3>
287
<PRE>
288
protected <A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointEdge.html" title="class in com.badlogic.gdx.physics.box2d">JointEdge</A> <B>jointEdgeA</B></PRE>
289
<DL>
290
<DD>joint edge a
291
<P>
292
<DL>
293
</DL>
294
</DL>
295
<HR>
296
 
297
<A NAME="jointEdgeB"><!-- --></A><H3>
298
jointEdgeB</H3>
299
<PRE>
300
protected <A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointEdge.html" title="class in com.badlogic.gdx.physics.box2d">JointEdge</A> <B>jointEdgeB</B></PRE>
301
<DL>
302
<DD>joint edge b
303
<P>
304
<DL>
305
</DL>
306
</DL>
307
 
308
<!-- ========= CONSTRUCTOR DETAIL ======== -->
309
 
310
<A NAME="constructor_detail"><!-- --></A>
311
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
312
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
313
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
314
<B>Constructor Detail</B></FONT></TH>
315
</TR>
316
</TABLE>
317
 
318
<A NAME="Joint(com.badlogic.gdx.physics.box2d.World, long)"><!-- --></A><H3>
319
Joint</H3>
320
<PRE>
321
protected <B>Joint</B>(<A HREF="../../../../../com/badlogic/gdx/physics/box2d/World.html" title="class in com.badlogic.gdx.physics.box2d">World</A>&nbsp;world,
322
                long&nbsp;addr)</PRE>
323
<DL>
324
<DD>Constructs a new joint
325
<P>
326
<DL>
327
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - the address of the joint</DL>
328
</DL>
329
 
330
<!-- ============ METHOD DETAIL ========== -->
331
 
332
<A NAME="method_detail"><!-- --></A>
333
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
334
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
335
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
336
<B>Method Detail</B></FONT></TH>
337
</TR>
338
</TABLE>
339
 
340
<A NAME="getType()"><!-- --></A><H3>
341
getType</H3>
342
<PRE>
343
public <A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointDef.JointType.html" title="enum in com.badlogic.gdx.physics.box2d">JointDef.JointType</A> <B>getType</B>()</PRE>
344
<DL>
345
<DD>Get the type of the concrete joint.
346
<P>
347
<DD><DL>
348
</DL>
349
</DD>
350
</DL>
351
<HR>
352
 
353
<A NAME="getBodyA()"><!-- --></A><H3>
354
getBodyA</H3>
355
<PRE>
356
public <A HREF="../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A> <B>getBodyA</B>()</PRE>
357
<DL>
358
<DD>Get the first body attached to this joint.
359
<P>
360
<DD><DL>
361
</DL>
362
</DD>
363
</DL>
364
<HR>
365
 
366
<A NAME="getBodyB()"><!-- --></A><H3>
367
getBodyB</H3>
368
<PRE>
369
public <A HREF="../../../../../com/badlogic/gdx/physics/box2d/Body.html" title="class in com.badlogic.gdx.physics.box2d">Body</A> <B>getBodyB</B>()</PRE>
370
<DL>
371
<DD>Get the second body attached to this joint.
372
<P>
373
<DD><DL>
374
</DL>
375
</DD>
376
</DL>
377
<HR>
378
 
379
<A NAME="getAnchorA()"><!-- --></A><H3>
380
getAnchorA</H3>
381
<PRE>
382
public <A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>getAnchorA</B>()</PRE>
383
<DL>
384
<DD><DL>
385
</DL>
386
</DD>
387
</DL>
388
<HR>
389
 
390
<A NAME="getAnchorB()"><!-- --></A><H3>
391
getAnchorB</H3>
392
<PRE>
393
public <A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>getAnchorB</B>()</PRE>
394
<DL>
395
<DD><DL>
396
</DL>
397
</DD>
398
</DL>
399
<HR>
400
 
401
<A NAME="getReactionForce(float)"><!-- --></A><H3>
402
getReactionForce</H3>
403
<PRE>
404
public <A HREF="../../../../../com/badlogic/gdx/math/Vector2.html" title="class in com.badlogic.gdx.math">Vector2</A> <B>getReactionForce</B>(float&nbsp;inv_dt)</PRE>
405
<DL>
406
<DD><DL>
407
</DL>
408
</DD>
409
</DL>
410
<HR>
411
 
412
<A NAME="getReactionTorque(float)"><!-- --></A><H3>
413
getReactionTorque</H3>
414
<PRE>
415
public float <B>getReactionTorque</B>(float&nbsp;inv_dt)</PRE>
416
<DL>
417
<DD>Get the reaction torque on body2 in N*m.
418
<P>
419
<DD><DL>
420
</DL>
421
</DD>
422
</DL>
423
<HR>
424
 
425
<A NAME="isActive()"><!-- --></A><H3>
426
isActive</H3>
427
<PRE>
428
public boolean <B>isActive</B>()</PRE>
429
<DL>
430
<DD>Short-cut function to determine if either body is inactive.
431
<P>
432
<DD><DL>
433
</DL>
434
</DD>
435
</DL>
436
<!-- ========= END OF CLASS DATA ========= -->
437
<HR>
438
 
439
 
440
<!-- ======= START OF BOTTOM NAVBAR ====== -->
441
<A NAME="navbar_bottom"><!-- --></A>
442
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
443
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
444
<TR>
445
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
446
<A NAME="navbar_bottom_firstrow"><!-- --></A>
447
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
448
  <TR ALIGN="center" VALIGN="top">
449
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
450
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
451
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
452
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Joint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
453
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
454
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
455
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
456
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
457
  </TR>
458
</TABLE>
459
</TD>
460
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
461
libgdx API</EM>
462
</TD>
463
</TR>
464
 
465
<TR>
466
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
467
&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/FixtureDef.html" title="class in com.badlogic.gdx.physics.box2d"><B>PREV CLASS</B></A>&nbsp;
468
&nbsp;<A HREF="../../../../../com/badlogic/gdx/physics/box2d/JointDef.html" title="class in com.badlogic.gdx.physics.box2d"><B>NEXT CLASS</B></A></FONT></TD>
469
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
470
  <A HREF="../../../../../index.html?com/badlogic/gdx/physics/box2d/Joint.html" target="_top"><B>FRAMES</B></A>  &nbsp;
471
&nbsp;<A HREF="Joint.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
472
&nbsp;<SCRIPT type="text/javascript">
473
  <!--
474
  if(window==top) {
475
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
476
  }
477
  //-->
478
</SCRIPT>
479
<NOSCRIPT>
480
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
481
</NOSCRIPT>
482
 
483
 
484
</FONT></TD>
485
</TR>
486
<TR>
487
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
488
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
489
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
490
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
491
</TR>
492
</TABLE>
493
<A NAME="skip-navbar_bottom"></A>
494
<!-- ======== END OF BOTTOM NAVBAR ======= -->
495
 
496
<HR>
497
 
498
                                <div style="font-size:9pt"><i>
499
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
500
                                </i></div>
501
 
502
</BODY>
503
</HTML>