Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > deebb45492ddfb87b1d0b33e0be8a2b3 > files > 112

libbox2d-devel-2.3.1-3.mga7.armv7hl.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Box2D: b2WeldJoint.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="icon.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Box2D
   &#160;<span id="projectnumber">2.3.0</span>
   </div>
   <div id="projectbrief">A 2D Physics Engine for Games</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_a7f953fea4e008d17e00594b3bbaff29.html">Box2D</a></li><li class="navelem"><a class="el" href="dir_54cad791c4d2b04cb4a0ba0bba686f79.html">Dynamics</a></li><li class="navelem"><a class="el" href="dir_b4ce54b79b9fedd1c216c802993ffbe1.html">Joints</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">b2WeldJoint.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">*</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">* This software is provided &#39;as-is&#39;, without any express or implied</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">* warranty.  In no event will the authors be held liable for any damages</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">* arising from the use of this software.</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">* Permission is granted to anyone to use this software for any purpose,</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">* including commercial applications, and to alter it and redistribute it</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">* freely, subject to the following restrictions:</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">* 1. The origin of this software must not be misrepresented; you must not</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">* claim that you wrote the original software. If you use this software</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">* in a product, an acknowledgment in the product documentation would be</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">* appreciated but is not required.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">* 2. Altered source versions must be plainly marked as such, and must not be</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">* misrepresented as being the original software.</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">* 3. This notice may not be removed or altered from any source distribution.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef B2_WELD_JOINT_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define B2_WELD_JOINT_H</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;Box2D/Dynamics/Joints/b2Joint.h&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structb2_weld_joint_def.html">   27</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structb2_weld_joint_def.html">b2WeldJointDef</a> : <span class="keyword">public</span> <a class="code" href="structb2_joint_def.html">b2JointDef</a></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;{</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <a class="code" href="structb2_weld_joint_def.html">b2WeldJointDef</a>()</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    {</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <a class="code" href="structb2_joint_def.html#a470f2879b24adb05facbd49f338856fb">type</a> = e_weldJoint;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <a class="code" href="structb2_weld_joint_def.html#a3b04af6164bb32efc3f5cf3e8d2b7109">localAnchorA</a>.<a class="code" href="structb2_vec2.html#a4d61640a645e470a50b451307d8e94c3">Set</a>(0.0f, 0.0f);</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <a class="code" href="structb2_weld_joint_def.html#a528262b92dac10de37411ad8c5637149">localAnchorB</a>.<a class="code" href="structb2_vec2.html#a4d61640a645e470a50b451307d8e94c3">Set</a>(0.0f, 0.0f);</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <a class="code" href="structb2_weld_joint_def.html#a31aeb208f15842091c55e3f1bab6d8f1">referenceAngle</a> = 0.0f;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        <a class="code" href="structb2_weld_joint_def.html#abf42ce852914af845e9203b341f55c87">frequencyHz</a> = 0.0f;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <a class="code" href="structb2_weld_joint_def.html#ace1f0131610f14558f3dbaaed7b10e24">dampingRatio</a> = 0.0f;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    }</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="structb2_weld_joint_def.html#a9f6592c2a7eba6ce6e07e40c4e82aab5">Initialize</a>(<a class="code" href="classb2_body.html">b2Body</a>* <a class="code" href="structb2_joint_def.html#a8cd54c93da396be75a9788f2c6897f05">bodyA</a>, <a class="code" href="classb2_body.html">b2Body</a>* <a class="code" href="structb2_joint_def.html#aa4f4dee2fbcd12187b19506b60e68e3d">bodyB</a>, <span class="keyword">const</span> <a class="code" href="structb2_vec2.html">b2Vec2</a>&amp; anchor);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structb2_weld_joint_def.html#a3b04af6164bb32efc3f5cf3e8d2b7109">   44</a></span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> <a class="code" href="structb2_weld_joint_def.html#a3b04af6164bb32efc3f5cf3e8d2b7109">localAnchorA</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structb2_weld_joint_def.html#a528262b92dac10de37411ad8c5637149">   47</a></span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> <a class="code" href="structb2_weld_joint_def.html#a528262b92dac10de37411ad8c5637149">localAnchorB</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structb2_weld_joint_def.html#a31aeb208f15842091c55e3f1bab6d8f1">   50</a></span>&#160;    float32 <a class="code" href="structb2_weld_joint_def.html#a31aeb208f15842091c55e3f1bab6d8f1">referenceAngle</a>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="structb2_weld_joint_def.html#abf42ce852914af845e9203b341f55c87">   54</a></span>&#160;    float32 <a class="code" href="structb2_weld_joint_def.html#abf42ce852914af845e9203b341f55c87">frequencyHz</a>;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structb2_weld_joint_def.html#ace1f0131610f14558f3dbaaed7b10e24">   57</a></span>&#160;    float32 <a class="code" href="structb2_weld_joint_def.html#ace1f0131610f14558f3dbaaed7b10e24">dampingRatio</a>;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;};</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classb2_weld_joint.html">   62</a></span>&#160;<span class="keyword">class </span><a class="code" href="classb2_weld_joint.html">b2WeldJoint</a> : <span class="keyword">public</span> <a class="code" href="classb2_joint.html">b2Joint</a></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;{</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> <a class="code" href="classb2_weld_joint.html#a88b2821bd012d4029a88d34d557a064c">GetAnchorA</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> <a class="code" href="classb2_weld_joint.html#a18b0c8e9bbfe38a22e8fde0d7cdb9dff">GetAnchorB</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> <a class="code" href="classb2_weld_joint.html#aefef10db1c929576759a37b7e64192c1">GetReactionForce</a>(float32 inv_dt) <span class="keyword">const</span>;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    float32 <a class="code" href="classb2_weld_joint.html#a5717507e4297770a63ef423f66775db0">GetReactionTorque</a>(float32 inv_dt) <span class="keyword">const</span>;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classb2_weld_joint.html#af3a42eee31a74fe895b07fa694dc4ae5">   72</a></span>&#160;    <span class="keyword">const</span> <a class="code" href="structb2_vec2.html">b2Vec2</a>&amp; <a class="code" href="classb2_weld_joint.html#af3a42eee31a74fe895b07fa694dc4ae5">GetLocalAnchorA</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_localAnchorA; }</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classb2_weld_joint.html#ac0c5e6a53b120f0302d2c6d267d40147">   75</a></span>&#160;    <span class="keyword">const</span> <a class="code" href="structb2_vec2.html">b2Vec2</a>&amp; <a class="code" href="classb2_weld_joint.html#ac0c5e6a53b120f0302d2c6d267d40147">GetLocalAnchorB</a>()<span class="keyword"> const  </span>{ <span class="keywordflow">return</span> m_localAnchorB; }</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classb2_weld_joint.html#a2be9f207be5b00b775a7576e16d442ef">   78</a></span>&#160;    float32 <a class="code" href="classb2_weld_joint.html#a2be9f207be5b00b775a7576e16d442ef">GetReferenceAngle</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_referenceAngle; }</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classb2_weld_joint.html#a0796404379b7562f1af557729085c447">   81</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classb2_weld_joint.html#a0796404379b7562f1af557729085c447">SetFrequency</a>(float32 hz) { m_frequencyHz = hz; }</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    float32 GetFrequency()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_frequencyHz; }</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classb2_weld_joint.html#aea79865e590edba09eff9d2243689967">   85</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classb2_weld_joint.html#aea79865e590edba09eff9d2243689967">SetDampingRatio</a>(float32 ratio) { m_dampingRatio = ratio; }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    float32 GetDampingRatio()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_dampingRatio; }</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classb2_weld_joint.html#a2fd073c5e6264e98592240308a006981">Dump</a>();</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classb2_joint.html">b2Joint</a>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <a class="code" href="classb2_weld_joint.html">b2WeldJoint</a>(<span class="keyword">const</span> <a class="code" href="structb2_weld_joint_def.html">b2WeldJointDef</a>* def);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">void</span> InitVelocityConstraints(<span class="keyword">const</span> <a class="code" href="structb2_solver_data.html">b2SolverData</a>&amp; data);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">void</span> SolveVelocityConstraints(<span class="keyword">const</span> <a class="code" href="structb2_solver_data.html">b2SolverData</a>&amp; data);</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keywordtype">bool</span> SolvePositionConstraints(<span class="keyword">const</span> <a class="code" href="structb2_solver_data.html">b2SolverData</a>&amp; data);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    float32 m_frequencyHz;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    float32 m_dampingRatio;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    float32 m_bias;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="comment">// Solver shared</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> m_localAnchorA;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> m_localAnchorB;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    float32 m_referenceAngle;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    float32 m_gamma;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <a class="code" href="structb2_vec3.html">b2Vec3</a> m_impulse;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="comment">// Solver temp</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    int32 m_indexA;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    int32 m_indexB;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> m_rA;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> m_rB;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> m_localCenterA;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <a class="code" href="structb2_vec2.html">b2Vec2</a> m_localCenterB;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    float32 m_invMassA;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    float32 m_invMassB;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    float32 m_invIA;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    float32 m_invIB;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <a class="code" href="structb2_mat33.html">b2Mat33</a> m_mass;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;};</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="structb2_vec3_html"><div class="ttname"><a href="structb2_vec3.html">b2Vec3</a></div><div class="ttdoc">A 2D column vector with 3 elements. </div><div class="ttdef"><b>Definition:</b> b2Math.h:144</div></div>
