diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/classPxVec3.html | |
| download | physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip | |
Initial commit:
PhysX 3.4.0 Update @ 21294896
APEX 1.4.0 Update @ 21275617
[CL 21300167]
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxVec3.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/classPxVec3.html | 1114 |
1 files changed, 1114 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec3.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec3.html new file mode 100644 index 00000000..931af275 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec3.html @@ -0,0 +1,1114 @@ +<html> + <head> + <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVec3 Class 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> + <a class="qindex" href="hierarchy.html">Class Hierarchy</a> + <a class="qindex" href="annotated.html">Compound List</a> + <a class="qindex" href="functions.html">Compound Members</a> + </center> + <hr class="second"> + </div> +<!-- Generated by Doxygen 1.5.8 --> +<div class="contents"> +<h1>PxVec3 Class Reference<br> +<small> +[<a class="el" href="group__foundation.html">Foundation</a>]</small> +</h1><!-- doxytag: class="PxVec3" -->3 Element vector class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="PxVec3_8h-source.html">PxVec3.h</a>></code> +<p> + +<p> +<a href="classPxVec3-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_CUDA_CALLABLE PX_FORCE_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#672e12542fc6f752d21368493578af4e">PxVec3</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor leaves data uninitialized. <a href="#672e12542fc6f752d21368493578af4e"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_FORCE_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#639685f39203ac441edd2158ef1a1549">PxVec3</a> (<a class="el" href="group__foundation.html#gc10bd69c94c165a52f6de39678ef9d4c">PxZERO</a> r)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">zero constructor. <a href="#639685f39203ac441edd2158ef1a1549"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_FORCE_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#864f52fe3c9c9f72f5796a7cb64b2628">PxVec3</a> (float a)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Assigns scalar parameter to all elements. <a href="#864f52fe3c9c9f72f5796a7cb64b2628"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_FORCE_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#bd382848d9b79dbcec4d86ee0e98836b">PxVec3</a> (float nx, float ny, float nz)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes from 3 scalar parameters. <a href="#bd382848d9b79dbcec4d86ee0e98836b"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_FORCE_INLINE </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#b8853e036ac988fb3c58d1acd9f466d5">PxVec3</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#b8853e036ac988fb3c58d1acd9f466d5"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#86f607c621d110d976c8e71772c25158">operator=</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &p)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#86f607c621d110d976c8e71772c25158"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_DEPRECATED PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#faae1b939e5c7ae27aba81612dd5fc01">operator[]</a> (unsigned int index)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element access <a href="#faae1b939e5c7ae27aba81612dd5fc01"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_DEPRECATED PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#a0224a065fc915ebd610887d6d156343">operator[]</a> (unsigned int index) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element access <a href="#a0224a065fc915ebd610887d6d156343"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#81950e1461513bdae58fc5e80443455c">operator==</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if the two vectors are exactly equal. <a href="#81950e1461513bdae58fc5e80443455c"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#34f703b843288209243dd5c6f9f714d6">operator!=</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if the two vectors are not exactly equal. <a href="#34f703b843288209243dd5c6f9f714d6"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#744d8602ff3568f0eefb1a2be0295ec1">isZero</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tests for exact zero vector <a href="#744d8602ff3568f0eefb1a2be0295ec1"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE PX_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#65b6f42ac7654a7d79590a2f1d00e160">isFinite</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if all 3 elems of the vector are finite (not NAN or INF, etc.) <a href="#65b6f42ac7654a7d79590a2f1d00e160"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#2921910607fd21a4aaf24114a705daf7">isNormalized</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">is normalized - used by API parameter validation <a href="#2921910607fd21a4aaf24114a705daf7"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#257aac3cfb20ef11768209f61b4fc9eb">magnitudeSquared</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the squared magnitude <a href="#257aac3cfb20ef11768209f61b4fc9eb"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#484f52dfb6f012cd492f8321bc1b4d42">magnitude</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the magnitude <a href="#484f52dfb6f012cd492f8321bc1b4d42"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#52f34539398f2f80d9c7d635cee65646">operator-</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">negation <a href="#52f34539398f2f80d9c7d635cee65646"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#e1e60e73149c6292d7d440c75978fbd0">operator+</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector addition <a href="#e1e60e73149c6292d7d440c75978fbd0"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#023d08679d83fc24db4e3a7b4033f720">operator-</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector difference <a href="#023d08679d83fc24db4e3a7b4033f720"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#4399c60f4d75e2dd12dd62d67f1e4fd6">operator*</a> (float f) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar post-multiplication <a href="#4399c60f4d75e2dd12dd62d67f1e4fd6"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#6c4f1d1a455628f6bf4594b9ce62d26c">operator/</a> (float f) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar division <a href="#6c4f1d1a455628f6bf4594b9ce62d26c"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#98bd7279c4e208de0ba2c072e7cde6bb">operator+=</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector addition <a href="#98bd7279c4e208de0ba2c072e7cde6bb"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#0e2b732fce0676fd6f7133d80dcb9979">operator-=</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector difference <a href="#0e2b732fce0676fd6f7133d80dcb9979"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#1b8491d9bd8784f27573b31927b730b2">operator*=</a> (float f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar multiplication <a href="#1b8491d9bd8784f27573b31927b730b2"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#edae1ad379d93f8713b7f8c09db8b8fa">operator/=</a> (float f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar division <a href="#edae1ad379d93f8713b7f8c09db8b8fa"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#f29c27e8aae481d97570e7990388bdf5">dot</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the scalar product of this and other. <a href="#f29c27e8aae481d97570e7990388bdf5"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#f14a984e579fb0fa49b5d30c2d008691">cross</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">cross product <a href="#f14a984e579fb0fa49b5d30c2d008691"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#91d643f074916c986cf36081a1f67bca">getNormalized</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#b67c4b05db03b0ceeddc74b1f6f77af5">normalize</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">normalizes the vector in place <a href="#b67c4b05db03b0ceeddc74b1f6f77af5"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#69edea41dcd58f35d35036026bf75dcc">normalizeSafe</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">normalizes the vector in place. Does nothing if vector magnitude is under PX_NORMALIZATION_EPSILON. Returns vector magnitude if >= PX_NORMALIZATION_EPSILON and 0.0f otherwise. <a href="#69edea41dcd58f35d35036026bf75dcc"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#be30659678fa294743b2eaabe69a8689">normalizeFast</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">normalizes the vector in place. Asserts if vector magnitude is under PX_NORMALIZATION_EPSILON. returns vector magnitude. <a href="#be30659678fa294743b2eaabe69a8689"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#9cc40866bdd9940ef8a3cc8d2a75a593">multiply</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &a) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">a[i] * b[i], for all i. <a href="#9cc40866bdd9940ef8a3cc8d2a75a593"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#0fe31e31784b03510dd5eb94b4322e29">minimum</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element-wise minimum <a href="#0fe31e31784b03510dd5eb94b4322e29"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#cb26d5ad522e925245a3b16f76df4b51">minElement</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns MIN(x, y, z); <a href="#cb26d5ad522e925245a3b16f76df4b51"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#c0788c2bb97bfaa65106fea23cf55a83">maximum</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element-wise maximum <a href="#c0788c2bb97bfaa65106fea23cf55a83"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#6f31dfee4f75a05884c6e4f511e21142">maxElement</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns MAX(x, y, z); <a href="#6f31dfee4f75a05884c6e4f511e21142"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_CUDA_CALLABLE <br class="typebreak"> +PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#4454d8535cfbf9d723f771c0b9adeb6d">abs</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns absolute values of components; <a href="#4454d8535cfbf9d723f771c0b9adeb6d"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#391194bca8291161c06254f4ac2b6ada">x</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#29958700f50da2204edc519b47706a05">y</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec3.html#50d67b162b99b904c3f362ad0415dbca">z</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +3 Element vector class. +<p> +This is a 3-dimensional vector class with public data members. <hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="672e12542fc6f752d21368493578af4e"></a><!-- doxytag: member="PxVec3::PxVec3" ref="672e12542fc6f752d21368493578af4e" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3::PxVec3 </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +default constructor leaves data uninitialized. +<p> + +</div> +</div><p> +<a class="anchor" name="639685f39203ac441edd2158ef1a1549"></a><!-- doxytag: member="PxVec3::PxVec3" ref="639685f39203ac441edd2158ef1a1549" args="(PxZERO r)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3::PxVec3 </td> + <td>(</td> + <td class="paramtype"><a class="el" href="group__foundation.html#gc10bd69c94c165a52f6de39678ef9d4c">PxZERO</a> </td> + <td class="paramname"> <em>r</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +zero constructor. +<p> + +<p>References <a class="el" href="PxPreprocessor_8h-source.html#l00456">PX_UNUSED()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="864f52fe3c9c9f72f5796a7cb64b2628"></a><!-- doxytag: member="PxVec3::PxVec3" ref="864f52fe3c9c9f72f5796a7cb64b2628" args="(float a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3::PxVec3 </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>a</em> </td> + <td> ) </td> + <td><code> [inline, explicit]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Assigns scalar parameter to all elements. +<p> +Useful to initialize to zero or one.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>a</em> </td><td>Value to assign to elements. </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="bd382848d9b79dbcec4d86ee0e98836b"></a><!-- doxytag: member="PxVec3::PxVec3" ref="bd382848d9b79dbcec4d86ee0e98836b" args="(float nx, float ny, float nz)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3::PxVec3 </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>nx</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"> <em>ny</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">float </td> + <td class="paramname"> <em>nz</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Initializes from 3 scalar parameters. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nx</em> </td><td>Value to initialize X component. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>ny</em> </td><td>Value to initialize Y component. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nz</em> </td><td>Value to initialize Z component. </td></tr> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="b8853e036ac988fb3c58d1acd9f466d5"></a><!-- doxytag: member="PxVec3::PxVec3" ref="b8853e036ac988fb3c58d1acd9f466d5" args="(const PxVec3 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3::PxVec3 </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Copy ctor. +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="4454d8535cfbf9d723f771c0b9adeb6d"></a><!-- doxytag: member="PxVec3::abs" ref="4454d8535cfbf9d723f771c0b9adeb6d" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::abs </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns absolute values of components; +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00107">PxAbs()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="f14a984e579fb0fa49b5d30c2d008691"></a><!-- doxytag: member="PxVec3::cross" ref="f14a984e579fb0fa49b5d30c2d008691" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::cross </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +cross product +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="f29c27e8aae481d97570e7990388bdf5"></a><!-- doxytag: member="PxVec3::dot" ref="f29c27e8aae481d97570e7990388bdf5" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::dot </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns the scalar product of this and other. +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +<p>Referenced by <a class="el" href="PxPlane_8h-source.html#l00099">PxPlane::distance()</a>, <a class="el" href="PxPlane_8h-source.html#l00085">PxPlane::PxPlane()</a>, and <a class="el" href="PxMassProperties_8h-source.html#l00245">PxMassProperties::scaleInertia()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="91d643f074916c986cf36081a1f67bca"></a><!-- doxytag: member="PxVec3::getNormalized" ref="91d643f074916c986cf36081a1f67bca" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::getNormalized </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +return a unit vector +<p>References <a class="el" href="PxMath_8h-source.html#l00156">PxRecipSqrt()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="65b6f42ac7654a7d79590a2f1d00e160"></a><!-- doxytag: member="PxVec3::isFinite" ref="65b6f42ac7654a7d79590a2f1d00e160" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec3::isFinite </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns true if all 3 elems of the vector are finite (not NAN or INF, etc.) +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00292">PxIsFinite()</a>.</p> + +<p>Referenced by <a class="el" href="PxMassProperties_8h-source.html#l00186">PxMassProperties::getMassSpaceInertia()</a>, <a class="el" href="PxBounds3_8h-source.html#l00273">PxBounds3::isFinite()</a>, <a class="el" href="PxTriangleMeshGeometry_8h-source.html#l00131">PxTriangleMeshGeometry::isValid()</a>, <a class="el" href="PxConvexMeshGeometry_8h-source.html#l00131">PxConvexMeshGeometry::isValid()</a>, <a class="el" href="PxBoxGeometry_8h-source.html#l00092">PxBoxGeometry::isValid()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00226">PxMassProperties::rotateInertia()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00245">PxMassProperties::scaleInertia()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00282">PxMassProperties::sum()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00168">PxMassProperties::translate()</a>, and <a class="el" href="PxMassProperties_8h-source.html#l00204">PxMassProperties::translateInertia()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="2921910607fd21a4aaf24114a705daf7"></a><!-- doxytag: member="PxVec3::isNormalized" ref="2921910607fd21a4aaf24114a705daf7" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec3::isNormalized </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +is normalized - used by API parameter validation +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00107">PxAbs()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="744d8602ff3568f0eefb1a2be0295ec1"></a><!-- doxytag: member="PxVec3::isZero" ref="744d8602ff3568f0eefb1a2be0295ec1" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec3::isZero </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +tests for exact zero vector +<p> + +</div> +</div><p> +<a class="anchor" name="484f52dfb6f012cd492f8321bc1b4d42"></a><!-- doxytag: member="PxVec3::magnitude" ref="484f52dfb6f012cd492f8321bc1b4d42" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::magnitude </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns the magnitude +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00144">PxSqrt()</a>.</p> + +<p>Referenced by <a class="el" href="PxQuat_8h-source.html#l00088">PxQuat::PxQuat()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="257aac3cfb20ef11768209f61b4fc9eb"></a><!-- doxytag: member="PxVec3::magnitudeSquared" ref="257aac3cfb20ef11768209f61b4fc9eb" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::magnitudeSquared </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns the squared magnitude +<p> +Avoids calling <a class="el" href="group__foundation.html#g11d5e4e77acad728886b380b5f3806f0" title="Square root.">PxSqrt()</a>! +</div> +</div><p> +<a class="anchor" name="6f31dfee4f75a05884c6e4f511e21142"></a><!-- doxytag: member="PxVec3::maxElement" ref="6f31dfee4f75a05884c6e4f511e21142" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::maxElement </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns MAX(x, y, z); +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00070">PxMax()</a>.</p> + +<p>Referenced by <a class="el" href="PxMeshScale_8h-source.html#l00153">PxMeshScale::isValidForTriangleMesh()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="c0788c2bb97bfaa65106fea23cf55a83"></a><!-- doxytag: member="PxVec3::maximum" ref="c0788c2bb97bfaa65106fea23cf55a83" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::maximum </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element-wise maximum +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00070">PxMax()</a>, <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +<p>Referenced by <a class="el" href="PxBounds3_8h-source.html#l00278">PxBounds3::boundsOfPoints()</a>, and <a class="el" href="PxBounds3_8h-source.html#l00322">PxBounds3::include()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="cb26d5ad522e925245a3b16f76df4b51"></a><!-- doxytag: member="PxVec3::minElement" ref="cb26d5ad522e925245a3b16f76df4b51" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::minElement </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns MIN(x, y, z); +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00086">PxMin()</a>.</p> + +<p>Referenced by <a class="el" href="PxMeshScale_8h-source.html#l00153">PxMeshScale::isValidForTriangleMesh()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="0fe31e31784b03510dd5eb94b4322e29"></a><!-- doxytag: member="PxVec3::minimum" ref="0fe31e31784b03510dd5eb94b4322e29" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::minimum </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element-wise minimum +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00086">PxMin()</a>, <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +<p>Referenced by <a class="el" href="PxBounds3_8h-source.html#l00278">PxBounds3::boundsOfPoints()</a>, and <a class="el" href="PxBounds3_8h-source.html#l00322">PxBounds3::include()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="9cc40866bdd9940ef8a3cc8d2a75a593"></a><!-- doxytag: member="PxVec3::multiply" ref="9cc40866bdd9940ef8a3cc8d2a75a593" args="(const PxVec3 &a) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::multiply </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>a</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +a[i] * b[i], for all i. +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +<p>Referenced by <a class="el" href="PxMassProperties_8h-source.html#l00083">PxMassProperties::PxMassProperties()</a>, and <a class="el" href="PxMassProperties_8h-source.html#l00245">PxMassProperties::scaleInertia()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="b67c4b05db03b0ceeddc74b1f6f77af5"></a><!-- doxytag: member="PxVec3::normalize" ref="b67c4b05db03b0ceeddc74b1f6f77af5" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::normalize </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +normalizes the vector in place +<p> + +<p>Referenced by <a class="el" href="PxTriangle_8h-source.html#l00102">PxTriangle::normal()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="be30659678fa294743b2eaabe69a8689"></a><!-- doxytag: member="PxVec3::normalizeFast" ref="be30659678fa294743b2eaabe69a8689" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::normalizeFast </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +normalizes the vector in place. Asserts if vector magnitude is under PX_NORMALIZATION_EPSILON. returns vector magnitude. +<p> + +<p>References <a class="el" href="PxAssert_8h-source.html#l00061">PX_ASSERT</a>, and <a class="el" href="PxSimpleTypes_8h-source.html#l00095">PX_NORMALIZATION_EPSILON</a>.</p> + +</div> +</div><p> +<a class="anchor" name="69edea41dcd58f35d35036026bf75dcc"></a><!-- doxytag: member="PxVec3::normalizeSafe" ref="69edea41dcd58f35d35036026bf75dcc" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec3::normalizeSafe </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +normalizes the vector in place. Does nothing if vector magnitude is under PX_NORMALIZATION_EPSILON. Returns vector magnitude if >= PX_NORMALIZATION_EPSILON and 0.0f otherwise. +<p> + +<p>References <a class="el" href="PxSimpleTypes_8h-source.html#l00095">PX_NORMALIZATION_EPSILON</a>.</p> + +</div> +</div><p> +<a class="anchor" name="34f703b843288209243dd5c6f9f714d6"></a><!-- doxytag: member="PxVec3::operator!=" ref="34f703b843288209243dd5c6f9f714d6" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec3::operator!= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns true if the two vectors are not exactly equal. +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="4399c60f4d75e2dd12dd62d67f1e4fd6"></a><!-- doxytag: member="PxVec3::operator*" ref="4399c60f4d75e2dd12dd62d67f1e4fd6" args="(float f) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::operator* </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar post-multiplication +<p> + +</div> +</div><p> +<a class="anchor" name="1b8491d9bd8784f27573b31927b730b2"></a><!-- doxytag: member="PxVec3::operator*=" ref="1b8491d9bd8784f27573b31927b730b2" args="(float f)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a>& PxVec3::operator*= </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar multiplication +<p> + +</div> +</div><p> +<a class="anchor" name="e1e60e73149c6292d7d440c75978fbd0"></a><!-- doxytag: member="PxVec3::operator+" ref="e1e60e73149c6292d7d440c75978fbd0" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::operator+ </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector addition +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="98bd7279c4e208de0ba2c072e7cde6bb"></a><!-- doxytag: member="PxVec3::operator+=" ref="98bd7279c4e208de0ba2c072e7cde6bb" args="(const PxVec3 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a>& PxVec3::operator+= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector addition +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="023d08679d83fc24db4e3a7b4033f720"></a><!-- doxytag: member="PxVec3::operator-" ref="023d08679d83fc24db4e3a7b4033f720" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::operator- </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector difference +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="52f34539398f2f80d9c7d635cee65646"></a><!-- doxytag: member="PxVec3::operator-" ref="52f34539398f2f80d9c7d635cee65646" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::operator- </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +negation +<p> + +</div> +</div><p> +<a class="anchor" name="0e2b732fce0676fd6f7133d80dcb9979"></a><!-- doxytag: member="PxVec3::operator-=" ref="0e2b732fce0676fd6f7133d80dcb9979" args="(const PxVec3 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a>& PxVec3::operator-= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +vector difference +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="6c4f1d1a455628f6bf4594b9ce62d26c"></a><!-- doxytag: member="PxVec3::operator/" ref="6c4f1d1a455628f6bf4594b9ce62d26c" args="(float f) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a> PxVec3::operator/ </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar division +<p> + +</div> +</div><p> +<a class="anchor" name="edae1ad379d93f8713b7f8c09db8b8fa"></a><!-- doxytag: member="PxVec3::operator/=" ref="edae1ad379d93f8713b7f8c09db8b8fa" args="(float f)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a>& PxVec3::operator/= </td> + <td>(</td> + <td class="paramtype">float </td> + <td class="paramname"> <em>f</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +scalar division +<p> + +</div> +</div><p> +<a class="anchor" name="86f607c621d110d976c8e71772c25158"></a><!-- doxytag: member="PxVec3::operator=" ref="86f607c621d110d976c8e71772c25158" args="(const PxVec3 &p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec3.html">PxVec3</a>& PxVec3::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>p</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Assignment operator. +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="81950e1461513bdae58fc5e80443455c"></a><!-- doxytag: member="PxVec3::operator==" ref="81950e1461513bdae58fc5e80443455c" args="(const PxVec3 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec3::operator== </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> & </td> + <td class="paramname"> <em>v</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +returns true if the two vectors are exactly equal. +<p> + +<p>References <a class="el" href="PxVec3_8h-source.html#l00380">x</a>, <a class="el" href="PxVec3_8h-source.html#l00380">y</a>, and <a class="el" href="PxVec3_8h-source.html#l00380">z</a>.</p> + +</div> +</div><p> +<a class="anchor" name="a0224a065fc915ebd610887d6d156343"></a><!-- doxytag: member="PxVec3::operator[]" ref="a0224a065fc915ebd610887d6d156343" args="(unsigned int index) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_DEPRECATED PX_CUDA_CALLABLE PX_FORCE_INLINE const float& PxVec3::operator[] </td> + <td>(</td> + <td class="paramtype">unsigned int </td> + <td class="paramname"> <em>index</em> </td> + <td> ) </td> + <td> const<code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element access +<p> + +<p>References <a class="el" href="PxAssert_8h-source.html#l00061">PX_ASSERT</a>.</p> + +</div> +</div><p> +<a class="anchor" name="faae1b939e5c7ae27aba81612dd5fc01"></a><!-- doxytag: member="PxVec3::operator[]" ref="faae1b939e5c7ae27aba81612dd5fc01" args="(unsigned int index)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_DEPRECATED PX_CUDA_CALLABLE PX_FORCE_INLINE float& PxVec3::operator[] </td> + <td>(</td> + <td class="paramtype">unsigned int </td> + <td class="paramname"> <em>index</em> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +element access +<p> + +<p>References <a class="el" href="PxAssert_8h-source.html#l00061">PX_ASSERT</a>.</p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="391194bca8291161c06254f4ac2b6ada"></a><!-- doxytag: member="PxVec3::x" ref="391194bca8291161c06254f4ac2b6ada" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec3.html#391194bca8291161c06254f4ac2b6ada">PxVec3::x</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxBounds3_8h-source.html#l00289">PxBounds3::basisExtent()</a>, <a class="el" href="PxBounds3_8h-source.html#l00355">PxBounds3::contains()</a>, <a class="el" href="PxMat33_8h-source.html#l00176">PxMat33::createDiagonal()</a>, <a class="el" href="PxVec3_8h-source.html#l00283">cross()</a>, <a class="el" href="PxExtended_8h-source.html#l00140">PxExtendedVec3::cross()</a>, <a class="el" href="PxVec3_8h-source.html#l00275">dot()</a>, <a class="el" href="PxExtended_8h-source.html#l00067">PxExtendedVec3::dot()</a>, <a class="el" href="PxBounds3_8h-source.html#l00431">PxBounds3::fattenFast()</a>, <a class="el" href="PxMat33_8h-source.html#l00200">PxMat33::getInverse()</a>, <a class="el" href="PxBounds3_8h-source.html#l00342">PxBounds3::intersects()</a>, <a class="el" href="PxBounds3_8h-source.html#l00336">PxBounds3::isEmpty()</a>, <a class="el" href="PxBounds3_8h-source.html#l00363">PxBounds3::isInside()</a>, <a class="el" href="PxBoxGeometry_8h-source.html#l00092">PxBoxGeometry::isValid()</a>, <a class="el" href="PxBounds3_8h-source.html#l00467">PxBounds3::isValid()</a>, <a class="el" href="PxVec3_8h-source.html#l00359">maximum()</a>, <a class="el" href="PxVec3_8h-source.html#l00343">minimum()</a>, <a class="el" href="PxVec3_8h-source.html#l00335">multiply()</a>, <a class="el" href="PxVec3_8h-source.html#l00139">operator!=()</a>, <a class="el" href="PxVec3_8h-source.html#l00383">operator*()</a>, <a class="el" href="PxVec3_8h-source.html#l00198">operator+()</a>, <a class="el" href="PxVec3_8h-source.html#l00231">operator+=()</a>, <a class="el" href="PxExtended_8h-source.html#l00204">PxExtendedVec3::operator+=()</a>, <a class="el" href="PxVec3_8h-source.html#l00206">operator-()</a>, <a class="el" href="PxVec3_8h-source.html#l00242">operator-=()</a>, <a class="el" href="PxExtended_8h-source.html#l00212">PxExtendedVec3::operator-=()</a>, <a class="el" href="PxVec3_8h-source.html#l00101">operator=()</a>, <a class="el" href="PxVec3_8h-source.html#l00131">operator==()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00083">PxMassProperties::PxMassProperties()</a>, <a class="el" href="PxMat33_8h-source.html#l00357">PxQuat::PxQuat()</a>, <a class="el" href="PxQuat_8h-source.html#l00287">PxQuat::rotate()</a>, <a class="el" href="PxQuat_8h-source.html#l00301">PxQuat::rotateInv()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00245">PxMassProperties::scaleInertia()</a>, <a class="el" href="PxMat44_8h-source.html#l00313">PxMat44::setPosition()</a>, <a class="el" href="PxMat33_8h-source.html#l00326">PxMat33::transform()</a>, and <a class="el" href="PxMassProperties_8h-source.html#l00204">PxMassProperties::translateInertia()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="29958700f50da2204edc519b47706a05"></a><!-- doxytag: member="PxVec3::y" ref="29958700f50da2204edc519b47706a05" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec3.html#29958700f50da2204edc519b47706a05">PxVec3::y</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxBounds3_8h-source.html#l00289">PxBounds3::basisExtent()</a>, <a class="el" href="PxBounds3_8h-source.html#l00355">PxBounds3::contains()</a>, <a class="el" href="PxMat33_8h-source.html#l00176">PxMat33::createDiagonal()</a>, <a class="el" href="PxVec3_8h-source.html#l00283">cross()</a>, <a class="el" href="PxExtended_8h-source.html#l00140">PxExtendedVec3::cross()</a>, <a class="el" href="PxVec3_8h-source.html#l00275">dot()</a>, <a class="el" href="PxExtended_8h-source.html#l00067">PxExtendedVec3::dot()</a>, <a class="el" href="PxBounds3_8h-source.html#l00431">PxBounds3::fattenFast()</a>, <a class="el" href="PxMat33_8h-source.html#l00200">PxMat33::getInverse()</a>, <a class="el" href="PxBounds3_8h-source.html#l00342">PxBounds3::intersects()</a>, <a class="el" href="PxBounds3_8h-source.html#l00363">PxBounds3::isInside()</a>, <a class="el" href="PxBoxGeometry_8h-source.html#l00092">PxBoxGeometry::isValid()</a>, <a class="el" href="PxBounds3_8h-source.html#l00467">PxBounds3::isValid()</a>, <a class="el" href="PxVec3_8h-source.html#l00359">maximum()</a>, <a class="el" href="PxVec3_8h-source.html#l00343">minimum()</a>, <a class="el" href="PxVec3_8h-source.html#l00335">multiply()</a>, <a class="el" href="PxVec3_8h-source.html#l00139">operator!=()</a>, <a class="el" href="PxVec3_8h-source.html#l00383">operator*()</a>, <a class="el" href="PxVec3_8h-source.html#l00198">operator+()</a>, <a class="el" href="PxVec3_8h-source.html#l00231">operator+=()</a>, <a class="el" href="PxExtended_8h-source.html#l00204">PxExtendedVec3::operator+=()</a>, <a class="el" href="PxVec3_8h-source.html#l00206">operator-()</a>, <a class="el" href="PxVec3_8h-source.html#l00242">operator-=()</a>, <a class="el" href="PxExtended_8h-source.html#l00212">PxExtendedVec3::operator-=()</a>, <a class="el" href="PxVec3_8h-source.html#l00101">operator=()</a>, <a class="el" href="PxVec3_8h-source.html#l00131">operator==()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00083">PxMassProperties::PxMassProperties()</a>, <a class="el" href="PxMat33_8h-source.html#l00357">PxQuat::PxQuat()</a>, <a class="el" href="PxQuat_8h-source.html#l00287">PxQuat::rotate()</a>, <a class="el" href="PxQuat_8h-source.html#l00301">PxQuat::rotateInv()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00245">PxMassProperties::scaleInertia()</a>, <a class="el" href="PxMat44_8h-source.html#l00313">PxMat44::setPosition()</a>, <a class="el" href="PxMat33_8h-source.html#l00326">PxMat33::transform()</a>, and <a class="el" href="PxMassProperties_8h-source.html#l00204">PxMassProperties::translateInertia()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="50d67b162b99b904c3f362ad0415dbca"></a><!-- doxytag: member="PxVec3::z" ref="50d67b162b99b904c3f362ad0415dbca" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec3.html#50d67b162b99b904c3f362ad0415dbca">PxVec3::z</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxBounds3_8h-source.html#l00289">PxBounds3::basisExtent()</a>, <a class="el" href="PxBounds3_8h-source.html#l00355">PxBounds3::contains()</a>, <a class="el" href="PxMat33_8h-source.html#l00176">PxMat33::createDiagonal()</a>, <a class="el" href="PxVec3_8h-source.html#l00283">cross()</a>, <a class="el" href="PxExtended_8h-source.html#l00140">PxExtendedVec3::cross()</a>, <a class="el" href="PxVec3_8h-source.html#l00275">dot()</a>, <a class="el" href="PxExtended_8h-source.html#l00067">PxExtendedVec3::dot()</a>, <a class="el" href="PxBounds3_8h-source.html#l00431">PxBounds3::fattenFast()</a>, <a class="el" href="PxMat33_8h-source.html#l00200">PxMat33::getInverse()</a>, <a class="el" href="PxBounds3_8h-source.html#l00342">PxBounds3::intersects()</a>, <a class="el" href="PxMat44_8h-source.html#l00342">PxMat44::inverseRT()</a>, <a class="el" href="PxBounds3_8h-source.html#l00363">PxBounds3::isInside()</a>, <a class="el" href="PxBoxGeometry_8h-source.html#l00092">PxBoxGeometry::isValid()</a>, <a class="el" href="PxBounds3_8h-source.html#l00467">PxBounds3::isValid()</a>, <a class="el" href="PxVec3_8h-source.html#l00359">maximum()</a>, <a class="el" href="PxVec3_8h-source.html#l00343">minimum()</a>, <a class="el" href="PxVec3_8h-source.html#l00335">multiply()</a>, <a class="el" href="PxVec3_8h-source.html#l00139">operator!=()</a>, <a class="el" href="PxVec3_8h-source.html#l00383">operator*()</a>, <a class="el" href="PxVec3_8h-source.html#l00198">operator+()</a>, <a class="el" href="PxVec3_8h-source.html#l00231">operator+=()</a>, <a class="el" href="PxExtended_8h-source.html#l00204">PxExtendedVec3::operator+=()</a>, <a class="el" href="PxVec3_8h-source.html#l00206">operator-()</a>, <a class="el" href="PxVec3_8h-source.html#l00242">operator-=()</a>, <a class="el" href="PxExtended_8h-source.html#l00212">PxExtendedVec3::operator-=()</a>, <a class="el" href="PxVec3_8h-source.html#l00101">operator=()</a>, <a class="el" href="PxVec3_8h-source.html#l00131">operator==()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00083">PxMassProperties::PxMassProperties()</a>, <a class="el" href="PxMat33_8h-source.html#l00357">PxQuat::PxQuat()</a>, <a class="el" href="PxQuat_8h-source.html#l00287">PxQuat::rotate()</a>, <a class="el" href="PxQuat_8h-source.html#l00301">PxQuat::rotateInv()</a>, <a class="el" href="PxMassProperties_8h-source.html#l00245">PxMassProperties::scaleInertia()</a>, <a class="el" href="PxMat44_8h-source.html#l00313">PxMat44::setPosition()</a>, <a class="el" href="PxMat33_8h-source.html#l00326">PxMat33::transform()</a>, and <a class="el" href="PxMassProperties_8h-source.html#l00204">PxMassProperties::translateInertia()</a>.</p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="PxVec3_8h-source.html">PxVec3.h</a></ul> +</div> + +<hr style="width: 100%; height: 2px;"><br> +Copyright © 2008-2016 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> |