\hypertarget{structSPL_1_1Quaternion}{}\section{S\+P\+L\+:\+:Quaternion$<$ T $>$ Struct Template Reference}
\label{structSPL_1_1Quaternion}\index{S\+P\+L\+::\+Quaternion$<$ T $>$@{S\+P\+L\+::\+Quaternion$<$ T $>$}}


A quaternion represented in terms of its scalar and vector parts.  




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

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef T\+::\+F\+T \hyperlink{structSPL_1_1Quaternion_a34949a624c16b5864a27b92f50cad4eb}{Real}
\begin{DoxyCompactList}\small\item\em The field type for the C\+G\+A\+L kernel. \end{DoxyCompactList}\item 
typedef C\+G\+A\+L\+::\+Vector\+\_\+3$<$ T $>$ \hyperlink{structSPL_1_1Quaternion_a068da8036d38150bb1d1171bc72a00be}{Vector\+\_\+3}
\begin{DoxyCompactList}\small\item\em The 3-\/dimensional vector type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structSPL_1_1Quaternion_a6a51d94ab845d89688deca9be499f18d}{Quaternion} ()
\item 
\hyperlink{structSPL_1_1Quaternion_a4764762e8de3b4f640b2670add466f26}{Quaternion} (\hyperlink{structSPL_1_1Quaternion_a34949a624c16b5864a27b92f50cad4eb}{Real} scalar\+\_\+, const \hyperlink{structSPL_1_1Quaternion_a068da8036d38150bb1d1171bc72a00be}{Vector\+\_\+3} \&vector\+\_\+)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structSPL_1_1Quaternion_a34949a624c16b5864a27b92f50cad4eb}{Real} \hyperlink{structSPL_1_1Quaternion_a664cab3e226e1c15ef8c548da8c352ff}{scalar}
\begin{DoxyCompactList}\small\item\em The scalar part of the quaternion. \end{DoxyCompactList}\item 
\hyperlink{structSPL_1_1Quaternion_a068da8036d38150bb1d1171bc72a00be}{Vector\+\_\+3} \hyperlink{structSPL_1_1Quaternion_a4ea6aec6bcd2ae7f97457b3b99353106}{vector}
\begin{DoxyCompactList}\small\item\em The vector part of the quaternion. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$struct S\+P\+L\+::\+Quaternion$<$ T $>$}

A quaternion represented in terms of its scalar and vector parts. 

\subsection{Member Typedef Documentation}
\hypertarget{structSPL_1_1Quaternion_a34949a624c16b5864a27b92f50cad4eb}{}\index{S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}!Real@{Real}}
\index{Real@{Real}!S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}}
\subsubsection[{Real}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ typedef T\+::\+F\+T {\bf S\+P\+L\+::\+Quaternion}$<$ T $>$\+::{\bf Real}}\label{structSPL_1_1Quaternion_a34949a624c16b5864a27b92f50cad4eb}


The field type for the C\+G\+A\+L kernel. 

\hypertarget{structSPL_1_1Quaternion_a068da8036d38150bb1d1171bc72a00be}{}\index{S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}!Vector\+\_\+3@{Vector\+\_\+3}}
\index{Vector\+\_\+3@{Vector\+\_\+3}!S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}}
\subsubsection[{Vector\+\_\+3}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ typedef C\+G\+A\+L\+::\+Vector\+\_\+3$<$T$>$ {\bf S\+P\+L\+::\+Quaternion}$<$ T $>$\+::{\bf Vector\+\_\+3}}\label{structSPL_1_1Quaternion_a068da8036d38150bb1d1171bc72a00be}


The 3-\/dimensional vector type. 



\subsection{Constructor \& Destructor Documentation}
\hypertarget{structSPL_1_1Quaternion_a6a51d94ab845d89688deca9be499f18d}{}\index{S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}!Quaternion@{Quaternion}}
\index{Quaternion@{Quaternion}!S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}}
\subsubsection[{Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf S\+P\+L\+::\+Quaternion}$<$ T $>$\+::{\bf Quaternion} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{structSPL_1_1Quaternion_a6a51d94ab845d89688deca9be499f18d}
Create a quaternion. \hypertarget{structSPL_1_1Quaternion_a4764762e8de3b4f640b2670add466f26}{}\index{S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}!Quaternion@{Quaternion}}
\index{Quaternion@{Quaternion}!S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}}
\subsubsection[{Quaternion}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf S\+P\+L\+::\+Quaternion}$<$ T $>$\+::{\bf Quaternion} (
\begin{DoxyParamCaption}
\item[{{\bf Real}}]{scalar\+\_\+, }
\item[{const {\bf Vector\+\_\+3} \&}]{vector\+\_\+}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{structSPL_1_1Quaternion_a4764762e8de3b4f640b2670add466f26}
Create a quaternion with the specified scalar and vector parts. 

\subsection{Member Data Documentation}
\hypertarget{structSPL_1_1Quaternion_a664cab3e226e1c15ef8c548da8c352ff}{}\index{S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}!scalar@{scalar}}
\index{scalar@{scalar}!S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}}
\subsubsection[{scalar}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Real} {\bf S\+P\+L\+::\+Quaternion}$<$ T $>$\+::scalar}\label{structSPL_1_1Quaternion_a664cab3e226e1c15ef8c548da8c352ff}


The scalar part of the quaternion. 

\hypertarget{structSPL_1_1Quaternion_a4ea6aec6bcd2ae7f97457b3b99353106}{}\index{S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}!vector@{vector}}
\index{vector@{vector}!S\+P\+L\+::\+Quaternion@{S\+P\+L\+::\+Quaternion}}
\subsubsection[{vector}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ {\bf Vector\+\_\+3} {\bf S\+P\+L\+::\+Quaternion}$<$ T $>$\+::vector}\label{structSPL_1_1Quaternion_a4ea6aec6bcd2ae7f97457b3b99353106}


The vector part of the quaternion. 



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{cgalUtil_8hpp}{cgal\+Util.\+hpp}\end{DoxyCompactItemize}
