Files
PhysX4.1/physx/documentation/PhysXAPI/files/structPxContactPairPoint.html
2025-11-28 23:13:44 +05:30

253 lines
14 KiB
HTML

<!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>PxContactPairPoint Struct Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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="PhysXLogoBlack.png"/></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>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structPxContactPairPoint.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structPxContactPairPoint-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">PxContactPairPoint Struct Reference<div class="ingroups"><a class="el" href="group__physics.html">Physics</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>A contact point as used by contact notification.
<a href="structPxContactPairPoint.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="PxSimulationEventCallback_8h_source.html">PxSimulationEventCallback.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxContactPairPoint:</div>
<div class="dyncontent">
<div class="center"><img src="structPxContactPairPoint__coll__graph.png" border="0" usemap="#PxContactPairPoint_coll__map" alt="Collaboration graph"/></div>
<map name="PxContactPairPoint_coll__map" id="PxContactPairPoint_coll__map">
<area shape="rect" id="node2" href="classPxVec3.html" title="3 Element vector class. " alt="" coords="39,5,107,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a66d3adffcb6ab1760863e56aa11e5700"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairPoint.html#a66d3adffcb6ab1760863e56aa11e5700">position</a></td></tr>
<tr class="memdesc:a66d3adffcb6ab1760863e56aa11e5700"><td class="mdescLeft">&#160;</td><td class="mdescRight">The position of the contact point between the shapes, in world space. <a href="#a66d3adffcb6ab1760863e56aa11e5700">More...</a><br /></td></tr>
<tr class="separator:a66d3adffcb6ab1760863e56aa11e5700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af259733d066c5295cea7423a4f9b59fd"><td class="memItemLeft" align="right" valign="top">PxReal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairPoint.html#af259733d066c5295cea7423a4f9b59fd">separation</a></td></tr>
<tr class="memdesc:af259733d066c5295cea7423a4f9b59fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The separation of the shapes at the contact point. A negative separation denotes a penetration. <a href="#af259733d066c5295cea7423a4f9b59fd">More...</a><br /></td></tr>
<tr class="separator:af259733d066c5295cea7423a4f9b59fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36ae08a170895b4b57eaa1f6488bcd05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairPoint.html#a36ae08a170895b4b57eaa1f6488bcd05">normal</a></td></tr>
<tr class="memdesc:a36ae08a170895b4b57eaa1f6488bcd05"><td class="mdescLeft">&#160;</td><td class="mdescRight">The normal of the contacting surfaces at the contact point. The normal direction points from the second shape to the first shape. <a href="#a36ae08a170895b4b57eaa1f6488bcd05">More...</a><br /></td></tr>
<tr class="separator:a36ae08a170895b4b57eaa1f6488bcd05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97a896e3c7d4fad769f6f90ed95e0fb4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairPoint.html#a97a896e3c7d4fad769f6f90ed95e0fb4">internalFaceIndex0</a></td></tr>
<tr class="memdesc:a97a896e3c7d4fad769f6f90ed95e0fb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The surface index of shape 0 at the contact point. This is used to identify the surface material. <a href="#a97a896e3c7d4fad769f6f90ed95e0fb4">More...</a><br /></td></tr>
<tr class="separator:a97a896e3c7d4fad769f6f90ed95e0fb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf48bcf5ea77bda35d58c7274fa44680"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairPoint.html#adf48bcf5ea77bda35d58c7274fa44680">impulse</a></td></tr>
<tr class="memdesc:adf48bcf5ea77bda35d58c7274fa44680"><td class="mdescLeft">&#160;</td><td class="mdescRight">The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value. <a href="#adf48bcf5ea77bda35d58c7274fa44680">More...</a><br /></td></tr>
<tr class="separator:adf48bcf5ea77bda35d58c7274fa44680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24d0d7df3a95498b60f2bc67d5d74ace"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxContactPairPoint.html#a24d0d7df3a95498b60f2bc67d5d74ace">internalFaceIndex1</a></td></tr>
<tr class="memdesc:a24d0d7df3a95498b60f2bc67d5d74ace"><td class="mdescLeft">&#160;</td><td class="mdescRight">The surface index of shape 1 at the contact point. This is used to identify the surface material. <a href="#a24d0d7df3a95498b60f2bc67d5d74ace">More...</a><br /></td></tr>
<tr class="separator:a24d0d7df3a95498b60f2bc67d5d74ace"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A contact point as used by contact notification. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="adf48bcf5ea77bda35d58c7274fa44680"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf48bcf5ea77bda35d58c7274fa44680">&#9670;&nbsp;</a></span>impulse</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> PxContactPairPoint::impulse</td>
</tr>
</table>
</div><div class="memdoc">
<p>The impulse applied at the contact point, in world space. Divide by the simulation time step to get a force value. </p>
<p class="reference">Referenced by <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">PxContactPair::extractContacts()</a>.</p>
</div>
</div>
<a id="a97a896e3c7d4fad769f6f90ed95e0fb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97a896e3c7d4fad769f6f90ed95e0fb4">&#9670;&nbsp;</a></span>internalFaceIndex0</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxContactPairPoint::internalFaceIndex0</td>
</tr>
</table>
</div><div class="memdoc">
<p>The surface index of shape 0 at the contact point. This is used to identify the surface material. </p>
<p class="reference">Referenced by <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">PxContactPair::extractContacts()</a>.</p>
</div>
</div>
<a id="a24d0d7df3a95498b60f2bc67d5d74ace"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24d0d7df3a95498b60f2bc67d5d74ace">&#9670;&nbsp;</a></span>internalFaceIndex1</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__foundation.html#gacce5749db3dcfb916e98c253374264ed">PxU32</a> PxContactPairPoint::internalFaceIndex1</td>
</tr>
</table>
</div><div class="memdoc">
<p>The surface index of shape 1 at the contact point. This is used to identify the surface material. </p>
<p class="reference">Referenced by <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">PxContactPair::extractContacts()</a>.</p>
</div>
</div>
<a id="a36ae08a170895b4b57eaa1f6488bcd05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36ae08a170895b4b57eaa1f6488bcd05">&#9670;&nbsp;</a></span>normal</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> PxContactPairPoint::normal</td>
</tr>
</table>
</div><div class="memdoc">
<p>The normal of the contacting surfaces at the contact point. The normal direction points from the second shape to the first shape. </p>
<p class="reference">Referenced by <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">PxContactPair::extractContacts()</a>.</p>
</div>
</div>
<a id="a66d3adffcb6ab1760863e56aa11e5700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66d3adffcb6ab1760863e56aa11e5700">&#9670;&nbsp;</a></span>position</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> PxContactPairPoint::position</td>
</tr>
</table>
</div><div class="memdoc">
<p>The position of the contact point between the shapes, in world space. </p>
<p class="reference">Referenced by <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">PxContactPair::extractContacts()</a>.</p>
</div>
</div>
<a id="af259733d066c5295cea7423a4f9b59fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af259733d066c5295cea7423a4f9b59fd">&#9670;&nbsp;</a></span>separation</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal PxContactPairPoint::separation</td>
</tr>
</table>
</div><div class="memdoc">
<p>The separation of the shapes at the contact point. A negative separation denotes a penetration. </p>
<p class="reference">Referenced by <a class="el" href="group__physics.html#gab6d54df954c875ccacf8bddba593cf83">PxContactPair::extractContacts()</a>.</p>
</div>
</div>
<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></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="structPxContactPairPoint.html">PxContactPairPoint</a></li>
<li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
</ul>
</div>
</body>
</html>