\hypertarget{classprototypeVec3d}{}\section{prototype\+Vec3d Class Reference}
\label{classprototypeVec3d}\index{prototype\+Vec3d@{prototype\+Vec3d}}


{\ttfamily \#include $<$Open\+Flipper/\+Scripting/script\+Prototypes/prototype\+Vec3d.\+hh$>$}

Inheritance diagram for prototype\+Vec3d\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classprototypeVec3d}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classprototypeVec3d_ad0915433db2ac61ffea135f6f28309bc}{multiply} (Q\+Script\+Value \+\_\+scalar)
\begin{DoxyCompactList}\small\item\em Multiplies the given vector with the scalar. \end{DoxyCompactList}\item 
void \hyperlink{classprototypeVec3d_af9df638c8c34966dd302eee29b18ebfa}{add} (Q\+Script\+Value \+\_\+vector)
\begin{DoxyCompactList}\small\item\em Adds another vector to this vector. \end{DoxyCompactList}\item 
void \hyperlink{classprototypeVec3d_a89d7c7a0f78a52dd323ead06737b953f}{sub} (Q\+Script\+Value \+\_\+vector)
\begin{DoxyCompactList}\small\item\em Subtracts another vector from this vector. \end{DoxyCompactList}\item 
void \hyperlink{classprototypeVec3d_a571d90cdbf156f8388889f6742fbf9fd}{zero} ()
\begin{DoxyCompactList}\small\item\em Resets all components of the vector to zero. \end{DoxyCompactList}\item 
Q\+Script\+Value \hyperlink{classprototypeVec3d_a4cf42b813467a657d719be9926fb17a7}{sprod} (Q\+Script\+Value \+\_\+vector)
\begin{DoxyCompactList}\small\item\em Calculate scalar product. \end{DoxyCompactList}\item 
Q\+Script\+Value \hyperlink{classprototypeVec3d_a865e9e1a7d398b49124dd55743b8e57d}{norm} ()
\begin{DoxyCompactList}\small\item\em Calculate the Euclidean norm of the vector. \end{DoxyCompactList}\item 
Q\+Script\+Value \hyperlink{classprototypeVec3d_a899abb1a26fd93ec117c3669b8949576}{sqrnorm} ()
\begin{DoxyCompactList}\small\item\em Calculate the squared Euclidean norm of the vector. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classprototypeVec3d_a3fabe93e73398f9e2aadcc0e4b7df363}\label{classprototypeVec3d_a3fabe93e73398f9e2aadcc0e4b7df363}} 
void \hyperlink{classprototypeVec3d_a3fabe93e73398f9e2aadcc0e4b7df363}{normalize} ()
\begin{DoxyCompactList}\small\item\em Normalize the vector. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classprototypeVec3d_ab1dc55795d944402007a87d25d81f7de}\label{classprototypeVec3d_ab1dc55795d944402007a87d25d81f7de}} 
Q\+String {\bfseries to\+String} () const
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classprototypeVec3d_adf0c8d78c60e1db09ec504aeba0a468d}\label{classprototypeVec3d_adf0c8d78c60e1db09ec504aeba0a468d}} 
{\bfseries prototype\+Vec3d} (Q\+Object $\ast$parent=0)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class wraps the Vec3d to the scripting language

\hyperlink{scripting_vector_type}{Vector data type for scripting} 

