\hypertarget{classComSquare_1_1Vector2}{}\doxysection{Com\+Square\+::Vector2$<$ T $>$ Class Template Reference}
\label{classComSquare_1_1Vector2}\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}


{\ttfamily \#include $<$Vector2.\+hpp$>$}



Collaboration diagram for Com\+Square\+::Vector2$<$ T $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=224pt]{classComSquare_1_1Vector2__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classComSquare_1_1Vector2_af60570b8a4c12da2e70dc36af15805c4}{Vector2}} ()
\item 
\mbox{\hyperlink{classComSquare_1_1Vector2_a08e314ba3446c45445267e080ab6eb62}{Vector2}} (T \+\_\+x, T \+\_\+y)
\item 
\mbox{\hyperlink{classComSquare_1_1Vector2_a00c0fa6a2eb9cced44a9ac507325abb1}{Vector2}} (sf\+::\+Vector2$<$ T $>$ v)
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \& \mbox{\hyperlink{classComSquare_1_1Vector2_acf8246e79e5d091a69c9b2061cc7bd41}{operator+=}} (const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&vec)
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_ad7269295773a36a56bce2a7bcac81a01}{operator+}} (const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&vec) const
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \& \mbox{\hyperlink{classComSquare_1_1Vector2_aeb35631c7ecfcb75174112f0329ece81}{operator-\/=}} (const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&vec)
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_ad5c505df19eb9e029c8b7cf230908a91}{operator-\/}} (const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&vec) const
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \& \mbox{\hyperlink{classComSquare_1_1Vector2_a2c94b998a8f9a3ad80466a6c667c3ffc}{operator$\ast$=}} (T2 d)
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_a7271fe4e97845641faf0399fa4d31151}{operator$\ast$}} (T2 d) const
\item 
{\footnotesize template$<$typename T2 $>$ }\\T \mbox{\hyperlink{classComSquare_1_1Vector2_a676666bbce68617cf97340036c167ced}{operator$\ast$}} (\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&b) const
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_a05cef69cb218d90e1c60cf6232150298}{operator/=}} (\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&b)
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_a8a02b67623e7054a72fd2f99cbbeb5ab}{operator/}} (\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&b) const
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_a9df70dcfbe9c0920ebcc93ae043622af}{operator/=}} (T2 b)
\item 
{\footnotesize template$<$typename T2 $>$ }\\\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T $>$ \mbox{\hyperlink{classComSquare_1_1Vector2_a2b32bed0c8e8fdb831127260a223ef69}{operator/}} (T2 b) const
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
T \mbox{\hyperlink{classComSquare_1_1Vector2_ac29e5e0b37dccc029ba0a6fceaf041b8}{x}}
\item 
T \mbox{\hyperlink{classComSquare_1_1Vector2_a2e6d57a9eaa4340703e350f3fe28c7c3}{y}}
\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classComSquare_1_1Vector2_af60570b8a4c12da2e70dc36af15805c4}\label{classComSquare_1_1Vector2_af60570b8a4c12da2e70dc36af15805c4}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a08e314ba3446c45445267e080ab6eb62}\label{classComSquare_1_1Vector2_a08e314ba3446c45445267e080ab6eb62}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}} (\begin{DoxyParamCaption}\item[{T}]{\+\_\+x,  }\item[{T}]{\+\_\+y }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a00c0fa6a2eb9cced44a9ac507325abb1}\label{classComSquare_1_1Vector2_a00c0fa6a2eb9cced44a9ac507325abb1}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!Vector2@{Vector2}}
\index{Vector2@{Vector2}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{Vector2()}{Vector2()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}} (\begin{DoxyParamCaption}\item[{sf\+::\+Vector2$<$ T $>$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classComSquare_1_1Vector2_a7271fe4e97845641faf0399fa4d31151}\label{classComSquare_1_1Vector2_a7271fe4e97845641faf0399fa4d31151}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator$\ast$()}{operator*()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator$\ast$ (\begin{DoxyParamCaption}\item[{T2}]{d }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a676666bbce68617cf97340036c167ced}\label{classComSquare_1_1Vector2_a676666bbce68617cf97340036c167ced}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator$\ast$()}{operator*()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
T \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator$\ast$ (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{b }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a2c94b998a8f9a3ad80466a6c667c3ffc}\label{classComSquare_1_1Vector2_a2c94b998a8f9a3ad80466a6c667c3ffc}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator$\ast$=@{operator$\ast$=}}
\index{operator$\ast$=@{operator$\ast$=}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator$\ast$=()}{operator*=()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$\& \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator$\ast$= (\begin{DoxyParamCaption}\item[{T2}]{d }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_ad7269295773a36a56bce2a7bcac81a01}\label{classComSquare_1_1Vector2_ad7269295773a36a56bce2a7bcac81a01}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator+@{operator+}}
\index{operator+@{operator+}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator+()}{operator+()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator+ (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{vec }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_acf8246e79e5d091a69c9b2061cc7bd41}\label{classComSquare_1_1Vector2_acf8246e79e5d091a69c9b2061cc7bd41}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator+=()}{operator+=()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$\& \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator+= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{vec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_ad5c505df19eb9e029c8b7cf230908a91}\label{classComSquare_1_1Vector2_ad5c505df19eb9e029c8b7cf230908a91}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator-\/@{operator-\/}}
\index{operator-\/@{operator-\/}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator-\/()}{operator-()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator-\/ (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{vec }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_aeb35631c7ecfcb75174112f0329ece81}\label{classComSquare_1_1Vector2_aeb35631c7ecfcb75174112f0329ece81}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator-\/=@{operator-\/=}}
\index{operator-\/=@{operator-\/=}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator-\/=()}{operator-=()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$\& \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator-\/= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{vec }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a2b32bed0c8e8fdb831127260a223ef69}\label{classComSquare_1_1Vector2_a2b32bed0c8e8fdb831127260a223ef69}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator/@{operator/}}
\index{operator/@{operator/}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator/()}{operator/()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator/ (\begin{DoxyParamCaption}\item[{T2}]{b }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a8a02b67623e7054a72fd2f99cbbeb5ab}\label{classComSquare_1_1Vector2_a8a02b67623e7054a72fd2f99cbbeb5ab}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator/@{operator/}}
\index{operator/@{operator/}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator/()}{operator/()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator/ (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{b }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a9df70dcfbe9c0920ebcc93ae043622af}\label{classComSquare_1_1Vector2_a9df70dcfbe9c0920ebcc93ae043622af}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator/=@{operator/=}}
\index{operator/=@{operator/=}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator/=()}{operator/=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator/= (\begin{DoxyParamCaption}\item[{T2}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a05cef69cb218d90e1c60cf6232150298}\label{classComSquare_1_1Vector2_a05cef69cb218d90e1c60cf6232150298}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!operator/=@{operator/=}}
\index{operator/=@{operator/=}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{operator/=()}{operator/=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
template$<$typename T2 $>$ \\
\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$T$>$ \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::operator/= (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classComSquare_1_1Vector2}{Vector2}}$<$ T2 $>$ \&}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classComSquare_1_1Vector2_ac29e5e0b37dccc029ba0a6fceaf041b8}\label{classComSquare_1_1Vector2_ac29e5e0b37dccc029ba0a6fceaf041b8}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!x@{x}}
\index{x@{x}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{x}{x}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
T \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::x}

\mbox{\Hypertarget{classComSquare_1_1Vector2_a2e6d57a9eaa4340703e350f3fe28c7c3}\label{classComSquare_1_1Vector2_a2e6d57a9eaa4340703e350f3fe28c7c3}} 
\index{ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}!y@{y}}
\index{y@{y}!ComSquare::Vector2$<$ T $>$@{ComSquare::Vector2$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{y}{y}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
T \mbox{\hyperlink{classComSquare_1_1Vector2}{Com\+Square\+::\+Vector2}}$<$ T $>$\+::y}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
sources/\+Models/\mbox{\hyperlink{Vector2_8hpp}{Vector2.\+hpp}}\end{DoxyCompactItemize}
