\hypertarget{cgalUtil_8hpp}{}\section{cgal\+Util.\+hpp File Reference}
\label{cgalUtil_8hpp}\index{cgal\+Util.\+hpp@{cgal\+Util.\+hpp}}


This file contains various C\+G\+A\+L utility code.  


{\ttfamily \#include $<$S\+P\+L/config.\+hpp$>$}\\*
{\ttfamily \#include $<$S\+P\+L/math.\+hpp$>$}\\*
{\ttfamily \#include $<$cmath$>$}\\*
{\ttfamily \#include $<$C\+G\+A\+L/\+Cartesian.\+h$>$}\\*
{\ttfamily \#include $<$C\+G\+A\+L/\+Vector\+\_\+3.\+h$>$}\\*
{\ttfamily \#include $<$C\+G\+A\+L/\+Point\+\_\+3.\+h$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structSPL_1_1Rotation__3}{S\+P\+L\+::\+Rotation\+\_\+3$<$ T $>$}
\begin{DoxyCompactList}\small\item\em A 3-\/\+D rotation. \end{DoxyCompactList}\item 
struct \hyperlink{structSPL_1_1Quaternion}{S\+P\+L\+::\+Quaternion$<$ T $>$}
\begin{DoxyCompactList}\small\item\em A quaternion represented in terms of its scalar and vector parts. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class T $>$ }\\T\+::\+F\+T \hyperlink{group__CGAL__util_ga07bcbe101812e4dbe50476d7e89abf62}{S\+P\+L\+::norm} (const typename C\+G\+A\+L\+::\+Vector\+\_\+3$<$ T $>$ \&v)
\begin{DoxyCompactList}\small\item\em Compute the norm of a vector. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\T\+::\+Vector\+\_\+3 \hyperlink{group__CGAL__util_ga23d8f1c6bba443c103070a2b3bd56511}{S\+P\+L\+::normalize} (const typename C\+G\+A\+L\+::\+Vector\+\_\+3$<$ T $>$ \&v)
\begin{DoxyCompactList}\small\item\em Compute a unit vector. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\T\+::\+F\+T \hyperlink{group__CGAL__util_ga926726cf1d9a5949774cf184c11e9475}{S\+P\+L\+::angle\+Between\+Vectors} (const typename C\+G\+A\+L\+::\+Vector\+\_\+3$<$ T $>$ \&u, const C\+G\+A\+L\+::\+Vector\+\_\+3$<$ T $>$ \&v)
\begin{DoxyCompactList}\small\item\em Compute the angle between two vectors. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Quaternion$<$ T $>$ \hyperlink{group__CGAL__util_ga32f48b24be03a37dd2bf8cd25a52046f}{S\+P\+L\+::operator$\ast$} (const Quaternion$<$ T $>$ \&q, const Quaternion$<$ T $>$ \&r)
\begin{DoxyCompactList}\small\item\em Compute the product of two quaternions. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Quaternion$<$ T $>$ \hyperlink{group__CGAL__util_gaad03b015bc0c414fad680595c6825e6e}{S\+P\+L\+::operator/} (const Quaternion$<$ T $>$ \&q, const Quaternion$<$ T $>$ \&r)
\begin{DoxyCompactList}\small\item\em Compute the quotient of two quaternions. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Quaternion$<$ T $>$ \hyperlink{group__CGAL__util_ga9cbf34a1ae47efc27552e8dd099bc61b}{S\+P\+L\+::rotation\+To\+Quaternion} (const Rotation\+\_\+3$<$ T $>$ \&rot)
\begin{DoxyCompactList}\small\item\em Convert a rotation into its corresponding quaternion. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\Rotation\+\_\+3$<$ T $>$ \hyperlink{group__CGAL__util_ga674cbb085071599c99b8bdef1ca943ec}{S\+P\+L\+::quaternion\+To\+Rotation} (const Quaternion$<$ T $>$ \&q)
\begin{DoxyCompactList}\small\item\em Convert a unit-\/norm quaternion into its corresponding rotation. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This file contains various C\+G\+A\+L utility code. 