<div class="ttc" id="structb2_joint_def_html_a8cd54c93da396be75a9788f2c6897f05"><div class="ttname"><a href="structb2_joint_def.html#a8cd54c93da396be75a9788f2c6897f05">b2JointDef::bodyA</a></div><div class="ttdeci">b2Body * bodyA</div><div class="ttdoc">The first attached body. </div><div class="ttdef"><b>Definition:</b> b2Joint.h:92</div></div>
<div class="ttc" id="structb2_weld_joint_def_html_a528262b92dac10de37411ad8c5637149"><div class="ttname"><a href="structb2_weld_joint_def.html#a528262b92dac10de37411ad8c5637149">b2WeldJointDef::localAnchorB</a></div><div class="ttdeci">b2Vec2 localAnchorB</div><div class="ttdoc">The local anchor point relative to bodyB&amp;#39;s origin. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:47</div></div>
<div class="ttc" id="structb2_mat33_html"><div class="ttname"><a href="structb2_mat33.html">b2Mat33</a></div><div class="ttdoc">A 3-by-3 matrix. Stored in column-major order. </div><div class="ttdef"><b>Definition:</b> b2Math.h:257</div></div>
<div class="ttc" id="classb2_weld_joint_html_a0796404379b7562f1af557729085c447"><div class="ttname"><a href="classb2_weld_joint.html#a0796404379b7562f1af557729085c447">b2WeldJoint::SetFrequency</a></div><div class="ttdeci">void SetFrequency(float32 hz)</div><div class="ttdoc">Set/get frequency in Hz. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:81</div></div>
<div class="ttc" id="structb2_joint_def_html_aa4f4dee2fbcd12187b19506b60e68e3d"><div class="ttname"><a href="structb2_joint_def.html#aa4f4dee2fbcd12187b19506b60e68e3d">b2JointDef::bodyB</a></div><div class="ttdeci">b2Body * bodyB</div><div class="ttdoc">The second attached body. </div><div class="ttdef"><b>Definition:</b> b2Joint.h:95</div></div>
<div class="ttc" id="classb2_weld_joint_html_a18b0c8e9bbfe38a22e8fde0d7cdb9dff"><div class="ttname"><a href="classb2_weld_joint.html#a18b0c8e9bbfe38a22e8fde0d7cdb9dff">b2WeldJoint::GetAnchorB</a></div><div class="ttdeci">b2Vec2 GetAnchorB() const</div><div class="ttdoc">Get the anchor point on bodyB in world coordinates. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.cpp:313</div></div>
<div class="ttc" id="classb2_joint_html"><div class="ttname"><a href="classb2_joint.html">b2Joint</a></div><div class="ttdef"><b>Definition:</b> b2Joint.h:103</div></div>
<div class="ttc" id="classb2_weld_joint_html"><div class="ttname"><a href="classb2_weld_joint.html">b2WeldJoint</a></div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:62</div></div>
<div class="ttc" id="classb2_weld_joint_html_a5717507e4297770a63ef423f66775db0"><div class="ttname"><a href="classb2_weld_joint.html#a5717507e4297770a63ef423f66775db0">b2WeldJoint::GetReactionTorque</a></div><div class="ttdeci">float32 GetReactionTorque(float32 inv_dt) const</div><div class="ttdoc">Get the reaction torque on bodyB in N*m. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.cpp:324</div></div>
<div class="ttc" id="structb2_vec2_html_a4d61640a645e470a50b451307d8e94c3"><div class="ttname"><a href="structb2_vec2.html#a4d61640a645e470a50b451307d8e94c3">b2Vec2::Set</a></div><div class="ttdeci">void Set(float32 x_, float32 y_)</div><div class="ttdoc">Set this vector to some specified coordinates. </div><div class="ttdef"><b>Definition:</b> b2Math.h:65</div></div>
<div class="ttc" id="structb2_weld_joint_def_html"><div class="ttname"><a href="structb2_weld_joint_def.html">b2WeldJointDef</a></div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:27</div></div>
<div class="ttc" id="structb2_joint_def_html_a470f2879b24adb05facbd49f338856fb"><div class="ttname"><a href="structb2_joint_def.html#a470f2879b24adb05facbd49f338856fb">b2JointDef::type</a></div><div class="ttdeci">b2JointType type</div><div class="ttdoc">The joint type is set automatically for concrete joint types. </div><div class="ttdef"><b>Definition:</b> b2Joint.h:86</div></div>
<div class="ttc" id="structb2_solver_data_html"><div class="ttname"><a href="structb2_solver_data.html">b2SolverData</a></div><div class="ttdoc">Solver Data. </div><div class="ttdef"><b>Definition:</b> b2TimeStep.h:63</div></div>
<div class="ttc" id="structb2_weld_joint_def_html_abf42ce852914af845e9203b341f55c87"><div class="ttname"><a href="structb2_weld_joint_def.html#abf42ce852914af845e9203b341f55c87">b2WeldJointDef::frequencyHz</a></div><div class="ttdeci">float32 frequencyHz</div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:54</div></div>
<div class="ttc" id="structb2_joint_def_html"><div class="ttname"><a href="structb2_joint_def.html">b2JointDef</a></div><div class="ttdoc">Joint definitions are used to construct joints. </div><div class="ttdef"><b>Definition:</b> b2Joint.h:74</div></div>
<div class="ttc" id="classb2_weld_joint_html_a88b2821bd012d4029a88d34d557a064c"><div class="ttname"><a href="classb2_weld_joint.html#a88b2821bd012d4029a88d34d557a064c">b2WeldJoint::GetAnchorA</a></div><div class="ttdeci">b2Vec2 GetAnchorA() const</div><div class="ttdoc">Get the anchor point on bodyA in world coordinates. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.cpp:308</div></div>
<div class="ttc" id="classb2_weld_joint_html_a2fd073c5e6264e98592240308a006981"><div class="ttname"><a href="classb2_weld_joint.html#a2fd073c5e6264e98592240308a006981">b2WeldJoint::Dump</a></div><div class="ttdeci">void Dump()</div><div class="ttdoc">Dump to b2Log. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.cpp:329</div></div>
<div class="ttc" id="classb2_weld_joint_html_aefef10db1c929576759a37b7e64192c1"><div class="ttname"><a href="classb2_weld_joint.html#aefef10db1c929576759a37b7e64192c1">b2WeldJoint::GetReactionForce</a></div><div class="ttdeci">b2Vec2 GetReactionForce(float32 inv_dt) const</div><div class="ttdoc">Get the reaction force on bodyB at the joint anchor in Newtons. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.cpp:318</div></div>
<div class="ttc" id="classb2_weld_joint_html_aea79865e590edba09eff9d2243689967"><div class="ttname"><a href="classb2_weld_joint.html#aea79865e590edba09eff9d2243689967">b2WeldJoint::SetDampingRatio</a></div><div class="ttdeci">void SetDampingRatio(float32 ratio)</div><div class="ttdoc">Set/get damping ratio. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:85</div></div>
<div class="ttc" id="structb2_weld_joint_def_html_a3b04af6164bb32efc3f5cf3e8d2b7109"><div class="ttname"><a href="structb2_weld_joint_def.html#a3b04af6164bb32efc3f5cf3e8d2b7109">b2WeldJointDef::localAnchorA</a></div><div class="ttdeci">b2Vec2 localAnchorA</div><div class="ttdoc">The local anchor point relative to bodyA&amp;#39;s origin. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:44</div></div>
<div class="ttc" id="classb2_body_html"><div class="ttname"><a href="classb2_body.html">b2Body</a></div><div class="ttdoc">A rigid body. These are created via b2World::CreateBody. </div><div class="ttdef"><b>Definition:</b> b2Body.h:126</div></div>
<div class="ttc" id="classb2_weld_joint_html_a2be9f207be5b00b775a7576e16d442ef"><div class="ttname"><a href="classb2_weld_joint.html#a2be9f207be5b00b775a7576e16d442ef">b2WeldJoint::GetReferenceAngle</a></div><div class="ttdeci">float32 GetReferenceAngle() const</div><div class="ttdoc">Get the reference angle. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:78</div></div>
<div class="ttc" id="classb2_weld_joint_html_ac0c5e6a53b120f0302d2c6d267d40147"><div class="ttname"><a href="classb2_weld_joint.html#ac0c5e6a53b120f0302d2c6d267d40147">b2WeldJoint::GetLocalAnchorB</a></div><div class="ttdeci">const b2Vec2 &amp; GetLocalAnchorB() const</div><div class="ttdoc">The local anchor point relative to bodyB&amp;#39;s origin. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:75</div></div>
<div class="ttc" id="structb2_vec2_html"><div class="ttname"><a href="structb2_vec2.html">b2Vec2</a></div><div class="ttdoc">A 2D column vector. </div><div class="ttdef"><b>Definition:</b> b2Math.h:53</div></div>
<div class="ttc" id="structb2_weld_joint_def_html_a31aeb208f15842091c55e3f1bab6d8f1"><div class="ttname"><a href="structb2_weld_joint_def.html#a31aeb208f15842091c55e3f1bab6d8f1">b2WeldJointDef::referenceAngle</a></div><div class="ttdeci">float32 referenceAngle</div><div class="ttdoc">The bodyB angle minus bodyA angle in the reference state (radians). </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:50</div></div>
<div class="ttc" id="classb2_weld_joint_html_af3a42eee31a74fe895b07fa694dc4ae5"><div class="ttname"><a href="classb2_weld_joint.html#af3a42eee31a74fe895b07fa694dc4ae5">b2WeldJoint::GetLocalAnchorA</a></div><div class="ttdeci">const b2Vec2 &amp; GetLocalAnchorA() const</div><div class="ttdoc">The local anchor point relative to bodyA&amp;#39;s origin. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:72</div></div>
<div class="ttc" id="structb2_weld_joint_def_html_ace1f0131610f14558f3dbaaed7b10e24"><div class="ttname"><a href="structb2_weld_joint_def.html#ace1f0131610f14558f3dbaaed7b10e24">b2WeldJointDef::dampingRatio</a></div><div class="ttdeci">float32 dampingRatio</div><div class="ttdoc">The damping ratio. 0 = no damping, 1 = critical damping. </div><div class="ttdef"><b>Definition:</b> b2WeldJoint.h:57</div></div>
<div class="ttc" id="structb2_weld_joint_def_html_a9f6592c2a7eba6ce6e07e40c4e82aab5"><div class="ttname"><a href="structb2_weld_joint_def.html#a9f6592c2a7eba6ce6e07e40c4e82aab5">b2WeldJointDef::Initialize</a></div><div class="ttdeci">void Initialize(b2Body *bodyA, b2Body *bodyB, const b2Vec2 &amp;anchor)</div><div class="ttdef"><b>Definition:</b> b2WeldJoint.cpp:37</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 21 2018 22:35:06 for Box2D by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>