diff options
Diffstat (limited to 'doc/latex/classmeow_1_1Vector2D.tex')
-rw-r--r-- | doc/latex/classmeow_1_1Vector2D.tex | 682 |
1 files changed, 682 insertions, 0 deletions
diff --git a/doc/latex/classmeow_1_1Vector2D.tex b/doc/latex/classmeow_1_1Vector2D.tex new file mode 100644 index 0000000..ad783ad --- /dev/null +++ b/doc/latex/classmeow_1_1Vector2D.tex @@ -0,0 +1,682 @@ +\hypertarget{classmeow_1_1Vector2D}{\section{meow\-:\-:Vector2\-D$<$ Scalar $>$ Class Template Reference} +\label{classmeow_1_1Vector2D}\index{meow\-::\-Vector2\-D$<$ Scalar $>$@{meow\-::\-Vector2\-D$<$ Scalar $>$}} +} + + +2\-D's vector + + + + +{\ttfamily \#include \char`\"{}Vectors.\-h\char`\"{}} + +\subsection*{Public Member Functions} +\begin{DoxyCompactItemize} +\item +\hyperlink{classmeow_1_1Vector2D_a69f2ee0830db546d5a2b5cb39a22ffda}{Vector2\-D} () +\begin{DoxyCompactList}\small\item\em consturctor (0, 0) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D_a01aeddc4e436a8c97e0e570a089ea6c2}{Vector2\-D} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\begin{DoxyCompactList}\small\item\em consturctor (from another \hyperlink{classmeow_1_1Vector2D}{Vector2\-D}) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D_a713952e42ea15ee86187a14b677e9555}{Vector2\-D} (Scalar const \&s) +\begin{DoxyCompactList}\small\item\em constructor (s, s) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D_a989ff27c4ef1dacd3f1b37b81dff0fa2}{Vector2\-D} (Scalar const \&sx, Scalar const \&sy) +\begin{DoxyCompactList}\small\item\em constructor (sx, sy) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D_ade618c2ccb5a6c1915495e5b0e34cba4}{Vector2\-D} (\hyperlink{classmeow_1_1Vector}{Vector}$<$ Scalar $>$ const \&v) +\begin{DoxyCompactList}\small\item\em constructor (from another \hyperlink{classmeow_1_1Vector}{Vector}) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D_a62a15858053f7c6c80aa9a896dd6d78d}{Vector2\-D} (\hyperlink{classmeow_1_1Vector}{Vector}$<$ Scalar $>$ const \&v, size\-\_\-t i) +\begin{DoxyCompactList}\small\item\em constructor (from another \hyperlink{classmeow_1_1Vector}{Vector}, i-\/th) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D_a3782df3eec67c68edae1afdd64e18d27}{$\sim$\-Vector2\-D} () +\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_adced5720013a8be2883df4a82e091483}{copy\-From} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\begin{DoxyCompactList}\small\item\em copy \end{DoxyCompactList}\item +Scalar const \& \hyperlink{classmeow_1_1Vector2D_a1bb0d1ce4954e56b8b0f166b928816a3}{x} () const +\begin{DoxyCompactList}\small\item\em access x \end{DoxyCompactList}\item +Scalar \& \hyperlink{classmeow_1_1Vector2D_a23046c79acf88b719292022ea4e8d171}{x\-Get} () +\begin{DoxyCompactList}\small\item\em access x with non constant reference \end{DoxyCompactList}\item +Scalar \& \hyperlink{classmeow_1_1Vector2D_a26a246441af25df6aa76708cf98fb9e6}{y\-Get} () +\begin{DoxyCompactList}\small\item\em access y with non constant reference \end{DoxyCompactList}\item +Scalar const \& \hyperlink{classmeow_1_1Vector2D_a0506d587eb30444092082258baab7a74}{y} () const +\begin{DoxyCompactList}\small\item\em access y \end{DoxyCompactList}\item +Scalar const \& \hyperlink{classmeow_1_1Vector2D_a1bb44937c6a470a483740aa6527a90b9}{x} (Scalar const \&s) +\begin{DoxyCompactList}\small\item\em modify x \end{DoxyCompactList}\item +Scalar const \& \hyperlink{classmeow_1_1Vector2D_a48f420d0f701c059f86f33cdfdf630b7}{y} (Scalar const \&s) +\begin{DoxyCompactList}\small\item\em modify y \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a79c0c92338f7197902cfc53876eb5e73}{xy} (Scalar const \&sx, Scalar const \&sy) +\begin{DoxyCompactList}\small\item\em modify x and y \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_a0b53875b3acbc7ac8c8e773c9ed340e2}{positive} () const +\begin{DoxyCompactList}\small\item\em return {\itshape +}($\ast$this) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_a8d389c0b1a9cc2b3a9dec7fec05bbad8}{negative} () const +\begin{DoxyCompactList}\small\item\em return {\itshape -\/}($\ast$this) \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_a2e768dd00d86dafa8adefc4ffc4edc9e}{right} () const +\begin{DoxyCompactList}\small\item\em return {\itshape count-\/clockwise} {\itshape rotate} {\itshape 90} {\itshape degree} of itself \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_a52467da33d126ff24f4c2757ee37ed4d}{add} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)+v \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a56f0d3848a5508b33d6c564e2eebb75e}{added} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\begin{DoxyCompactList}\small\item\em Let itself add v. \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_ad7b3e23827cfc3db7fbcc12c70db398a}{sub} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)-\/v \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a274c5cd3e139978539655a0191f03579}{subed} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\begin{DoxyCompactList}\small\item\em Let itself substract v. \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_ac3d894445c7dfa8b0cbe8ec2c1dfd1c2}{mul} (Scalar const \&s) const +\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)$\ast$s , where s is a scalar \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a4e0422609e71a9e16b41fceca451d63c}{muled} (Scalar const \&s) +\begin{DoxyCompactList}\small\item\em Let itself mulitple s. \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_acbb2ec7aa2897e93b3ff9964565ae8fc}{div} (Scalar const \&s) const +\begin{DoxyCompactList}\small\item\em return {\itshape }($\ast$this)/s , where s is a scalar \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a045c6189a70574b1465131d59410fa16}{dived} (Scalar const \&s) +\begin{DoxyCompactList}\small\item\em Let itself divide s. \end{DoxyCompactList}\item +Scalar \hyperlink{classmeow_1_1Vector2D_a8c65e501c1eeafe7f504c3b834743320}{mul} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\begin{DoxyCompactList}\small\item\em same as dot(v) \end{DoxyCompactList}\item +Scalar \hyperlink{classmeow_1_1Vector2D_a5a7a5ca3c2a401f1409b05b6bdf18490}{dot} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\begin{DoxyCompactList}\small\item\em dot \end{DoxyCompactList}\item +Scalar \hyperlink{classmeow_1_1Vector2D_adc7dbbcc85cacd7ca22b466335f250ae}{cross} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\begin{DoxyCompactList}\small\item\em cross \end{DoxyCompactList}\item +Scalar \hyperlink{classmeow_1_1Vector2D_ac32c4c5bd8ecf0a662dd12f3b6de15e5}{length} () const +\begin{DoxyCompactList}\small\item\em sqrt of length2 \end{DoxyCompactList}\item +Scalar \hyperlink{classmeow_1_1Vector2D_a1847d22eda48a16d9265f6e0774e1538}{length2} () const +\begin{DoxyCompactList}\small\item\em same as {\itshape dot($\ast$this)} \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_aa5da315ea365b2ca374704a3e8dded9b}{normalize} () const +\begin{DoxyCompactList}\small\item\em return normalize form of itself \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_ad60642b6b0dc4a6626e1d9eb917e6b45}{normalized} () +\begin{DoxyCompactList}\small\item\em normalize itself \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_aa6ae22d99360ff9e0b623e1744576733}{rotate} (Scalar const \&theta) const +\begin{DoxyCompactList}\small\item\em return rotate {\itshape theta} degree of itself \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_af3fd0ff1b8f9ca6df82b8659cadafb7d}{rotated} (Scalar const \&theta) +\begin{DoxyCompactList}\small\item\em Let itself rotate {\itshape theta} degree. \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_affe23a69e939807c11ee8763ca79debf}{reflect} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\begin{DoxyCompactList}\small\item\em return reflect from given vector {\itshape v} \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a21850fb1a57df44425330ede4cfee331}{reflected} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\begin{DoxyCompactList}\small\item\em reflect itself given vector {\itshape v} \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Scalar $>$ \hyperlink{classmeow_1_1Vector2D_added6ab5bb058ef53f919724333454fd}{matrix} () const +\begin{DoxyCompactList}\small\item\em return a 2x1 matrix form of itself \end{DoxyCompactList}\item +\hyperlink{classmeow_1_1Matrix}{Matrix}$<$ Scalar $>$ \hyperlink{classmeow_1_1Vector2D_a715f0f3cb62fddd7723b38d4211bb6db}{matrix} (Scalar const \&homo) const +\begin{DoxyCompactList}\small\item\em return a 3x1 matrix form of itself \end{DoxyCompactList}\item +Scalar const \& \hyperlink{classmeow_1_1Vector2D_a2a0cd6731b85b71649dca56d719a1633}{operator()} (size\-\_\-t n) const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a16a2ba46dfff7929b291df9aa0952422}{operator()} (Scalar const \&sx, Scalar const \&sy) +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_aff9ac089030964f9ba665a5522d759f0}{operator+} () const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_a6b86b91ba3c24e668593aaba3e4bc50e}{operator-\/} () const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_ae2fe5b97bf837bc29bb6d819772f4ea0}{operator$\sim$} () const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_aca1ad41491896a0743029d9864495c6a}{operator+} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_a7a71b243bdcab1d6433f2c7611bc8d15}{operator-\/} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_abc930168f72c634aa9a608cc9a4e8c1e}{operator$\ast$} (Scalar const \&s) const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \hyperlink{classmeow_1_1Vector2D_abe7d948febd4ea0faf80be7ffc369692}{operator/} (Scalar const \&s) const +\item +Scalar \hyperlink{classmeow_1_1Vector2D_af609b7cb9d23412fe2ec627eec902cba}{operator$\ast$} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) const +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a470def2d8b1789e0cbb8ede298893242}{operator=} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a43660ff47fbe41076396c122a5bfd7ac}{operator+=} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_ac160da32a9af65264c4b509db5d9f0fb}{operator-\/=} (\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} const \&v) +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_a2d5ada8cf5673c79375c0429a1681ca6}{operator$\ast$=} (Scalar const \&s) +\item +\hyperlink{classmeow_1_1Vector2D}{Vector2\-D} \& \hyperlink{classmeow_1_1Vector2D_af164380cbababa279dee2bedb81ec080}{operator/=} (Scalar const \&s) +\end{DoxyCompactItemize} + + +\subsection{Detailed Description} +\subsubsection*{template$<$class Scalar$>$class meow\-::\-Vector2\-D$<$ Scalar $>$} + +2\-D's vector + +\begin{DoxyAuthor}{Author} +cat\-\_\-leopard +\end{DoxyAuthor} + + +\subsection{Constructor \& Destructor Documentation} +\hypertarget{classmeow_1_1Vector2D_a69f2ee0830db546d5a2b5cb39a22ffda}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!Vector2\-D@{Vector2\-D}} +\index{Vector2\-D@{Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::{\bf Vector2\-D} ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a69f2ee0830db546d5a2b5cb39a22ffda} + + +consturctor (0, 0) + +\hypertarget{classmeow_1_1Vector2D_a01aeddc4e436a8c97e0e570a089ea6c2}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!Vector2\-D@{Vector2\-D}} +\index{Vector2\-D@{Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::{\bf Vector2\-D} ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a01aeddc4e436a8c97e0e570a089ea6c2} + + +consturctor (from another \hyperlink{classmeow_1_1Vector2D}{Vector2\-D}) + +\hypertarget{classmeow_1_1Vector2D_a713952e42ea15ee86187a14b677e9555}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!Vector2\-D@{Vector2\-D}} +\index{Vector2\-D@{Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::{\bf Vector2\-D} ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a713952e42ea15ee86187a14b677e9555} + + +constructor (s, s) + +\hypertarget{classmeow_1_1Vector2D_a989ff27c4ef1dacd3f1b37b81dff0fa2}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!Vector2\-D@{Vector2\-D}} +\index{Vector2\-D@{Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::{\bf Vector2\-D} ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{sx, } +\item[{Scalar const \&}]{sy} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a989ff27c4ef1dacd3f1b37b81dff0fa2} + + +constructor (sx, sy) + +\hypertarget{classmeow_1_1Vector2D_ade618c2ccb5a6c1915495e5b0e34cba4}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!Vector2\-D@{Vector2\-D}} +\index{Vector2\-D@{Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::{\bf Vector2\-D} ( +\begin{DoxyParamCaption} +\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ade618c2ccb5a6c1915495e5b0e34cba4} + + +constructor (from another \hyperlink{classmeow_1_1Vector}{Vector}) + +\hypertarget{classmeow_1_1Vector2D_a62a15858053f7c6c80aa9a896dd6d78d}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!Vector2\-D@{Vector2\-D}} +\index{Vector2\-D@{Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::{\bf Vector2\-D} ( +\begin{DoxyParamCaption} +\item[{{\bf Vector}$<$ Scalar $>$ const \&}]{v, } +\item[{size\-\_\-t}]{i} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a62a15858053f7c6c80aa9a896dd6d78d} + + +constructor (from another \hyperlink{classmeow_1_1Vector}{Vector}, i-\/th) + +\hypertarget{classmeow_1_1Vector2D_a3782df3eec67c68edae1afdd64e18d27}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!$\sim$\-Vector2\-D@{$\sim$\-Vector2\-D}} +\index{$\sim$\-Vector2\-D@{$\sim$\-Vector2\-D}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{$\sim$\-Vector2\-D}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::$\sim${\bf Vector2\-D} ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a3782df3eec67c68edae1afdd64e18d27} + + +destructor + + + +\subsection{Member Function Documentation} +\hypertarget{classmeow_1_1Vector2D_a52467da33d126ff24f4c2757ee37ed4d}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!add@{add}} +\index{add@{add}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::add ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a52467da33d126ff24f4c2757ee37ed4d} + + +return {\itshape }($\ast$this)+v + +\hypertarget{classmeow_1_1Vector2D_a56f0d3848a5508b33d6c564e2eebb75e}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!added@{added}} +\index{added@{added}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{added}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::added ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a56f0d3848a5508b33d6c564e2eebb75e} + + +Let itself add v. + +\hypertarget{classmeow_1_1Vector2D_adced5720013a8be2883df4a82e091483}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!copy\-From@{copy\-From}} +\index{copy\-From@{copy\-From}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{copy\-From}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::copy\-From ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_adced5720013a8be2883df4a82e091483} + + +copy + +\hypertarget{classmeow_1_1Vector2D_adc7dbbcc85cacd7ca22b466335f250ae}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!cross@{cross}} +\index{cross@{cross}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{cross}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::cross ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_adc7dbbcc85cacd7ca22b466335f250ae} + + +cross + +\hypertarget{classmeow_1_1Vector2D_acbb2ec7aa2897e93b3ff9964565ae8fc}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!div@{div}} +\index{div@{div}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{div}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::div ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_acbb2ec7aa2897e93b3ff9964565ae8fc} + + +return {\itshape }($\ast$this)/s , where s is a scalar + +\hypertarget{classmeow_1_1Vector2D_a045c6189a70574b1465131d59410fa16}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!dived@{dived}} +\index{dived@{dived}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{dived}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::dived ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a045c6189a70574b1465131d59410fa16} + + +Let itself divide s. + +\hypertarget{classmeow_1_1Vector2D_a5a7a5ca3c2a401f1409b05b6bdf18490}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!dot@{dot}} +\index{dot@{dot}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{dot}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::dot ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a5a7a5ca3c2a401f1409b05b6bdf18490} + + +dot + +\hypertarget{classmeow_1_1Vector2D_ac32c4c5bd8ecf0a662dd12f3b6de15e5}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!length@{length}} +\index{length@{length}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{length}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::length ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ac32c4c5bd8ecf0a662dd12f3b6de15e5} + + +sqrt of length2 + +\hypertarget{classmeow_1_1Vector2D_a1847d22eda48a16d9265f6e0774e1538}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!length2@{length2}} +\index{length2@{length2}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{length2}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::length2 ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a1847d22eda48a16d9265f6e0774e1538} + + +same as {\itshape dot($\ast$this)} + +\hypertarget{classmeow_1_1Vector2D_added6ab5bb058ef53f919724333454fd}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!matrix@{matrix}} +\index{matrix@{matrix}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Matrix}$<$Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::matrix ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_added6ab5bb058ef53f919724333454fd} + + +return a 2x1 matrix form of itself + +\hypertarget{classmeow_1_1Vector2D_a715f0f3cb62fddd7723b38d4211bb6db}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!matrix@{matrix}} +\index{matrix@{matrix}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{matrix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Matrix}$<$Scalar$>$ {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::matrix ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{homo} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a715f0f3cb62fddd7723b38d4211bb6db} + + +return a 3x1 matrix form of itself + +\hypertarget{classmeow_1_1Vector2D_ac3d894445c7dfa8b0cbe8ec2c1dfd1c2}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!mul@{mul}} +\index{mul@{mul}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{mul}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::mul ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ac3d894445c7dfa8b0cbe8ec2c1dfd1c2} + + +return {\itshape }($\ast$this)$\ast$s , where s is a scalar + +\hypertarget{classmeow_1_1Vector2D_a8c65e501c1eeafe7f504c3b834743320}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!mul@{mul}} +\index{mul@{mul}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{mul}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::mul ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a8c65e501c1eeafe7f504c3b834743320} + + +same as dot(v) + +\hypertarget{classmeow_1_1Vector2D_a4e0422609e71a9e16b41fceca451d63c}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!muled@{muled}} +\index{muled@{muled}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{muled}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::muled ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a4e0422609e71a9e16b41fceca451d63c} + + +Let itself mulitple s. + +\hypertarget{classmeow_1_1Vector2D_a8d389c0b1a9cc2b3a9dec7fec05bbad8}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!negative@{negative}} +\index{negative@{negative}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{negative}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::negative ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a8d389c0b1a9cc2b3a9dec7fec05bbad8} + + +return {\itshape -\/}($\ast$this) + +\hypertarget{classmeow_1_1Vector2D_aa5da315ea365b2ca374704a3e8dded9b}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!normalize@{normalize}} +\index{normalize@{normalize}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{normalize}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::normalize ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_aa5da315ea365b2ca374704a3e8dded9b} + + +return normalize form of itself + +\hypertarget{classmeow_1_1Vector2D_ad60642b6b0dc4a6626e1d9eb917e6b45}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!normalized@{normalized}} +\index{normalized@{normalized}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{normalized}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::normalized ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ad60642b6b0dc4a6626e1d9eb917e6b45} + + +normalize itself + +\hypertarget{classmeow_1_1Vector2D_a2a0cd6731b85b71649dca56d719a1633}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator()@{operator()}} +\index{operator()@{operator()}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar const\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator() ( +\begin{DoxyParamCaption} +\item[{size\-\_\-t}]{n} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a2a0cd6731b85b71649dca56d719a1633} +\hypertarget{classmeow_1_1Vector2D_a16a2ba46dfff7929b291df9aa0952422}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator()@{operator()}} +\index{operator()@{operator()}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator() ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{sx, } +\item[{Scalar const \&}]{sy} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a16a2ba46dfff7929b291df9aa0952422} +\hypertarget{classmeow_1_1Vector2D_abc930168f72c634aa9a608cc9a4e8c1e}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator$\ast$@{operator$\ast$}} +\index{operator$\ast$@{operator$\ast$}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator$\ast$ ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_abc930168f72c634aa9a608cc9a4e8c1e} +\hypertarget{classmeow_1_1Vector2D_af609b7cb9d23412fe2ec627eec902cba}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator$\ast$@{operator$\ast$}} +\index{operator$\ast$@{operator$\ast$}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator$\ast$ ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_af609b7cb9d23412fe2ec627eec902cba} +\hypertarget{classmeow_1_1Vector2D_a2d5ada8cf5673c79375c0429a1681ca6}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator$\ast$=@{operator$\ast$=}} +\index{operator$\ast$=@{operator$\ast$=}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator$\ast$=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator$\ast$= ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a2d5ada8cf5673c79375c0429a1681ca6} +\hypertarget{classmeow_1_1Vector2D_aff9ac089030964f9ba665a5522d759f0}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator+@{operator+}} +\index{operator+@{operator+}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator+ ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_aff9ac089030964f9ba665a5522d759f0} +\hypertarget{classmeow_1_1Vector2D_aca1ad41491896a0743029d9864495c6a}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator+@{operator+}} +\index{operator+@{operator+}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator+}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator+ ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_aca1ad41491896a0743029d9864495c6a} +\hypertarget{classmeow_1_1Vector2D_a43660ff47fbe41076396c122a5bfd7ac}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator+=@{operator+=}} +\index{operator+=@{operator+=}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator+=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator+= ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a43660ff47fbe41076396c122a5bfd7ac} +\hypertarget{classmeow_1_1Vector2D_a6b86b91ba3c24e668593aaba3e4bc50e}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator-\/@{operator-\/}} +\index{operator-\/@{operator-\/}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator-\/ ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a6b86b91ba3c24e668593aaba3e4bc50e} +\hypertarget{classmeow_1_1Vector2D_a7a71b243bdcab1d6433f2c7611bc8d15}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator-\/@{operator-\/}} +\index{operator-\/@{operator-\/}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator-\/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator-\/ ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a7a71b243bdcab1d6433f2c7611bc8d15} +\hypertarget{classmeow_1_1Vector2D_ac160da32a9af65264c4b509db5d9f0fb}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator-\/=@{operator-\/=}} +\index{operator-\/=@{operator-\/=}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator-\/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator-\/= ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ac160da32a9af65264c4b509db5d9f0fb} +\hypertarget{classmeow_1_1Vector2D_abe7d948febd4ea0faf80be7ffc369692}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator/@{operator/}} +\index{operator/@{operator/}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator/}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator/ ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_abe7d948febd4ea0faf80be7ffc369692} +\hypertarget{classmeow_1_1Vector2D_af164380cbababa279dee2bedb81ec080}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator/=@{operator/=}} +\index{operator/=@{operator/=}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator/=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator/= ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_af164380cbababa279dee2bedb81ec080} +\hypertarget{classmeow_1_1Vector2D_a470def2d8b1789e0cbb8ede298893242}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator=@{operator=}} +\index{operator=@{operator=}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator= ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a470def2d8b1789e0cbb8ede298893242} +\hypertarget{classmeow_1_1Vector2D_ae2fe5b97bf837bc29bb6d819772f4ea0}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!operator$\sim$@{operator$\sim$}} +\index{operator$\sim$@{operator$\sim$}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{operator$\sim$}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::operator$\sim$ ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ae2fe5b97bf837bc29bb6d819772f4ea0} +\hypertarget{classmeow_1_1Vector2D_a0b53875b3acbc7ac8c8e773c9ed340e2}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!positive@{positive}} +\index{positive@{positive}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{positive}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::positive ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a0b53875b3acbc7ac8c8e773c9ed340e2} + + +return {\itshape +}($\ast$this) + +\hypertarget{classmeow_1_1Vector2D_affe23a69e939807c11ee8763ca79debf}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!reflect@{reflect}} +\index{reflect@{reflect}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{reflect}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::reflect ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_affe23a69e939807c11ee8763ca79debf} + + +return reflect from given vector {\itshape v} + +\hypertarget{classmeow_1_1Vector2D_a21850fb1a57df44425330ede4cfee331}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!reflected@{reflected}} +\index{reflected@{reflected}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{reflected}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::reflected ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a21850fb1a57df44425330ede4cfee331} + + +reflect itself given vector {\itshape v} + +\hypertarget{classmeow_1_1Vector2D_a2e768dd00d86dafa8adefc4ffc4edc9e}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!right@{right}} +\index{right@{right}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{right}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::right ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a2e768dd00d86dafa8adefc4ffc4edc9e} + + +return {\itshape count-\/clockwise} {\itshape rotate} {\itshape 90} {\itshape degree} of itself + +\hypertarget{classmeow_1_1Vector2D_aa6ae22d99360ff9e0b623e1744576733}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!rotate@{rotate}} +\index{rotate@{rotate}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{rotate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::rotate ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{theta} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_aa6ae22d99360ff9e0b623e1744576733} + + +return rotate {\itshape theta} degree of itself + +\hypertarget{classmeow_1_1Vector2D_af3fd0ff1b8f9ca6df82b8659cadafb7d}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!rotated@{rotated}} +\index{rotated@{rotated}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{rotated}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::rotated ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{theta} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_af3fd0ff1b8f9ca6df82b8659cadafb7d} + + +Let itself rotate {\itshape theta} degree. + +\hypertarget{classmeow_1_1Vector2D_ad7b3e23827cfc3db7fbcc12c70db398a}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!sub@{sub}} +\index{sub@{sub}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{sub}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D} {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::sub ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_ad7b3e23827cfc3db7fbcc12c70db398a} + + +return {\itshape }($\ast$this)-\/v + +\hypertarget{classmeow_1_1Vector2D_a274c5cd3e139978539655a0191f03579}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!subed@{subed}} +\index{subed@{subed}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{subed}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::subed ( +\begin{DoxyParamCaption} +\item[{{\bf Vector2\-D}$<$ Scalar $>$ const \&}]{v} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a274c5cd3e139978539655a0191f03579} + + +Let itself substract v. + +\hypertarget{classmeow_1_1Vector2D_a1bb0d1ce4954e56b8b0f166b928816a3}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!x@{x}} +\index{x@{x}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar const\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::x ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a1bb0d1ce4954e56b8b0f166b928816a3} + + +access x + +\hypertarget{classmeow_1_1Vector2D_a1bb44937c6a470a483740aa6527a90b9}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!x@{x}} +\index{x@{x}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{x}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar const\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::x ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a1bb44937c6a470a483740aa6527a90b9} + + +modify x + +\hypertarget{classmeow_1_1Vector2D_a23046c79acf88b719292022ea4e8d171}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!x\-Get@{x\-Get}} +\index{x\-Get@{x\-Get}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{x\-Get}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::x\-Get ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a23046c79acf88b719292022ea4e8d171} + + +access x with non constant reference + +\hypertarget{classmeow_1_1Vector2D_a79c0c92338f7197902cfc53876eb5e73}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!xy@{xy}} +\index{xy@{xy}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{xy}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ {\bf Vector2\-D}\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::xy ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{sx, } +\item[{Scalar const \&}]{sy} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a79c0c92338f7197902cfc53876eb5e73} + + +modify x and y + +\hypertarget{classmeow_1_1Vector2D_a0506d587eb30444092082258baab7a74}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!y@{y}} +\index{y@{y}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar const\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::y ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a0506d587eb30444092082258baab7a74} + + +access y + +\hypertarget{classmeow_1_1Vector2D_a48f420d0f701c059f86f33cdfdf630b7}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!y@{y}} +\index{y@{y}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{y}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar const\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::y ( +\begin{DoxyParamCaption} +\item[{Scalar const \&}]{s} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a48f420d0f701c059f86f33cdfdf630b7} + + +modify y + +\hypertarget{classmeow_1_1Vector2D_a26a246441af25df6aa76708cf98fb9e6}{\index{meow\-::\-Vector2\-D@{meow\-::\-Vector2\-D}!y\-Get@{y\-Get}} +\index{y\-Get@{y\-Get}!meow::Vector2D@{meow\-::\-Vector2\-D}} +\subsubsection[{y\-Get}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Scalar$>$ Scalar\& {\bf meow\-::\-Vector2\-D}$<$ Scalar $>$\-::y\-Get ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classmeow_1_1Vector2D_a26a246441af25df6aa76708cf98fb9e6} + + +access y with non constant reference + + + +The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} +\item +meowpp/geo/\hyperlink{Vectors_8h}{Vectors.\-h}\end{DoxyCompactItemize} |