classvector3.html

来自「Tixys source code, include G.711, G.726,」· HTML 代码 · 共 1,250 行 · 第 1/4 页

HTML
1,250
字号
Definition at line <a class="el" href="vector3_8cpp-source.html#l00052">52</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a6" doxytag="Vector3::operator/"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="classVector3.html">Vector3</a> Vector3::operator/           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__fix.html#ga0">fix</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>scalar</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Scalar division. The resulting vector is the result of dividing the individual component values of this vector by the given scalar value. If any component value overflows the range of 32bit fixed point numbers, then the result is undefined.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>scalar</em>&nbsp;</td><td>The scalar value to divide by.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The result of dividing this vector by <em>scalar</em>.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00058">58</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a7" doxytag="Vector3::operator+="></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="classVector3.html">Vector3</a> &amp; Vector3::operator+=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classVector3.html">Vector3</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>vector</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Add a vector to this one. The result is the sum of the individual component values. If any component value overflows the range of 32bit fixed point numbers, then the result is undefined.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>vector</em>&nbsp;</td><td>The vector to add to this.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A reference to this.</dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>This vector is set to the calculated sum.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00064">64</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a8" doxytag="Vector3::operator-="></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="classVector3.html">Vector3</a> &amp; Vector3::operator-=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classVector3.html">Vector3</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>vector</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Subract a vector from this one. The result is the difference between the individual component values. If any component value overflows the range of 32bit fixed point numbers, then the result is undefined.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>vector</em>&nbsp;</td><td>The vector to subtract from this.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A reference to this.</dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>This vector is set to the calculated difference.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00073">73</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a9" doxytag="Vector3::operator *="></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="classVector3.html">Vector3</a> &amp; Vector3::operator *=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__fix.html#ga0">fix</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>scalar</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Scalar multiply of this vector. Multiply each component of this vector by a scalar value. If any component value overflows the range of 32bit fixed point numbers, then the result is undefined.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>scalar</em>&nbsp;</td><td>The scalar value to multiply by.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A reference to this.</dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>This vector is result of the scalar multiply.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00082">82</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a10" doxytag="Vector3::operator/="></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="classVector3.html">Vector3</a> &amp; Vector3::operator/=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="group__fix.html#ga0">fix</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>scalar</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Scalar divide of this vector. Divide each component of this vector by a scalar value. If any component value overflows the range of 32bit fixed point numbers, then the result is undefined.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>scalar</em>&nbsp;</td><td>The scalar value to divide by.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>A reference to this.</dd></dl><dl compact><dt><b>Postcondition:</b></dt><dd>This vector is result of the scalar division.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00091">91</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a11" doxytag="Vector3::operator=="></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT bool Vector3::operator==           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classVector3.html">Vector3</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>vector</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Equality operator.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>vector</em>&nbsp;</td><td>The vector to test equality with.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>True, if the individual components of this vector are the same their counterparts in <em>vector</em>. False, otherwise.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00100">100</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a12" doxytag="Vector3::operator!="></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">bool Vector3::operator!=           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classVector3.html">Vector3</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>vector</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Inequality operator.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>vector</em>&nbsp;</td><td>The vector to test equality with.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>True, if any of individual components of this vector differ from their counterparts in <em>vector</em>. False, otherwise.</dd></dl><p>Definition at line <a class="el" href="vector3_8h-source.html#l00211">211</a> of file <a class="el" href="vector3_8h-source.html">vector3.h</a>.    </td>  </tr></table><a class="anchor" name="a13" doxytag="Vector3::DotProduct"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="group__fix.html#ga0">fix</a> Vector3::DotProduct           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classVector3.html">Vector3</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>vector</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Calculate the dot product of this vector and a second vector.<p>If any product of two components is greater than 0x2aaa.aaaa then the result is undefined. This limitation can be met if all components, in both vectors, have a magnitude less than 104. (0x68.00000)<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>vector</em>&nbsp;</td><td>The second vector.</td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The dot product of this and <em>vector</em>.</dd></dl><p>Definition at line <a class="el" href="vector3_8cpp-source.html#l00106">106</a> of file <a class="el" href="vector3_8cpp-source.html">vector3.cpp</a>.    </td>  </tr></table><a class="anchor" name="a14" doxytag="Vector3::CrossProduct"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">EXPORT <a class="el" href="classVector3.html">Vector3</a> Vector3::CrossProduct           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classVector3.html">Vector3</a> &amp;&nbsp;</td>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?