mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
311 lines
14 KiB
HTML
311 lines
14 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>GLM_GTX_matrix_query: Query matrix properties</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.7.3 -->
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>GLM_GTX_matrix_query: Query matrix properties</h1> </div>
|
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
|
<div class="contents">
|
|
|
|
<p>Query to evaluate matrix properties.
|
|
<a href="#_details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#ga7eb8ec43f9d23deb8a9b2528c3945ce3">isIdentity</a> (genType const &m, typename genType::value_type const &epsilon=std::numeric_limits< typename genType::value_type >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#ga1df4e739802e95eeb4289baaa7150f7a">isNormalized</a> (detail::tmat2x2< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#gaf60ff7105a21cabce13f130f5c469bdd">isNormalized</a> (detail::tmat4x4< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#gac88f10e52f4e3cccdae874663125bc3c">isNormalized</a> (detail::tmat3x3< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#gabe1d2a5c6cf3ddaafd384c6d3cc272e1">isNull</a> (detail::tmat2x2< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#ga7a58bf0ab96462446fe9aee17cf9b2ad">isNull</a> (detail::tmat3x3< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#ga3fea39074c5aeabd2c87174cca910ded">isNull</a> (detail::tmat4x4< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())</td></tr>
|
|
<tr><td class="memTemplParams" colspan="2">template<typename genType > </td></tr>
|
|
<tr><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00196.html#ga529ee85f60b16cfdb44f1afdc9fe05c7">isOrthogonal</a> (genType const &m, typename genType::value_type const &epsilon=std::numeric_limits< typename genType::value_type >::epsilon())</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Query to evaluate matrix properties. </p>
|
|
<p><<a class="el" href="a00074.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/matrix_query.hpp</a>> need to be included to use these functionalities. </p>
|
|
<hr/><h2>Function Documentation</h2>
|
|
<a class="anchor" id="ga7eb8ec43f9d23deb8a9b2528c3945ce3"></a><!-- doxytag: member="glm::isIdentity" ref="ga7eb8ec43f9d23deb8a9b2528c3945ce3" args="(genType const &m, typename genType::value_type const &epsilon=std::numeric_limits< typename genType::value_type >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isIdentity </td>
|
|
<td>(</td>
|
|
<td class="paramtype">genType const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">typename genType::value_type const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< typename genType::value_type >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix an identity matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga1df4e739802e95eeb4289baaa7150f7a"></a><!-- doxytag: member="glm::isNormalized" ref="ga1df4e739802e95eeb4289baaa7150f7a" args="(detail::tmat2x2< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isNormalized </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat2x2< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< T >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix a normalized matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gaf60ff7105a21cabce13f130f5c469bdd"></a><!-- doxytag: member="glm::isNormalized" ref="gaf60ff7105a21cabce13f130f5c469bdd" args="(detail::tmat4x4< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isNormalized </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat4x4< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< T >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix a normalized matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gac88f10e52f4e3cccdae874663125bc3c"></a><!-- doxytag: member="glm::isNormalized" ref="gac88f10e52f4e3cccdae874663125bc3c" args="(detail::tmat3x3< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isNormalized </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< T >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix a normalized matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gabe1d2a5c6cf3ddaafd384c6d3cc272e1"></a><!-- doxytag: member="glm::isNull" ref="gabe1d2a5c6cf3ddaafd384c6d3cc272e1" args="(detail::tmat2x2< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isNull </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat2x2< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< T >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix a null matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga7a58bf0ab96462446fe9aee17cf9b2ad"></a><!-- doxytag: member="glm::isNull" ref="ga7a58bf0ab96462446fe9aee17cf9b2ad" args="(detail::tmat3x3< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isNull </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat3x3< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< T >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix a null matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga3fea39074c5aeabd2c87174cca910ded"></a><!-- doxytag: member="glm::isNull" ref="ga3fea39074c5aeabd2c87174cca910ded" args="(detail::tmat4x4< T > const &m, T const &epsilon=std::numeric_limits< T >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isNull </td>
|
|
<td>(</td>
|
|
<td class="paramtype">detail::tmat4x4< T > const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">T const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< T >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix a null matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ga529ee85f60b16cfdb44f1afdc9fe05c7"></a><!-- doxytag: member="glm::isOrthogonal" ref="ga529ee85f60b16cfdb44f1afdc9fe05c7" args="(genType const &m, typename genType::value_type const &epsilon=std::numeric_limits< typename genType::value_type >::epsilon())" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool glm::isOrthogonal </td>
|
|
<td>(</td>
|
|
<td class="paramtype">genType const & </td>
|
|
<td class="paramname"><em>m</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">typename genType::value_type const & </td>
|
|
<td class="paramname"><em>epsilon</em> = <code>std::numeric_limits< typename genType::value_type >::epsilon()</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Return if a matrix an orthonormalized matrix. </p>
|
|
<p>From GLM_GTX_matrix_query extension. </p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>Generated by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
|
|
</body>
|
|
</html>
|