Definition at line 86 of file prototype\+Vec3d.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classprototypeVec3d_af9df638c8c34966dd302eee29b18ebfa}\label{classprototypeVec3d_af9df638c8c34966dd302eee29b18ebfa}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!add@{add}}
\index{add@{add}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{add}{add}}
{\footnotesize\ttfamily void prototype\+Vec3d\+::add (\begin{DoxyParamCaption}\item[{Q\+Script\+Value}]{\+\_\+vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Adds another vector to this vector. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+vector} & Vector that should be added \\
\hline
\end{DoxyParams}


Definition at line 66 of file prototype\+Vec3d.\+cc.

\mbox{\Hypertarget{classprototypeVec3d_ad0915433db2ac61ffea135f6f28309bc}\label{classprototypeVec3d_ad0915433db2ac61ffea135f6f28309bc}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!multiply@{multiply}}
\index{multiply@{multiply}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{multiply}{multiply}}
{\footnotesize\ttfamily void prototype\+Vec3d\+::multiply (\begin{DoxyParamCaption}\item[{Q\+Script\+Value}]{\+\_\+scalar }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Multiplies the given vector with the scalar. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+scalar} & Scalar value that gets multiplied \\
\hline
\end{DoxyParams}


Definition at line 60 of file prototype\+Vec3d.\+cc.

\mbox{\Hypertarget{classprototypeVec3d_a865e9e1a7d398b49124dd55743b8e57d}\label{classprototypeVec3d_a865e9e1a7d398b49124dd55743b8e57d}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!norm@{norm}}
\index{norm@{norm}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{norm}{norm}}
{\footnotesize\ttfamily Q\+Script\+Value prototype\+Vec3d\+::norm (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Calculate the Euclidean norm of the vector. 

\begin{DoxyReturn}{Returns}
Norm of the vector 
\end{DoxyReturn}


Definition at line 92 of file prototype\+Vec3d.\+cc.

\mbox{\Hypertarget{classprototypeVec3d_a4cf42b813467a657d719be9926fb17a7}\label{classprototypeVec3d_a4cf42b813467a657d719be9926fb17a7}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!sprod@{sprod}}
\index{sprod@{sprod}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{sprod}{sprod}}
{\footnotesize\ttfamily Q\+Script\+Value prototype\+Vec3d\+::sprod (\begin{DoxyParamCaption}\item[{Q\+Script\+Value}]{\+\_\+vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Calculate scalar product. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+vector} & Second vector for scalar product (Can be the vector itself) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Scalar product value 
\end{DoxyReturn}


Definition at line 85 of file prototype\+Vec3d.\+cc.

\mbox{\Hypertarget{classprototypeVec3d_a899abb1a26fd93ec117c3669b8949576}\label{classprototypeVec3d_a899abb1a26fd93ec117c3669b8949576}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!sqrnorm@{sqrnorm}}
\index{sqrnorm@{sqrnorm}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{sqrnorm}{sqrnorm}}
{\footnotesize\ttfamily Q\+Script\+Value prototype\+Vec3d\+::sqrnorm (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Calculate the squared Euclidean norm of the vector. 

\begin{DoxyReturn}{Returns}
Squared norm of the vector 
\end{DoxyReturn}


Definition at line 98 of file prototype\+Vec3d.\+cc.

\mbox{\Hypertarget{classprototypeVec3d_a89d7c7a0f78a52dd323ead06737b953f}\label{classprototypeVec3d_a89d7c7a0f78a52dd323ead06737b953f}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!sub@{sub}}
\index{sub@{sub}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{sub}{sub}}
{\footnotesize\ttfamily void prototype\+Vec3d\+::sub (\begin{DoxyParamCaption}\item[{Q\+Script\+Value}]{\+\_\+vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Subtracts another vector from this vector. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+vector} & Vector that should be subtracted \\
\hline
\end{DoxyParams}


Definition at line 73 of file prototype\+Vec3d.\+cc.

\mbox{\Hypertarget{classprototypeVec3d_a571d90cdbf156f8388889f6742fbf9fd}\label{classprototypeVec3d_a571d90cdbf156f8388889f6742fbf9fd}} 
\index{prototype\+Vec3d@{prototype\+Vec3d}!zero@{zero}}
\index{zero@{zero}!prototype\+Vec3d@{prototype\+Vec3d}}
\subsubsection{\texorpdfstring{zero}{zero}}
{\footnotesize\ttfamily void prototype\+Vec3d\+::zero (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Resets all components of the vector to zero. 



Definition at line 79 of file prototype\+Vec3d.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/\+Scripting/script\+Prototypes/prototype\+Vec3d.\+hh\item 
Open\+Flipper/\+Scripting/script\+Prototypes/prototype\+Vec3d.\+cc\end{DoxyCompactItemize}
