aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
commitd1c812f1162e5fdb13c215792725b2591d7428f5 (patch)
tree407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html
parentPhysX 3.4, APEX 1.4 patch release @22121272 (diff)
downloadphysx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz
physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html')
-rw-r--r--PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html89
1 files changed, 48 insertions, 41 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html
index 213419a3..ae4267d4 100644
--- a/PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxConvexMeshGeometry_8h-source.html
@@ -81,47 +81,54 @@
<a name="l00088"></a><a class="code" href="classPxConvexMeshGeometry.html#1560beb69b5adf8d53d7dd13524438a1">00088</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxConvexMeshGeometry.html" title="Convex mesh geometry class.">PxConvexMeshGeometry</a>() :
<a name="l00089"></a>00089 PxGeometry (<a class="code" href="structPxGeometryType.html" title="A geometry type.">PxGeometryType</a>::eCONVEXMESH),
<a name="l00090"></a>00090 scale (<a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a>(1.0f)),
-<a name="l00091"></a>00091 convexMesh (NULL)
-<a name="l00092"></a>00092 {}
-<a name="l00093"></a>00093
-<a name="l00101"></a><a class="code" href="classPxConvexMeshGeometry.html#d0f1b4915a75013f8f9726809e8b5fd1">00101</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxConvexMeshGeometry.html" title="Convex mesh geometry class.">PxConvexMeshGeometry</a>( <a class="code" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>* mesh,
-<a name="l00102"></a>00102 <span class="keyword">const</span> <a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a>&amp; scaling = <a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a>(),
-<a name="l00103"></a>00103 <a class="code" href="classPxFlags.html">PxConvexMeshGeometryFlags</a> flags = <a class="code" href="group__geomutils.html#g913cfc3a0f052fb2ea2818e1a31131c2" title="collection of set bits defined in PxConvexMeshGeometryFlag.">PxConvexMeshGeometryFlags</a>()) :
-<a name="l00104"></a>00104 PxGeometry (<a class="code" href="structPxGeometryType.html" title="A geometry type.">PxGeometryType</a>::eCONVEXMESH),
-<a name="l00105"></a>00105 scale (scaling),
-<a name="l00106"></a>00106 convexMesh (mesh),
-<a name="l00107"></a>00107 meshFlags(flags)
-<a name="l00108"></a>00108 {
-<a name="l00109"></a>00109 }
-<a name="l00110"></a>00110
-<a name="l00121"></a>00121 <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
-<a name="l00122"></a>00122
-<a name="l00123"></a>00123 <span class="keyword">public</span>:
-<a name="l00124"></a><a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581">00124</a> <a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a> scale;
-<a name="l00125"></a><a class="code" href="classPxConvexMeshGeometry.html#2fdc589d347de81e55c8b45b7c133feb">00125</a> <a class="code" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>* convexMesh;
-<a name="l00126"></a><a class="code" href="classPxConvexMeshGeometry.html#6b2561b421c602ca110e6870a3037d49">00126</a> <a class="code" href="classPxFlags.html">PxConvexMeshGeometryFlags</a> meshFlags;
-<a name="l00127"></a><a class="code" href="classPxConvexMeshGeometry.html#d2bed15287e31918b5ca0051f0604eeb">00127</a> <a class="code" href="structPxPadding.html">PxPadding&lt;3&gt;</a> paddingFromFlags;
-<a name="l00128"></a>00128 };
-<a name="l00129"></a>00129
-<a name="l00130"></a>00130
-<a name="l00131"></a><a class="code" href="group__geomutils.html#geb9f7427fef44fef543098cb347b59e6">00131</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="group__geomutils.html#geb9f7427fef44fef543098cb347b59e6" title="Returns true if the geometry is valid.">PxConvexMeshGeometry::isValid</a>()<span class="keyword"> const</span>
-<a name="l00132"></a>00132 <span class="keyword"></span>{
-<a name="l00133"></a>00133 <span class="keywordflow">if</span>(<a class="code" href="classPxGeometry.html#f24eeb8078fbd12e17206029b52a45b6">mType</a> != <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed59f3d57b4f0e71ce2a6cf29bee36162ed">PxGeometryType::eCONVEXMESH</a>)
-<a name="l00134"></a>00134 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00135"></a>00135 <span class="keywordflow">if</span>(!<a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581" title="The scaling transformation (from vertex space to shape space).">scale</a>.<a class="code" href="classPxMeshScale.html#12f2dbcf5214c4c5956dab0e75831449" title="A nonuniform scaling.">scale</a>.<a class="code" href="classPxVec3.html#65b6f42ac7654a7d79590a2f1d00e160" title="returns true if all 3 elems of the vector are finite (not NAN or INF, etc.)">isFinite</a>() || !<a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581" title="The scaling transformation (from vertex space to shape space).">scale</a>.<a class="code" href="classPxMeshScale.html#63902c04c9a3f326b5f969fa931e53fd" title="The orientation of the scaling axes.">rotation</a>.<a class="code" href="classPxQuat.html#3890ca4efba038ab0fc84bb39c5267db" title="returns true if finite and magnitude is close to unit">isUnit</a>())
-<a name="l00136"></a>00136 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00137"></a>00137 <span class="keywordflow">if</span>(!<a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581" title="The scaling transformation (from vertex space to shape space).">scale</a>.<a class="code" href="classPxMeshScale.html#4101dcecd21337bd95b3ca1fb52d1e1d">isValidForConvexMesh</a>())
-<a name="l00138"></a>00138 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00139"></a>00139 <span class="keywordflow">if</span>(!<a class="code" href="classPxConvexMeshGeometry.html#2fdc589d347de81e55c8b45b7c133feb" title="A reference to the convex mesh object.">convexMesh</a>)
-<a name="l00140"></a>00140 <span class="keywordflow">return</span> <span class="keyword">false</span>;
-<a name="l00141"></a>00141 <span class="keywordflow">return</span> <span class="keyword">true</span>;
-<a name="l00142"></a>00142 }
-<a name="l00143"></a>00143
-<a name="l00144"></a>00144 <span class="preprocessor">#if !PX_DOXYGEN</span>
-<a name="l00145"></a>00145 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
-<a name="l00146"></a>00146 <span class="preprocessor">#endif</span>
-<a name="l00147"></a>00147 <span class="preprocessor"></span>
-<a name="l00149"></a>00149 <span class="preprocessor">#endif</span>
+<a name="l00091"></a>00091 convexMesh (NULL),
+<a name="l00092"></a>00092 maxMargin (3.4e38f)
+<a name="l00093"></a>00093 {}
+<a name="l00094"></a>00094
+<a name="l00103"></a><a class="code" href="classPxConvexMeshGeometry.html#9a514176c85b854f1a32b0d3ae0c00bc">00103</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxConvexMeshGeometry.html" title="Convex mesh geometry class.">PxConvexMeshGeometry</a>( <a class="code" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>* mesh,
+<a name="l00104"></a>00104 <span class="keyword">const</span> <a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a>&amp; scaling = <a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a>(),
+<a name="l00105"></a>00105 <a class="code" href="classPxFlags.html">PxConvexMeshGeometryFlags</a> flags = <a class="code" href="group__geomutils.html#g913cfc3a0f052fb2ea2818e1a31131c2" title="collection of set bits defined in PxConvexMeshGeometryFlag.">PxConvexMeshGeometryFlags</a>(),
+<a name="l00106"></a>00106 <span class="keywordtype">float</span> margin = 3.4e38f) :
+<a name="l00107"></a>00107 PxGeometry (<a class="code" href="structPxGeometryType.html" title="A geometry type.">PxGeometryType</a>::eCONVEXMESH),
+<a name="l00108"></a>00108 scale (scaling),
+<a name="l00109"></a>00109 convexMesh (mesh),
+<a name="l00110"></a>00110 maxMargin (margin),
+<a name="l00111"></a>00111 meshFlags(flags)
+<a name="l00112"></a>00112 {
+<a name="l00113"></a>00113 }
+<a name="l00114"></a>00114
+<a name="l00125"></a>00125 <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> isValid() <span class="keyword">const</span>;
+<a name="l00126"></a>00126
+<a name="l00127"></a>00127 <span class="keyword">public</span>:
+<a name="l00128"></a><a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581">00128</a> <a class="code" href="classPxMeshScale.html" title="A class expressing a nonuniform scaling transformation.">PxMeshScale</a> scale;
+<a name="l00129"></a><a class="code" href="classPxConvexMeshGeometry.html#2fdc589d347de81e55c8b45b7c133feb">00129</a> <a class="code" href="classPxConvexMesh.html" title="A convex mesh.">PxConvexMesh</a>* convexMesh;
+<a name="l00130"></a><a class="code" href="classPxConvexMeshGeometry.html#769be6bf3be1bd8a39ea0a3ee6b092b1">00130</a> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> maxMargin;
+<a name="l00131"></a><a class="code" href="classPxConvexMeshGeometry.html#6b2561b421c602ca110e6870a3037d49">00131</a> <a class="code" href="classPxFlags.html">PxConvexMeshGeometryFlags</a> meshFlags;
+<a name="l00132"></a><a class="code" href="classPxConvexMeshGeometry.html#d2bed15287e31918b5ca0051f0604eeb">00132</a> <a class="code" href="structPxPadding.html">PxPadding&lt;3&gt;</a> paddingFromFlags;
+<a name="l00133"></a>00133 };
+<a name="l00134"></a>00134
+<a name="l00135"></a>00135
+<a name="l00136"></a><a class="code" href="group__geomutils.html#geb9f7427fef44fef543098cb347b59e6">00136</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <span class="keywordtype">bool</span> <a class="code" href="group__geomutils.html#geb9f7427fef44fef543098cb347b59e6" title="Returns true if the geometry is valid.">PxConvexMeshGeometry::isValid</a>()<span class="keyword"> const</span>
+<a name="l00137"></a>00137 <span class="keyword"></span>{
+<a name="l00138"></a>00138 <span class="keywordflow">if</span>(<a class="code" href="classPxGeometry.html#f24eeb8078fbd12e17206029b52a45b6">mType</a> != <a class="code" href="structPxGeometryType.html#efc79f72c4c479192ac19d41a6f30ed59f3d57b4f0e71ce2a6cf29bee36162ed">PxGeometryType::eCONVEXMESH</a>)
+<a name="l00139"></a>00139 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00140"></a>00140 <span class="keywordflow">if</span>(!<a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581" title="The scaling transformation (from vertex space to shape space).">scale</a>.<a class="code" href="classPxMeshScale.html#12f2dbcf5214c4c5956dab0e75831449" title="A nonuniform scaling.">scale</a>.<a class="code" href="classPxVec3.html#65b6f42ac7654a7d79590a2f1d00e160" title="returns true if all 3 elems of the vector are finite (not NAN or INF, etc.)">isFinite</a>() || !<a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581" title="The scaling transformation (from vertex space to shape space).">scale</a>.<a class="code" href="classPxMeshScale.html#63902c04c9a3f326b5f969fa931e53fd" title="The orientation of the scaling axes.">rotation</a>.<a class="code" href="classPxQuat.html#3890ca4efba038ab0fc84bb39c5267db" title="returns true if finite and magnitude is close to unit">isUnit</a>())
+<a name="l00141"></a>00141 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00142"></a>00142 <span class="keywordflow">if</span>(!<a class="code" href="classPxConvexMeshGeometry.html#777f625bb1fd49fabf03eb4be02ed581" title="The scaling transformation (from vertex space to shape space).">scale</a>.<a class="code" href="classPxMeshScale.html#4101dcecd21337bd95b3ca1fb52d1e1d">isValidForConvexMesh</a>())
+<a name="l00143"></a>00143 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00144"></a>00144 <span class="keywordflow">if</span>(!<a class="code" href="classPxConvexMeshGeometry.html#2fdc589d347de81e55c8b45b7c133feb" title="A reference to the convex mesh object.">convexMesh</a>)
+<a name="l00145"></a>00145 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00146"></a>00146 <span class="keywordflow">if</span> (<a class="code" href="classPxConvexMeshGeometry.html#769be6bf3be1bd8a39ea0a3ee6b092b1" title="Max shrunk amount permitted by PCM contact gen.">maxMargin</a> &lt; 0.0f)
+<a name="l00147"></a>00147 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+<a name="l00148"></a>00148
+<a name="l00149"></a>00149 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+<a name="l00150"></a>00150 }
+<a name="l00151"></a>00151
+<a name="l00152"></a>00152 <span class="preprocessor">#if !PX_DOXYGEN</span>
+<a name="l00153"></a>00153 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
+<a name="l00154"></a>00154 <span class="preprocessor">#endif</span>
+<a name="l00155"></a>00155 <span class="preprocessor"></span>
+<a name="l00157"></a>00157 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr style="width: 100%; height: 2px;"><br>