aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/structPxContactPairVelocity.html
blob: 0a31aef08afdf0c796f6082ef0368286247de471 (plain) (blame)
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
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxContactPairVelocity Struct Reference</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
	</head>

	<body bgcolor="#FFFFFF">
		<div id="header">
			<hr class="first">
			<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; 
				<a class="qindex" href="annotated.html">Compound List</a> &nbsp; 
				<a class="qindex" href="functions.html">Compound Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxContactPairVelocity Struct Reference<br>
<small>
[<a class="el" href="group__physics.html">Physics</a>]</small>
</h1><!-- doxytag: class="PxContactPairVelocity" --><!-- doxytag: inherits="PxContactPairExtraDataItem" -->Velocities of the contact pair rigid bodies.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxSimulationEventCallback_8h-source.html">PxSimulationEventCallback.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for PxContactPairVelocity:</div>
<div class="dynsection">
<p><center><img src="structPxContactPairVelocity__inherit__graph.png" border="0" usemap="#PxContactPairVelocity__inherit__map" alt="Inheritance graph"></center>
<map name="PxContactPairVelocity__inherit__map">
<area shape="rect" href="structPxContactPairExtraDataItem.html" title="Base class for items in the extra data stream of contact pairs." alt="PxContactPairExtraDataItem" coords="7,16,177,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for PxContactPairVelocity:</div>
<div class="dynsection">
<p><center><img src="structPxContactPairVelocity__coll__graph.png" border="0" usemap="#PxContactPairVelocity__coll__map" alt="Collaboration graph"></center>
<map name="PxContactPairVelocity__coll__map">
<area shape="rect" href="structPxContactPairExtraDataItem.html" title="Base class for items in the extra data stream of contact pairs." alt="PxContactPairExtraDataItem" coords="7,16,177,37"><area shape="rect" href="classPxVec3.html" title="3 Element vector class." alt="PxVec3" coords="201,16,255,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structPxContactPairVelocity-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_FORCE_INLINE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairVelocity.html#413001492fb89e7e85dd76ed7a8d8f6d">PxContactPairVelocity</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairVelocity.html#98a55c7cf6a531934189f69933723a23">linearVelocity</a> [2]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The linear velocity of the rigid bodies.  <a href="#98a55c7cf6a531934189f69933723a23"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairVelocity.html#a930131d979792551504da7890665c76">angularVelocity</a> [2]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The angular velocity of the rigid bodies.  <a href="#a930131d979792551504da7890665c76"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Velocities of the contact pair rigid bodies. 
<p>
This struct is shared by multiple types of extra data items. The <a class="el" href="structPxContactPairExtraDataItem.html#18e83c33b02a0a57f0daf818379e06d6" title="The type of the extra data stream item.">type</a> field allows to distinguish between them: <ul>
<li><a class="el" href="structPxContactPairExtraDataType.html#ba00bd5468b1e16d9b473f573ddc2ccf65354aa538954b8a3cf69c76ea17c969" title="see PxContactPairVelocity">PxContactPairExtraDataType::ePRE_SOLVER_VELOCITY</a>: see <a class="el" href="structPxPairFlag.html#60e71a2948b030140f840766a3f7ac2fcac6889c907f5e9dcf8e6ea56da1f99e" title="Provide pre solver velocities in contact reports for this collision pair.">PxPairFlag::ePRE_SOLVER_VELOCITY</a> </li>
<li><a class="el" href="structPxContactPairExtraDataType.html#ba00bd5468b1e16d9b473f573ddc2ccf84f1ceadbc96a19d20b1c73b9d423f97" title="see PxContactPairVelocity">PxContactPairExtraDataType::ePOST_SOLVER_VELOCITY</a>: see <a class="el" href="structPxPairFlag.html#60e71a2948b030140f840766a3f7ac2f9502180b279a27e884468c3cb7c64544" title="Provide post solver velocities in contact reports for this collision pair.">PxPairFlag::ePOST_SOLVER_VELOCITY</a></li>
</ul>
<dl class="note" compact><dt><b>Note:</b></dt><dd>For static rigid bodies, the velocities will be set to zero.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxContactPairHeader.html#2a9619192f15e1a60104c90b83f67e33" title="Stream containing extra data as requested in the PxPairFlag flags of the simulation...">PxContactPairHeader.extraDataStream</a> </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="413001492fb89e7e85dd76ed7a8d8f6d"></a><!-- doxytag: member="PxContactPairVelocity::PxContactPairVelocity" ref="413001492fb89e7e85dd76ed7a8d8f6d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_FORCE_INLINE PxContactPairVelocity::PxContactPairVelocity           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="a930131d979792551504da7890665c76"></a><!-- doxytag: member="PxContactPairVelocity::angularVelocity" ref="a930131d979792551504da7890665c76" args="[2]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> <a class="el" href="structPxContactPairVelocity.html#a930131d979792551504da7890665c76">PxContactPairVelocity::angularVelocity</a>[2]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The angular velocity of the rigid bodies. 
<p>

</div>
</div><p>
<a class="anchor" name="98a55c7cf6a531934189f69933723a23"></a><!-- doxytag: member="PxContactPairVelocity::linearVelocity" ref="98a55c7cf6a531934189f69933723a23" args="[2]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> <a class="el" href="structPxContactPairVelocity.html#98a55c7cf6a531934189f69933723a23">PxContactPairVelocity::linearVelocity</a>[2]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The linear velocity of the rigid bodies. 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxSimulationEventCallback_8h-source.html">PxSimulationEventCallback.h</a></ul>
</div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>