ardupilot/libraries/doc/html/struct_vector2.html

683 lines
34 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: Vector2&lt; T &gt; Struct 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&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;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&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> </div>
<div class="headertitle">
<h1>Vector2&lt; T &gt; Struct Template Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Vector2" -->
<p><code>#include &lt;<a class="el" href="vector2_8h_source.html">vector2.h</a>&gt;</code></p>
<p><a href="struct_vector2-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ae2f1223cb0d664aa73afb789086a4174">Vector2</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ad970560f0894fc63de2454bdf8da7ba1">Vector2</a> (const T x0, const T y0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#af58fdb320b592f2a623f767b96f82171">operator()</a> (const T x0, const T y0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a90ace29e191da2edd698fe157c97c1cb">operator==</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#aae7409be71fdf2f2680850c5d1075c59">operator!=</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a339f9c13f2e01782181cc9eb1eaa72ab">operator-</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a83a3ed475d346606e6617494aadd89d7">operator+</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a7de0652ddb37d61ad2629c912edb0ec6">operator-</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a518fc5ef42a00f68e65acce7c4e20bfa">operator*</a> (const T num) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ac68df7fdae361068c6af67be44668407">operator/</a> (const T num) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a5c004e8ca8365c0a2c266654f234023e">operator+=</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a10ab47df2c0304ac442265f5d5d0b8a2">operator-=</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a9ec8c1bae98c7bded59b4b80fa3e9dd5">operator*=</a> (const T num)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a969b871f32a8f0d25bd569302028165c">operator/=</a> (const T num)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a9e25e26dc47ede54ee2b49678aecdccf">operator*</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a0fd42927ade2df86b44ca09dca1d8314">length_squared</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a119c51f16f90ffb3b30ee59475e7fdf8">length</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ace2a626eaa79412e2946216e9c3e63c6">normalize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a94313613241845651f3aba43ed9d5434">normalized</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ade6dd765f60fffb39e52cf117d043d97">reflect</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ae567d360aef8af212c7e3139cc22aff7">project</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a3212191028319eb5d8b00cfd85068722">projected</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a68370ff181ccbcc1731f531d4b813e84">angle</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v1, const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#ab64d67cf7a2946580a234e8e327d1bc3">angle_normalized</a> (const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;v1, const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a78fa1f2ed5e261c7fbeb8f3536a1ee34">x</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vector2.html#a6cfed8355591aa269f4dba43bd806ef9">y</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename T&gt;<br/>
struct Vector2&lt; T &gt;</h3>
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00029">29</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae2f1223cb0d664aa73afb789086a4174"></a><!-- doxytag: member="Vector2::Vector2" ref="ae2f1223cb0d664aa73afb789086a4174" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::<a class="el" href="struct_vector2.html">Vector2</a> </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ad970560f0894fc63de2454bdf8da7ba1"></a><!-- doxytag: member="Vector2::Vector2" ref="ad970560f0894fc63de2454bdf8da7ba1" args="(const T x0, const T y0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::<a class="el" href="struct_vector2.html">Vector2</a> </td>
<td>(</td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>y0</em></td><td>&nbsp;</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="a68370ff181ccbcc1731f531d4b813e84"></a><!-- doxytag: member="Vector2::angle" ref="a68370ff181ccbcc1731f531d4b813e84" args="(const Vector2&lt; T &gt; &amp;v1, const Vector2&lt; T &gt; &amp;v2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::angle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v2</em></td><td>&nbsp;</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="vector2_8h_source.html#l00142">142</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="ab64d67cf7a2946580a234e8e327d1bc3"></a><!-- doxytag: member="Vector2::angle_normalized" ref="ab64d67cf7a2946580a234e8e327d1bc3" args="(const Vector2&lt; T &gt; &amp;v1, const Vector2&lt; T &gt; &amp;v2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::angle_normalized </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v2</em></td><td>&nbsp;</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="vector2_8h_source.html#l00146">146</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a119c51f16f90ffb3b30ee59475e7fdf8"></a><!-- doxytag: member="Vector2::length" ref="a119c51f16f90ffb3b30ee59475e7fdf8" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::length </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00114">114</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a0fd42927ade2df86b44ca09dca1d8314"></a><!-- doxytag: member="Vector2::length_squared" ref="a0fd42927ade2df86b44ca09dca1d8314" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::length_squared </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00110">110</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="ace2a626eaa79412e2946216e9c3e63c6"></a><!-- doxytag: member="Vector2::normalize" ref="ace2a626eaa79412e2946216e9c3e63c6" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::normalize </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00118">118</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a94313613241845651f3aba43ed9d5434"></a><!-- doxytag: member="Vector2::normalized" ref="a94313613241845651f3aba43ed9d5434" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::normalized </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00122">122</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="aae7409be71fdf2f2680850c5d1075c59"></a><!-- doxytag: member="Vector2::operator!=" ref="aae7409be71fdf2f2680850c5d1075c59" args="(const Vector2&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00048">48</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="af58fdb320b592f2a623f767b96f82171"></a><!-- doxytag: member="Vector2::operator()" ref="af58fdb320b592f2a623f767b96f82171" args="(const T x0, const T y0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator() </td>
<td>(</td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>x0</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>y0</em></td><td>&nbsp;</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="vector2_8h_source.html#l00040">40</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9e25e26dc47ede54ee2b49678aecdccf"></a><!-- doxytag: member="Vector2::operator*" ref="a9e25e26dc47ede54ee2b49678aecdccf" args="(const Vector2&lt; T &gt; &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator* </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00106">106</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a518fc5ef42a00f68e65acce7c4e20bfa"></a><!-- doxytag: member="Vector2::operator*" ref="a518fc5ef42a00f68e65acce7c4e20bfa" args="(const T num) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator* </td>
<td>(</td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>num</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00064">64</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a9ec8c1bae98c7bded59b4b80fa3e9dd5"></a><!-- doxytag: member="Vector2::operator*=" ref="a9ec8c1bae98c7bded59b4b80fa3e9dd5" args="(const T num)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt;&amp; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator*= </td>
<td>(</td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>num</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00092">92</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a83a3ed475d346606e6617494aadd89d7"></a><!-- doxytag: member="Vector2::operator+" ref="a83a3ed475d346606e6617494aadd89d7" args="(const Vector2&lt; T &gt; &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator+ </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00056">56</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5c004e8ca8365c0a2c266654f234023e"></a><!-- doxytag: member="Vector2::operator+=" ref="a5c004e8ca8365c0a2c266654f234023e" args="(const Vector2&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt;&amp; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator+= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00078">78</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a339f9c13f2e01782181cc9eb1eaa72ab"></a><!-- doxytag: member="Vector2::operator&#45;" ref="a339f9c13f2e01782181cc9eb1eaa72ab" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator- </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00052">52</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a7de0652ddb37d61ad2629c912edb0ec6"></a><!-- doxytag: member="Vector2::operator&#45;" ref="a7de0652ddb37d61ad2629c912edb0ec6" args="(const Vector2&lt; T &gt; &amp;v) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator- </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00060">60</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a10ab47df2c0304ac442265f5d5d0b8a2"></a><!-- doxytag: member="Vector2::operator&#45;=" ref="a10ab47df2c0304ac442265f5d5d0b8a2" args="(const Vector2&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt;&amp; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator-= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00085">85</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="ac68df7fdae361068c6af67be44668407"></a><!-- doxytag: member="Vector2::operator/" ref="ac68df7fdae361068c6af67be44668407" args="(const T num) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator/ </td>
<td>(</td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>num</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00071">71</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a969b871f32a8f0d25bd569302028165c"></a><!-- doxytag: member="Vector2::operator/=" ref="a969b871f32a8f0d25bd569302028165c" args="(const T num)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt;&amp; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator/= </td>
<td>(</td>
<td class="paramtype">const T&nbsp;</td>
<td class="paramname"> <em>num</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00099">99</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a90ace29e191da2edd698fe157c97c1cb"></a><!-- doxytag: member="Vector2::operator==" ref="a90ace29e191da2edd698fe157c97c1cb" args="(const Vector2&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00044">44</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae567d360aef8af212c7e3139cc22aff7"></a><!-- doxytag: member="Vector2::project" ref="ae567d360aef8af212c7e3139cc22aff7" args="(const Vector2&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::project </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00134">134</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3212191028319eb5d8b00cfd85068722"></a><!-- doxytag: member="Vector2::projected" ref="a3212191028319eb5d8b00cfd85068722" args="(const Vector2&lt; T &gt; &amp;v)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_vector2.html">Vector2</a>&lt;T&gt; <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::projected </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>v</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00138">138</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="ade6dd765f60fffb39e52cf117d043d97"></a><!-- doxytag: member="Vector2::reflect" ref="ade6dd765f60fffb39e52cf117d043d97" args="(const Vector2&lt; T &gt; &amp;n)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::reflect </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>n</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00126">126</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a78fa1f2ed5e261c7fbeb8f3536a1ee34"></a><!-- doxytag: member="Vector2::x" ref="a78fa1f2ed5e261c7fbeb8f3536a1ee34" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::<a class="el" href="struct_vector2.html#a78fa1f2ed5e261c7fbeb8f3536a1ee34">x</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00031">31</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<a class="anchor" id="a6cfed8355591aa269f4dba43bd806ef9"></a><!-- doxytag: member="Vector2::y" ref="a6cfed8355591aa269f4dba43bd806ef9" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="memname">
<tr>
<td class="memname">T <a class="el" href="struct_vector2.html">Vector2</a>&lt; T &gt;::<a class="el" href="struct_vector2.html#a6cfed8355591aa269f4dba43bd806ef9">y</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="vector2_8h_source.html#l00031">31</a> of file <a class="el" href="vector2_8h_source.html">vector2.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="vector2_8h_source.html">vector2.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>
Generated for ArduPilot Libraries by&nbsp;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
</body>
</html>