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/classPxVec2.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/classPxVec2.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/classPxVec2.html | 961 |
1 files changed, 961 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec2.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec2.html new file mode 100644 index 00000000..3cf4ce66 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxVec2.html @@ -0,0 +1,961 @@ +<html> + <head> + <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxVec2 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>PxVec2 Class Reference<br> +<small> +[<a class="el" href="group__foundation.html">Foundation</a>]</small> +</h1><!-- doxytag: class="PxVec2" -->2 Element vector class. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="PxVec2_8h-source.html">PxVec2.h</a>></code> +<p> + +<p> +<a href="classPxVec2-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="classPxVec2.html#96f72810f06447c2ad7a99889d718298">PxVec2</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">default constructor leaves data uninitialized. <a href="#96f72810f06447c2ad7a99889d718298"></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="classPxVec2.html#4b60f4c08b8019e8c28967ed33d436ce">PxVec2</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="#4b60f4c08b8019e8c28967ed33d436ce"></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="classPxVec2.html#07b74e15ed0f46a4a33db981b601fa7e">PxVec2</a> (float a)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Assigns scalar parameter to all elements. <a href="#07b74e15ed0f46a4a33db981b601fa7e"></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="classPxVec2.html#71fc8ee1b46e0b0539cb507a3b290330">PxVec2</a> (float nx, float ny)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes from 2 scalar parameters. <a href="#71fc8ee1b46e0b0539cb507a3b290330"></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="classPxVec2.html#a8ffec06e3a3ca712448e1e11232cb08">PxVec2</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a8ffec06e3a3ca712448e1e11232cb08"></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="classPxVec2.html">PxVec2</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#905d707942a9aa11f7184228e85df054">operator=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &p)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#905d707942a9aa11f7184228e85df054"></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="classPxVec2.html#7df8ee1f8f487ef060436f273d2276bc">operator[]</a> (int index)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element access <a href="#7df8ee1f8f487ef060436f273d2276bc"></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="classPxVec2.html#12510dbff9f774ca28bda1f50cae76e8">operator[]</a> (int index) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element access <a href="#12510dbff9f774ca28bda1f50cae76e8"></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="classPxVec2.html#a3966148966ec2a6d780f08d114c92f3">operator==</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if the two vectors are exactly equal. <a href="#a3966148966ec2a6d780f08d114c92f3"></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="classPxVec2.html#a0873daa791d1045df617f4884ff7614">operator!=</a> (const <a class="el" href="classPxVec2.html">PxVec2</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="#a0873daa791d1045df617f4884ff7614"></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="classPxVec2.html#d5f6129c777f1e17b0da19d55fb1ca73">isZero</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tests for exact zero vector <a href="#d5f6129c777f1e17b0da19d55fb1ca73"></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="classPxVec2.html#19c4ba16a216122f5e86d913cb6ee136">isFinite</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if all 2 elems of the vector are finite (not NAN or INF, etc.) <a href="#19c4ba16a216122f5e86d913cb6ee136"></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="classPxVec2.html#ca004a54ecfb145262a99a66850ca8b4">isNormalized</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">is normalized - used by API parameter validation <a href="#ca004a54ecfb145262a99a66850ca8b4"></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="classPxVec2.html#5442df4d8f0502a54999fcf4fd803e8a">magnitudeSquared</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the squared magnitude <a href="#5442df4d8f0502a54999fcf4fd803e8a"></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="classPxVec2.html#941421e3c11f4cbb6d17e4cc5267b39e">magnitude</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the magnitude <a href="#941421e3c11f4cbb6d17e4cc5267b39e"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#9f8d55c49cb26bc28186998663371db1">operator-</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">negation <a href="#9f8d55c49cb26bc28186998663371db1"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#fc9a8ddab13a31cccd3dad8e98138912">operator+</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector addition <a href="#fc9a8ddab13a31cccd3dad8e98138912"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#36ca28438e4d0aa4e6b8957dd96da7d7">operator-</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector difference <a href="#36ca28438e4d0aa4e6b8957dd96da7d7"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#8f5fdc6f945da4bca96e2bf126ba9bd6">operator*</a> (float f) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar post-multiplication <a href="#8f5fdc6f945da4bca96e2bf126ba9bd6"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#ceeb65f8880a3a37a2a90e6913be47f9">operator/</a> (float f) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar division <a href="#ceeb65f8880a3a37a2a90e6913be47f9"></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="classPxVec2.html">PxVec2</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#c9caeb5f1c968260c9f463171152937f">operator+=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector addition <a href="#c9caeb5f1c968260c9f463171152937f"></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="classPxVec2.html">PxVec2</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#ea0a1b70187c8d6e2fb4f02a0fc069d3">operator-=</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">vector difference <a href="#ea0a1b70187c8d6e2fb4f02a0fc069d3"></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="classPxVec2.html">PxVec2</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#c65a226e1aac50af85eee2322af6cb58">operator*=</a> (float f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar multiplication <a href="#c65a226e1aac50af85eee2322af6cb58"></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="classPxVec2.html">PxVec2</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#0b9073b93708bca03bc0f4b61fb6547b">operator/=</a> (float f)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">scalar division <a href="#0b9073b93708bca03bc0f4b61fb6547b"></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="classPxVec2.html#df189688aa95d9b60da424f8728eae28">dot</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the scalar product of this and other. <a href="#df189688aa95d9b60da424f8728eae28"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#fd175adb02d6c68dbda2f9402fbf90d9">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="classPxVec2.html#4c115c5ab9863553c558518f8b1b4d33">normalize</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">normalizes the vector in place <a href="#4c115c5ab9863553c558518f8b1b4d33"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#b540416289ba8ff39807f30fc41b0bf9">multiply</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &a) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">a[i] * b[i], for all i. <a href="#b540416289ba8ff39807f30fc41b0bf9"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#5b98f887b41c32eb76d7ae002e0f9c5b">minimum</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element-wise minimum <a href="#5b98f887b41c32eb76d7ae002e0f9c5b"></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="classPxVec2.html#1ea57acbfb76ce0e5ee0722462413c78">minElement</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns MIN(x, y); <a href="#1ea57acbfb76ce0e5ee0722462413c78"></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="classPxVec2.html">PxVec2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#16d194a4e370d35f3ca9918b7bb2fb16">maximum</a> (const <a class="el" href="classPxVec2.html">PxVec2</a> &v) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">element-wise maximum <a href="#16d194a4e370d35f3ca9918b7bb2fb16"></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="classPxVec2.html#ee0ea896ec92dd625e989cbe3470ac0d">maxElement</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns MAX(x, y); <a href="#ee0ea896ec92dd625e989cbe3470ac0d"></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="classPxVec2.html#8a1607dbd9d4e63bf4d5af9ef4cd5a2e">x</a></td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPxVec2.html#bf3769707f9e56d04c4f37ebdb8e23a9">y</a></td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +2 Element vector class. +<p> +This is a 2-dimensional vector class with public data members. <hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="96f72810f06447c2ad7a99889d718298"></a><!-- doxytag: member="PxVec2::PxVec2" ref="96f72810f06447c2ad7a99889d718298" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec2::PxVec2 </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="4b60f4c08b8019e8c28967ed33d436ce"></a><!-- doxytag: member="PxVec2::PxVec2" ref="4b60f4c08b8019e8c28967ed33d436ce" args="(PxZERO r)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec2::PxVec2 </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="07b74e15ed0f46a4a33db981b601fa7e"></a><!-- doxytag: member="PxVec2::PxVec2" ref="07b74e15ed0f46a4a33db981b601fa7e" args="(float a)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec2::PxVec2 </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="71fc8ee1b46e0b0539cb507a3b290330"></a><!-- doxytag: member="PxVec2::PxVec2" ref="71fc8ee1b46e0b0539cb507a3b290330" args="(float nx, float ny)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec2::PxVec2 </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><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 2 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> + </table> +</dl> + +</div> +</div><p> +<a class="anchor" name="a8ffec06e3a3ca712448e1e11232cb08"></a><!-- doxytag: member="PxVec2::PxVec2" ref="a8ffec06e3a3ca712448e1e11232cb08" args="(const PxVec2 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec2::PxVec2 </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="df189688aa95d9b60da424f8728eae28"></a><!-- doxytag: member="PxVec2::dot" ref="df189688aa95d9b60da424f8728eae28" args="(const PxVec2 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec2::dot </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="fd175adb02d6c68dbda2f9402fbf90d9"></a><!-- doxytag: member="PxVec2::getNormalized" ref="fd175adb02d6c68dbda2f9402fbf90d9" 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="classPxVec2.html">PxVec2</a> PxVec2::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="19c4ba16a216122f5e86d913cb6ee136"></a><!-- doxytag: member="PxVec2::isFinite" ref="19c4ba16a216122f5e86d913cb6ee136" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_INLINE bool PxVec2::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 2 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> + +</div> +</div><p> +<a class="anchor" name="ca004a54ecfb145262a99a66850ca8b4"></a><!-- doxytag: member="PxVec2::isNormalized" ref="ca004a54ecfb145262a99a66850ca8b4" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec2::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="d5f6129c777f1e17b0da19d55fb1ca73"></a><!-- doxytag: member="PxVec2::isZero" ref="d5f6129c777f1e17b0da19d55fb1ca73" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec2::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="941421e3c11f4cbb6d17e4cc5267b39e"></a><!-- doxytag: member="PxVec2::magnitude" ref="941421e3c11f4cbb6d17e4cc5267b39e" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec2::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> + +</div> +</div><p> +<a class="anchor" name="5442df4d8f0502a54999fcf4fd803e8a"></a><!-- doxytag: member="PxVec2::magnitudeSquared" ref="5442df4d8f0502a54999fcf4fd803e8a" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec2::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="ee0ea896ec92dd625e989cbe3470ac0d"></a><!-- doxytag: member="PxVec2::maxElement" ref="ee0ea896ec92dd625e989cbe3470ac0d" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec2::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); +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00070">PxMax()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="16d194a4e370d35f3ca9918b7bb2fb16"></a><!-- doxytag: member="PxVec2::maximum" ref="16d194a4e370d35f3ca9918b7bb2fb16" args="(const PxVec2 &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="classPxVec2.html">PxVec2</a> PxVec2::maximum </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="1ea57acbfb76ce0e5ee0722462413c78"></a><!-- doxytag: member="PxVec2::minElement" ref="1ea57acbfb76ce0e5ee0722462413c78" args="() const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec2::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); +<p> + +<p>References <a class="el" href="PxMath_8h-source.html#l00086">PxMin()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="5b98f887b41c32eb76d7ae002e0f9c5b"></a><!-- doxytag: member="PxVec2::minimum" ref="5b98f887b41c32eb76d7ae002e0f9c5b" args="(const PxVec2 &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="classPxVec2.html">PxVec2</a> PxVec2::minimum </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="b540416289ba8ff39807f30fc41b0bf9"></a><!-- doxytag: member="PxVec2::multiply" ref="b540416289ba8ff39807f30fc41b0bf9" args="(const PxVec2 &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="classPxVec2.html">PxVec2</a> PxVec2::multiply </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="4c115c5ab9863553c558518f8b1b4d33"></a><!-- doxytag: member="PxVec2::normalize" ref="4c115c5ab9863553c558518f8b1b4d33" args="()" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE float PxVec2::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> + +</div> +</div><p> +<a class="anchor" name="a0873daa791d1045df617f4884ff7614"></a><!-- doxytag: member="PxVec2::operator!=" ref="a0873daa791d1045df617f4884ff7614" args="(const PxVec2 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec2::operator!= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="8f5fdc6f945da4bca96e2bf126ba9bd6"></a><!-- doxytag: member="PxVec2::operator*" ref="8f5fdc6f945da4bca96e2bf126ba9bd6" 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="classPxVec2.html">PxVec2</a> PxVec2::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="c65a226e1aac50af85eee2322af6cb58"></a><!-- doxytag: member="PxVec2::operator*=" ref="c65a226e1aac50af85eee2322af6cb58" 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="classPxVec2.html">PxVec2</a>& PxVec2::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="fc9a8ddab13a31cccd3dad8e98138912"></a><!-- doxytag: member="PxVec2::operator+" ref="fc9a8ddab13a31cccd3dad8e98138912" args="(const PxVec2 &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="classPxVec2.html">PxVec2</a> PxVec2::operator+ </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="c9caeb5f1c968260c9f463171152937f"></a><!-- doxytag: member="PxVec2::operator+=" ref="c9caeb5f1c968260c9f463171152937f" args="(const PxVec2 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec2.html">PxVec2</a>& PxVec2::operator+= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="36ca28438e4d0aa4e6b8957dd96da7d7"></a><!-- doxytag: member="PxVec2::operator-" ref="36ca28438e4d0aa4e6b8957dd96da7d7" args="(const PxVec2 &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="classPxVec2.html">PxVec2</a> PxVec2::operator- </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="9f8d55c49cb26bc28186998663371db1"></a><!-- doxytag: member="PxVec2::operator-" ref="9f8d55c49cb26bc28186998663371db1" 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="classPxVec2.html">PxVec2</a> PxVec2::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="ea0a1b70187c8d6e2fb4f02a0fc069d3"></a><!-- doxytag: member="PxVec2::operator-=" ref="ea0a1b70187c8d6e2fb4f02a0fc069d3" args="(const PxVec2 &v)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec2.html">PxVec2</a>& PxVec2::operator-= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="ceeb65f8880a3a37a2a90e6913be47f9"></a><!-- doxytag: member="PxVec2::operator/" ref="ceeb65f8880a3a37a2a90e6913be47f9" 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="classPxVec2.html">PxVec2</a> PxVec2::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="0b9073b93708bca03bc0f4b61fb6547b"></a><!-- doxytag: member="PxVec2::operator/=" ref="0b9073b93708bca03bc0f4b61fb6547b" 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="classPxVec2.html">PxVec2</a>& PxVec2::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="905d707942a9aa11f7184228e85df054"></a><!-- doxytag: member="PxVec2::operator=" ref="905d707942a9aa11f7184228e85df054" args="(const PxVec2 &p)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE <a class="el" href="classPxVec2.html">PxVec2</a>& PxVec2::operator= </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="a3966148966ec2a6d780f08d114c92f3"></a><!-- doxytag: member="PxVec2::operator==" ref="a3966148966ec2a6d780f08d114c92f3" args="(const PxVec2 &v) const " --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_CUDA_CALLABLE PX_FORCE_INLINE bool PxVec2::operator== </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="classPxVec2.html">PxVec2</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="PxVec2_8h-source.html#l00334">x</a>, and <a class="el" href="PxVec2_8h-source.html#l00334">y</a>.</p> + +</div> +</div><p> +<a class="anchor" name="12510dbff9f774ca28bda1f50cae76e8"></a><!-- doxytag: member="PxVec2::operator[]" ref="12510dbff9f774ca28bda1f50cae76e8" args="(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& PxVec2::operator[] </td> + <td>(</td> + <td class="paramtype">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="7df8ee1f8f487ef060436f273d2276bc"></a><!-- doxytag: member="PxVec2::operator[]" ref="7df8ee1f8f487ef060436f273d2276bc" args="(int index)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">PX_DEPRECATED PX_CUDA_CALLABLE PX_FORCE_INLINE float& PxVec2::operator[] </td> + <td>(</td> + <td class="paramtype">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="8a1607dbd9d4e63bf4d5af9ef4cd5a2e"></a><!-- doxytag: member="PxVec2::x" ref="8a1607dbd9d4e63bf4d5af9ef4cd5a2e" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec2.html#8a1607dbd9d4e63bf4d5af9ef4cd5a2e">PxVec2::x</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxVec2_8h-source.html#l00270">dot()</a>, <a class="el" href="PxVec2_8h-source.html#l00321">maximum()</a>, <a class="el" href="PxVec2_8h-source.html#l00305">minimum()</a>, <a class="el" href="PxVec2_8h-source.html#l00297">multiply()</a>, <a class="el" href="PxVec2_8h-source.html#l00138">operator!=()</a>, <a class="el" href="PxVec2_8h-source.html#l00337">operator*()</a>, <a class="el" href="PxVec2_8h-source.html#l00197">operator+()</a>, <a class="el" href="PxVec2_8h-source.html#l00230">operator+=()</a>, <a class="el" href="PxVec2_8h-source.html#l00205">operator-()</a>, <a class="el" href="PxVec2_8h-source.html#l00240">operator-=()</a>, <a class="el" href="PxVec2_8h-source.html#l00100">operator=()</a>, and <a class="el" href="PxVec2_8h-source.html#l00130">operator==()</a>.</p> + +</div> +</div><p> +<a class="anchor" name="bf3769707f9e56d04c4f37ebdb8e23a9"></a><!-- doxytag: member="PxVec2::y" ref="bf3769707f9e56d04c4f37ebdb8e23a9" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">float <a class="el" href="classPxVec2.html#bf3769707f9e56d04c4f37ebdb8e23a9">PxVec2::y</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +<p>Referenced by <a class="el" href="PxVec2_8h-source.html#l00270">dot()</a>, <a class="el" href="PxVec2_8h-source.html#l00321">maximum()</a>, <a class="el" href="PxVec2_8h-source.html#l00305">minimum()</a>, <a class="el" href="PxVec2_8h-source.html#l00297">multiply()</a>, <a class="el" href="PxVec2_8h-source.html#l00138">operator!=()</a>, <a class="el" href="PxVec2_8h-source.html#l00337">operator*()</a>, <a class="el" href="PxVec2_8h-source.html#l00197">operator+()</a>, <a class="el" href="PxVec2_8h-source.html#l00230">operator+=()</a>, <a class="el" href="PxVec2_8h-source.html#l00205">operator-()</a>, <a class="el" href="PxVec2_8h-source.html#l00240">operator-=()</a>, <a class="el" href="PxVec2_8h-source.html#l00100">operator=()</a>, and <a class="el" href="PxVec2_8h-source.html#l00130">operator==()</a>.</p> + +</div> +</div><p> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="PxVec2_8h-source.html">PxVec2.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> |