\hypertarget{group__Eina__Vector2}{}\doxysection{Floating point vectors in 2D}
\label{group__Eina__Vector2}\index{Floating point vectors in 2D@{Floating point vectors in 2D}}


2D vector definition and operations  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Vector2}{\+\_\+\+Eina\+\_\+\+Vector2}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Vector2_ga4d6788fb37ae2eb0dad1776440bf8df6}\label{group__Eina__Vector2_ga4d6788fb37ae2eb0dad1776440bf8df6}} 
\#define {\bfseries EINA\+\_\+\+VECTOR2}(x,  y)~((\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}}) \{(x), (y)\})
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Vector2_ga4dec2993e64b780b351a08b6422b08e2}\label{group__Eina__Vector2_ga4dec2993e64b780b351a08b6422b08e2}} 
typedef struct \mbox{\hyperlink{struct__Eina__Vector2}{\+\_\+\+Eina\+\_\+\+Vector2}} {\bfseries Eina\+\_\+\+Vector2}
\item 
\mbox{\Hypertarget{group__Eina__Vector2_gabd36c742c915e4de13853180fcff6d1c}\label{group__Eina__Vector2_gabd36c742c915e4de13853180fcff6d1c}} 
typedef struct \mbox{\hyperlink{struct__Eina__Vector3}{\+\_\+\+Eina\+\_\+\+Vector3}} {\bfseries Eina\+\_\+\+Vector3}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{group__Eina__Vector2_gae38d75e8f305b13ef002ef0b5cfac558}{eina\+\_\+vector2\+\_\+set}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$dst, double x, double y)
\begin{DoxyCompactList}\small\item\em Set parameters to vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_gadb3dfcc2a843cdde59422f90037b7e54}{eina\+\_\+vector2\+\_\+array\+\_\+set}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$dst, const double $\ast$v)
\begin{DoxyCompactList}\small\item\em Set array to vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga08b62668951b03dcd65a9cad60794e79}{eina\+\_\+vector2\+\_\+copy}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$dst, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$src)
\begin{DoxyCompactList}\small\item\em Copy vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga3cf4fe1c9072de09501140127038a52b}{eina\+\_\+vector2\+\_\+negate}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em Make negative vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga918611a5f9c68549c98bf39e771610e6}{eina\+\_\+vector2\+\_\+add}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$a, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$b)
\begin{DoxyCompactList}\small\item\em Add two vectors. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga4845f984cd94138f6fcd848ba6496172}{eina\+\_\+vector2\+\_\+subtract}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$a, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$b)
\begin{DoxyCompactList}\small\item\em Subtract two vectors. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_gab606d190ccc07e533b7758cccdd80277}{eina\+\_\+vector2\+\_\+scale}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v, double scale)
\begin{DoxyCompactList}\small\item\em Scale vector. \end{DoxyCompactList}\item 
static double \mbox{\hyperlink{group__Eina__Vector2_ga971dd932689516a71b6e94cb8eb60537}{eina\+\_\+vector2\+\_\+dot\+\_\+product}} (const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$a, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$b)
\begin{DoxyCompactList}\small\item\em Return the dot product of the two vectors. \end{DoxyCompactList}\item 
static double \mbox{\hyperlink{group__Eina__Vector2_ga102e39574ace00b0acf85108bdf7b0cc}{eina\+\_\+vector2\+\_\+length\+\_\+get}} (const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em Return the length of the given vector. \end{DoxyCompactList}\item 
static double \mbox{\hyperlink{group__Eina__Vector2_gab37b4d279190a8a55b2aa764345707e1}{eina\+\_\+vector2\+\_\+length\+\_\+square\+\_\+get}} (const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em Return the length in square of the given vector. \end{DoxyCompactList}\item 
static double \mbox{\hyperlink{group__Eina__Vector2_gaf91977a7970d27a27834a0d07cd0559f}{eina\+\_\+vector2\+\_\+distance\+\_\+get}} (const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$a, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$b)
\begin{DoxyCompactList}\small\item\em Return the distance between of two vectors. \end{DoxyCompactList}\item 
static double \mbox{\hyperlink{group__Eina__Vector2_ga9a96d5f73a222b35329e17e15c4312d0}{eina\+\_\+vector2\+\_\+distance\+\_\+square\+\_\+get}} (const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$a, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$b)
\begin{DoxyCompactList}\small\item\em Return the distance in square between of two vectors. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga0a9192aff21abd1306e74efc9ea4c940}{eina\+\_\+vector2\+\_\+normalize}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em normalize vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_gaab36c2dccdb9e6a78872d6f4169290f3}{eina\+\_\+vector2\+\_\+transform}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{structEina__Matrix2}{Eina\+\_\+\+Matrix2}} $\ast$m, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em Transform vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga56fbeafe7f42fa04443b8442fc38d539}{eina\+\_\+vector2\+\_\+homogeneous\+\_\+position\+\_\+transform}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{group__Eina__Matrix3__Group_ga8c3fb1203ec3bcfdcde63d76caedc375}{Eina\+\_\+\+Matrix3}} $\ast$m, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em Homogeneous position transform vector. \end{DoxyCompactList}\item 
static void \mbox{\hyperlink{group__Eina__Vector2_ga664bc9c76e55fa30fefe15caef744007}{eina\+\_\+vector2\+\_\+homogeneous\+\_\+direction\+\_\+transform}} (\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$out, const \mbox{\hyperlink{group__Eina__Matrix3__Group_ga8c3fb1203ec3bcfdcde63d76caedc375}{Eina\+\_\+\+Matrix3}} $\ast$m, const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$v)
\begin{DoxyCompactList}\small\item\em Homogeneous direction transform vector. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
2D vector definition and operations 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Vector2_gae38d75e8f305b13ef002ef0b5cfac558}\label{group__Eina__Vector2_gae38d75e8f305b13ef002ef0b5cfac558}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_set@{eina\_vector2\_set}}
\index{eina\_vector2\_set@{eina\_vector2\_set}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_set()}{eina\_vector2\_set()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{dst,  }\item[{double}]{x,  }\item[{double}]{y }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set parameters to vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em dst} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em x} & The x component. \\
\hline
\mbox{\texttt{ in}}  & {\em y} & The y component.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_gadb3dfcc2a843cdde59422f90037b7e54}\label{group__Eina__Vector2_gadb3dfcc2a843cdde59422f90037b7e54}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_array\_set@{eina\_vector2\_array\_set}}
\index{eina\_vector2\_array\_set@{eina\_vector2\_array\_set}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_array\_set()}{eina\_vector2\_array\_set()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+array\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{dst,  }\item[{const double $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Set array to vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em dst} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The the array\mbox{[}2\mbox{]} for set.\\
\hline
\end{DoxyParams}
Set to vector first 2 elements from array.

\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga08b62668951b03dcd65a9cad60794e79}\label{group__Eina__Vector2_ga08b62668951b03dcd65a9cad60794e79}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_copy@{eina\_vector2\_copy}}
\index{eina\_vector2\_copy@{eina\_vector2\_copy}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_copy()}{eina\_vector2\_copy()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+copy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{dst,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{src }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Copy vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em dst} & The vector copy. \\
\hline
\mbox{\texttt{ in}}  & {\em src} & The vector for copy.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga3cf4fe1c9072de09501140127038a52b}\label{group__Eina__Vector2_ga3cf4fe1c9072de09501140127038a52b}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_negate@{eina\_vector2\_negate}}
\index{eina\_vector2\_negate@{eina\_vector2\_negate}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_negate()}{eina\_vector2\_negate()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+negate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Make negative vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The current vector.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga918611a5f9c68549c98bf39e771610e6}\label{group__Eina__Vector2_ga918611a5f9c68549c98bf39e771610e6}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_add@{eina\_vector2\_add}}
\index{eina\_vector2\_add@{eina\_vector2\_add}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_add()}{eina\_vector2\_add()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{a,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Add two vectors. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em a} & The first member of the add. \\
\hline
\mbox{\texttt{ in}}  & {\em b} & The second member of the add.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga4845f984cd94138f6fcd848ba6496172}\label{group__Eina__Vector2_ga4845f984cd94138f6fcd848ba6496172}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_subtract@{eina\_vector2\_subtract}}
\index{eina\_vector2\_subtract@{eina\_vector2\_subtract}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_subtract()}{eina\_vector2\_subtract()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+subtract (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{a,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Subtract two vectors. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector \\
\hline
\mbox{\texttt{ in}}  & {\em a} & The first member of the subtract \\
\hline
\mbox{\texttt{ in}}  & {\em b} & The second member of the subtract\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_gab606d190ccc07e533b7758cccdd80277}\label{group__Eina__Vector2_gab606d190ccc07e533b7758cccdd80277}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_scale@{eina\_vector2\_scale}}
\index{eina\_vector2\_scale@{eina\_vector2\_scale}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_scale()}{eina\_vector2\_scale()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+scale (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v,  }\item[{double}]{scale }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Scale vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The vector for scale. \\
\hline
\mbox{\texttt{ in}}  & {\em scale} & The scale value.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga971dd932689516a71b6e94cb8eb60537}\label{group__Eina__Vector2_ga971dd932689516a71b6e94cb8eb60537}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_dot\_product@{eina\_vector2\_dot\_product}}
\index{eina\_vector2\_dot\_product@{eina\_vector2\_dot\_product}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_dot\_product()}{eina\_vector2\_dot\_product()}}
{\footnotesize\ttfamily static double eina\+\_\+vector2\+\_\+dot\+\_\+product (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{a,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Return the dot product of the two vectors. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em a} & The first member. \\
\hline
\mbox{\texttt{ in}}  & {\em b} & The second member. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The dot product.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga102e39574ace00b0acf85108bdf7b0cc}\label{group__Eina__Vector2_ga102e39574ace00b0acf85108bdf7b0cc}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_length\_get@{eina\_vector2\_length\_get}}
\index{eina\_vector2\_length\_get@{eina\_vector2\_length\_get}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_length\_get()}{eina\_vector2\_length\_get()}}
{\footnotesize\ttfamily static double eina\+\_\+vector2\+\_\+length\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Return the length of the given vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em v} & The vector. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The length.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_gab37b4d279190a8a55b2aa764345707e1}\label{group__Eina__Vector2_gab37b4d279190a8a55b2aa764345707e1}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_length\_square\_get@{eina\_vector2\_length\_square\_get}}
\index{eina\_vector2\_length\_square\_get@{eina\_vector2\_length\_square\_get}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_length\_square\_get()}{eina\_vector2\_length\_square\_get()}}
{\footnotesize\ttfamily static double eina\+\_\+vector2\+\_\+length\+\_\+square\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Return the length in square of the given vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em v} & The vector. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The length in square.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_gaf91977a7970d27a27834a0d07cd0559f}\label{group__Eina__Vector2_gaf91977a7970d27a27834a0d07cd0559f}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_distance\_get@{eina\_vector2\_distance\_get}}
\index{eina\_vector2\_distance\_get@{eina\_vector2\_distance\_get}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_distance\_get()}{eina\_vector2\_distance\_get()}}
{\footnotesize\ttfamily static double eina\+\_\+vector2\+\_\+distance\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{a,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Return the distance between of two vectors. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em a} & The first vector. \\
\hline
\mbox{\texttt{ in}}  & {\em b} & The second vector. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The distance.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga9a96d5f73a222b35329e17e15c4312d0}\label{group__Eina__Vector2_ga9a96d5f73a222b35329e17e15c4312d0}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_distance\_square\_get@{eina\_vector2\_distance\_square\_get}}
\index{eina\_vector2\_distance\_square\_get@{eina\_vector2\_distance\_square\_get}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_distance\_square\_get()}{eina\_vector2\_distance\_square\_get()}}
{\footnotesize\ttfamily static double eina\+\_\+vector2\+\_\+distance\+\_\+square\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{a,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Return the distance in square between of two vectors. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em a} & The first vector. \\
\hline
\mbox{\texttt{ in}}  & {\em b} & The second vector. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The distance in square.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga0a9192aff21abd1306e74efc9ea4c940}\label{group__Eina__Vector2_ga0a9192aff21abd1306e74efc9ea4c940}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_normalize@{eina\_vector2\_normalize}}
\index{eina\_vector2\_normalize@{eina\_vector2\_normalize}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_normalize()}{eina\_vector2\_normalize()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+normalize (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



normalize vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The vector for normalize.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_gaab36c2dccdb9e6a78872d6f4169290f3}\label{group__Eina__Vector2_gaab36c2dccdb9e6a78872d6f4169290f3}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_transform@{eina\_vector2\_transform}}
\index{eina\_vector2\_transform@{eina\_vector2\_transform}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_transform()}{eina\_vector2\_transform()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+transform (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{structEina__Matrix2}{Eina\+\_\+\+Matrix2}} $\ast$}]{m,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Transform vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em m} & The matrix for transform. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The vector for transform.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga56fbeafe7f42fa04443b8442fc38d539}\label{group__Eina__Vector2_ga56fbeafe7f42fa04443b8442fc38d539}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_homogeneous\_position\_transform@{eina\_vector2\_homogeneous\_position\_transform}}
\index{eina\_vector2\_homogeneous\_position\_transform@{eina\_vector2\_homogeneous\_position\_transform}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_homogeneous\_position\_transform()}{eina\_vector2\_homogeneous\_position\_transform()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+homogeneous\+\_\+position\+\_\+transform (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{group__Eina__Matrix3__Group_ga8c3fb1203ec3bcfdcde63d76caedc375}{Eina\+\_\+\+Matrix3}} $\ast$}]{m,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Homogeneous position transform vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em m} & The matrix for transform. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The vector for transform.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Vector2_ga664bc9c76e55fa30fefe15caef744007}\label{group__Eina__Vector2_ga664bc9c76e55fa30fefe15caef744007}} 
\index{Floating point vectors in 2D@{Floating point vectors in 2D}!eina\_vector2\_homogeneous\_direction\_transform@{eina\_vector2\_homogeneous\_direction\_transform}}
\index{eina\_vector2\_homogeneous\_direction\_transform@{eina\_vector2\_homogeneous\_direction\_transform}!Floating point vectors in 2D@{Floating point vectors in 2D}}
\doxysubsubsection{\texorpdfstring{eina\_vector2\_homogeneous\_direction\_transform()}{eina\_vector2\_homogeneous\_direction\_transform()}}
{\footnotesize\ttfamily static void eina\+\_\+vector2\+\_\+homogeneous\+\_\+direction\+\_\+transform (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{out,  }\item[{const \mbox{\hyperlink{group__Eina__Matrix3__Group_ga8c3fb1203ec3bcfdcde63d76caedc375}{Eina\+\_\+\+Matrix3}} $\ast$}]{m,  }\item[{const \mbox{\hyperlink{struct__Eina__Vector2}{Eina\+\_\+\+Vector2}} $\ast$}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Homogeneous direction transform vector. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ out}}  & {\em out} & The resulting vector. \\
\hline
\mbox{\texttt{ in}}  & {\em m} & The matrix for transform. \\
\hline
\mbox{\texttt{ in}}  & {\em v} & The vector for transform.\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+17 
\end{DoxySince}
