mirror of https://github.com/ArduPilot/ardupilot
743 lines
37 KiB
HTML
743 lines
37 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>ArduPilot Libraries: Vector3< T > Class Template Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javaScript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
|
<!-- Generated by Doxygen 1.7.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> </div>
|
|
<div class="headertitle">
|
|
<h1>Vector3< T > Class Template Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="Vector3" -->
|
|
<p><code>#include <<a class="el" href="vector3_8h_source.html">vector3.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for Vector3< T >:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_vector3__coll__graph.png" border="0" usemap="#_vector3_3_01_t_01_4_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_vector3_3_01_t_01_4_coll__map" id="_vector3_3_01_t_01_4_coll__map">
|
|
</map>
|
|
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
|
|
|
|
<p><a href="class_vector3-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a54f99f4211298d5245ea578bdd5143cc">Vector3</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a7da0d1668bf04a2ecf51808a31b0242a">Vector3</a> (const T x0, const T y0, const T z0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a593cdfdbdd00afcd740bc779cc6d9c73">operator()</a> (const T x0, const T y0, const T z0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a306a028b0edcbbb511ff2a6ed0b58430">operator==</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a453097fe6164e4894fa419abc47dac8b">operator!=</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a08b022c11e783bf75d32313b2dd39af7">operator-</a> (void) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a866eb5f699307c46abd919e9e28cf874">operator+</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a628d97651648b0d46ebb0ecd60d357a1">operator-</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#ab8eb35a54b6dc4a3180a8d44e8543826">operator*</a> (const T num) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a15cf6a9c0d33483a58022a37372ad8e6">operator/</a> (const T num) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a0bc5cd207aa5666973246dd002d856f0">operator+=</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a5f8e3dfb7d3ecfc4e778c6028eccd174">operator-=</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#aead20a9ece11ff71afeb9d0c4190192e">operator*=</a> (const T num)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#abdcdad88c66e4e056a0106627759b8cc">operator/=</a> (const T num)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#ac2a49fe3dff9cc7f16d6d1e76defdd47">operator*</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a58c19cb6972ba6efd05e05cde8af5b12">operator%</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v) const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a2e22f60c089b1a0a554e697516e2c4dc">length_squared</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#aeae8eae4d5a0a909aa0129c53c493038">length</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a9b147a862a1b86ed2e5b735d19da3da1">normalize</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a4623c9d95850aec72ba56cb9ceea2cdf">normalized</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a3a0d28e75255b664b54c82a7463eb698">reflect</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &n)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#ae30e6927fbd51498d29413de4e175fcc">project</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vector3.html">Vector3</a>< T > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a314a68e23b8e72d1c86e8bc9736d6859">projected</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a2c465418f97886290fe0de26ce539601">angle</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v1, const <a class="el" href="class_vector3.html">Vector3</a>< T > &v2)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#aed71bc159e177cc91859c0d7da042279">angle_normalized</a> (const <a class="el" href="class_vector3.html">Vector3</a>< T > &v1, const <a class="el" href="class_vector3.html">Vector3</a>< T > &v2)</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a1a0f7e168c71ca798099f0ba8a444244">x</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#a561df88b28e106e337a25bb86554a569">y</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">T </td><td class="memItemRight" valign="bottom"><a class="el" href="class_vector3.html#ab3e7f5401dd6e951978bfa746809f74f">z</a></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<typename T><br/>
|
|
class Vector3< T ></h3>
|
|
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00048">48</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a54f99f4211298d5245ea578bdd5143cc"></a><!-- doxytag: member="Vector3::Vector3" ref="a54f99f4211298d5245ea578bdd5143cc" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a>< T >::<a class="el" href="class_vector3.html">Vector3</a> </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7da0d1668bf04a2ecf51808a31b0242a"></a><!-- doxytag: member="Vector3::Vector3" ref="a7da0d1668bf04a2ecf51808a31b0242a" args="(const T x0, const T y0, const T z0)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a>< T >::<a class="el" href="class_vector3.html">Vector3</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>x0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>y0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>z0</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">
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a2c465418f97886290fe0de26ce539601"></a><!-- doxytag: member="Vector3::angle" ref="a2c465418f97886290fe0de26ce539601" args="(const Vector3< T > &v1, const Vector3< T > &v2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::angle </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v2</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>Definition at line <a class="el" href="vector3_8h_source.html#l00169">169</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aed71bc159e177cc91859c0d7da042279"></a><!-- doxytag: member="Vector3::angle_normalized" ref="aed71bc159e177cc91859c0d7da042279" args="(const Vector3< T > &v1, const Vector3< T > &v2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::angle_normalized </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v2</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>Definition at line <a class="el" href="vector3_8h_source.html#l00173">173</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeae8eae4d5a0a909aa0129c53c493038"></a><!-- doxytag: member="Vector3::length" ref="aeae8eae4d5a0a909aa0129c53c493038" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float <a class="el" href="class_vector3.html">Vector3</a>< T >::length </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00141">141</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2e22f60c089b1a0a554e697516e2c4dc"></a><!-- doxytag: member="Vector3::length_squared" ref="a2e22f60c089b1a0a554e697516e2c4dc" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::length_squared </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00137">137</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9b147a862a1b86ed2e5b735d19da3da1"></a><!-- doxytag: member="Vector3::normalize" ref="a9b147a862a1b86ed2e5b735d19da3da1" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector3.html">Vector3</a>< T >::normalize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00145">145</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4623c9d95850aec72ba56cb9ceea2cdf"></a><!-- doxytag: member="Vector3::normalized" ref="a4623c9d95850aec72ba56cb9ceea2cdf" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::normalized </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00149">149</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a453097fe6164e4894fa419abc47dac8b"></a><!-- doxytag: member="Vector3::operator!=" ref="a453097fe6164e4894fa419abc47dac8b" args="(const Vector3< T > &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="class_vector3.html">Vector3</a>< T >::operator!= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00068">68</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a58c19cb6972ba6efd05e05cde8af5b12"></a><!-- doxytag: member="Vector3::operator%" ref="a58c19cb6972ba6efd05e05cde8af5b12" args="(const Vector3< T > &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::operator% </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00130">130</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a593cdfdbdd00afcd740bc779cc6d9c73"></a><!-- doxytag: member="Vector3::operator()" ref="a593cdfdbdd00afcd740bc779cc6d9c73" args="(const T x0, const T y0, const T z0)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector3.html">Vector3</a>< T >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>x0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>y0</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>z0</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>Definition at line <a class="el" href="vector3_8h_source.html#l00060">60</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac2a49fe3dff9cc7f16d6d1e76defdd47"></a><!-- doxytag: member="Vector3::operator*" ref="ac2a49fe3dff9cc7f16d6d1e76defdd47" args="(const Vector3< T > &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00126">126</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab8eb35a54b6dc4a3180a8d44e8543826"></a><!-- doxytag: member="Vector3::operator*" ref="ab8eb35a54b6dc4a3180a8d44e8543826" args="(const T num) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::operator* </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>num</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00084">84</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aead20a9ece11ff71afeb9d0c4190192e"></a><!-- doxytag: member="Vector3::operator*=" ref="aead20a9ece11ff71afeb9d0c4190192e" args="(const T num)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T>& <a class="el" href="class_vector3.html">Vector3</a>< T >::operator*= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>num</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00112">112</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a866eb5f699307c46abd919e9e28cf874"></a><!-- doxytag: member="Vector3::operator+" ref="a866eb5f699307c46abd919e9e28cf874" args="(const Vector3< T > &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::operator+ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00076">76</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0bc5cd207aa5666973246dd002d856f0"></a><!-- doxytag: member="Vector3::operator+=" ref="a0bc5cd207aa5666973246dd002d856f0" args="(const Vector3< T > &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T>& <a class="el" href="class_vector3.html">Vector3</a>< T >::operator+= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00098">98</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a08b022c11e783bf75d32313b2dd39af7"></a><!-- doxytag: member="Vector3::operator-" ref="a08b022c11e783bf75d32313b2dd39af7" args="(void) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00072">72</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a628d97651648b0d46ebb0ecd60d357a1"></a><!-- doxytag: member="Vector3::operator-" ref="a628d97651648b0d46ebb0ecd60d357a1" args="(const Vector3< T > &v) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::operator- </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00080">80</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5f8e3dfb7d3ecfc4e778c6028eccd174"></a><!-- doxytag: member="Vector3::operator-=" ref="a5f8e3dfb7d3ecfc4e778c6028eccd174" args="(const Vector3< T > &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T>& <a class="el" href="class_vector3.html">Vector3</a>< T >::operator-= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00105">105</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a15cf6a9c0d33483a58022a37372ad8e6"></a><!-- doxytag: member="Vector3::operator/" ref="a15cf6a9c0d33483a58022a37372ad8e6" args="(const T num) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::operator/ </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>num</em></td>
|
|
<td> ) </td>
|
|
<td> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00091">91</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abdcdad88c66e4e056a0106627759b8cc"></a><!-- doxytag: member="Vector3::operator/=" ref="abdcdad88c66e4e056a0106627759b8cc" args="(const T num)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T>& <a class="el" href="class_vector3.html">Vector3</a>< T >::operator/= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const T </td>
|
|
<td class="paramname"> <em>num</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00119">119</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a306a028b0edcbbb511ff2a6ed0b58430"></a><!-- doxytag: member="Vector3::operator==" ref="a306a028b0edcbbb511ff2a6ed0b58430" args="(const Vector3< T > &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="class_vector3.html">Vector3</a>< T >::operator== </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00064">64</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae30e6927fbd51498d29413de4e175fcc"></a><!-- doxytag: member="Vector3::project" ref="ae30e6927fbd51498d29413de4e175fcc" args="(const Vector3< T > &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector3.html">Vector3</a>< T >::project </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00161">161</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a314a68e23b8e72d1c86e8bc9736d6859"></a><!-- doxytag: member="Vector3::projected" ref="a314a68e23b8e72d1c86e8bc9736d6859" args="(const Vector3< T > &v)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_vector3.html">Vector3</a><T> <a class="el" href="class_vector3.html">Vector3</a>< T >::projected </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>v</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00165">165</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3a0d28e75255b664b54c82a7463eb698"></a><!-- doxytag: member="Vector3::reflect" ref="a3a0d28e75255b664b54c82a7463eb698" args="(const Vector3< T > &n)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="class_vector3.html">Vector3</a>< T >::reflect </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="class_vector3.html">Vector3</a>< T > & </td>
|
|
<td class="paramname"> <em>n</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00153">153</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="a1a0f7e168c71ca798099f0ba8a444244"></a><!-- doxytag: member="Vector3::x" ref="a1a0f7e168c71ca798099f0ba8a444244" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::<a class="el" href="class_vector3.html#a1a0f7e168c71ca798099f0ba8a444244">x</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00051">51</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a561df88b28e106e337a25bb86554a569"></a><!-- doxytag: member="Vector3::y" ref="a561df88b28e106e337a25bb86554a569" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::<a class="el" href="class_vector3.html#a561df88b28e106e337a25bb86554a569">y</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00051">51</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab3e7f5401dd6e951978bfa746809f74f"></a><!-- doxytag: member="Vector3::z" ref="ab3e7f5401dd6e951978bfa746809f74f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename T> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">T <a class="el" href="class_vector3.html">Vector3</a>< T >::<a class="el" href="class_vector3.html#ab3e7f5401dd6e951978bfa746809f74f">z</a></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="vector3_8h_source.html#l00051">51</a> of file <a class="el" href="vector3_8h_source.html">vector3.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="vector3_8h_source.html">vector3.h</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated for ArduPilot Libraries by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
|
|
</body>
|
|
</html>
|