\hypertarget{a00886}{\section{Open\+Mesh\+:\+:Normal\+Cone\+T$<$ Scalar $>$ Class Template Reference}
\label{a00886}\index{Open\+Mesh\+::\+Normal\+Cone\+T$<$ Scalar $>$@{Open\+Mesh\+::\+Normal\+Cone\+T$<$ Scalar $>$}}
}


{\ttfamily \#include $<$libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+Geometry/\+Normal\+Cone\+T.\+hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00886_a331e9c8f2939c95852d241ba0e27b288}{typedef \hyperlink{a01409}{Vector\+T}$<$ Scalar, 3 $>$ {\bfseries Vec3}}\label{a00886_a331e9c8f2939c95852d241ba0e27b288}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00886_a2b95db3a078fa3c5937e35900a2e5672}{\hyperlink{a00886_a2b95db3a078fa3c5937e35900a2e5672}{Normal\+Cone\+T} ()}\label{a00886_a2b95db3a078fa3c5937e35900a2e5672}

\begin{DoxyCompactList}\small\item\em default constructor (not initialized) \end{DoxyCompactList}\item 
\hypertarget{a00886_a53c15696a4f1069ed3b934cd3d297853}{\hyperlink{a00886_a53c15696a4f1069ed3b934cd3d297853}{Normal\+Cone\+T} (const \hyperlink{a01409}{Vec3} \&\+\_\+center\+\_\+normal, Scalar \+\_\+angle=0.\+0)}\label{a00886_a53c15696a4f1069ed3b934cd3d297853}

\begin{DoxyCompactList}\small\item\em Initialize cone with center (unit vector) and angle (radius in radians) \end{DoxyCompactList}\item 
\hypertarget{a00886_ab5026b4a5db7a2bf6a795544081c93b2}{Scalar \hyperlink{a00886_ab5026b4a5db7a2bf6a795544081c93b2}{max\+\_\+angle} (const \hyperlink{a01409}{Vec3} \&) const }\label{a00886_ab5026b4a5db7a2bf6a795544081c93b2}

\begin{DoxyCompactList}\small\item\em return max. distance (radians) unit vector to cone (distant side) \end{DoxyCompactList}\item 
\hypertarget{a00886_a0634eb78ca82616573d989f2bfafde9e}{Scalar \hyperlink{a00886_a0634eb78ca82616573d989f2bfafde9e}{max\+\_\+angle} (const \hyperlink{a00886}{Normal\+Cone\+T} \&) const }\label{a00886_a0634eb78ca82616573d989f2bfafde9e}

\begin{DoxyCompactList}\small\item\em return max. distance (radians) cone to cone (distant sides) \end{DoxyCompactList}\item 
\hypertarget{a00886_a6fd9ba88a9b0049a91429a87c73862ec}{void \hyperlink{a00886_a6fd9ba88a9b0049a91429a87c73862ec}{merge} (const \hyperlink{a00886}{Normal\+Cone\+T} \&)}\label{a00886_a6fd9ba88a9b0049a91429a87c73862ec}

\begin{DoxyCompactList}\small\item\em merge \+\_\+cone; this instance will then enclose both former cones \end{DoxyCompactList}\item 
\hypertarget{a00886_a19af98981b8a70c237f310a33b6d786e}{const \hyperlink{a01409}{Vec3} \& \hyperlink{a00886_a19af98981b8a70c237f310a33b6d786e}{center\+\_\+normal} () const }\label{a00886_a19af98981b8a70c237f310a33b6d786e}

\begin{DoxyCompactList}\small\item\em returns center normal \end{DoxyCompactList}\item 
\hypertarget{a00886_ad9495676461cac88ac967efac0231743}{Scalar \hyperlink{a00886_ad9495676461cac88ac967efac0231743}{angle} () const }\label{a00886_ad9495676461cac88ac967efac0231743}

\begin{DoxyCompactList}\small\item\em returns size of cone (radius in radians) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00886_a33ffcf067ef2f41c2da66233c294a2e6}{\hyperlink{a01409}{Vec3} {\bfseries center\+\_\+normal\+\_\+}}\label{a00886_a33ffcf067ef2f41c2da66233c294a2e6}

\item 
\hypertarget{a00886_a49d6f8fe0b71f9ed942cecf661b6a77e}{Scalar {\bfseries angle\+\_\+}}\label{a00886_a49d6f8fe0b71f9ed942cecf661b6a77e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Scalar$>$class Open\+Mesh\+::\+Normal\+Cone\+T$<$ Scalar $>$}

/class Normal\+Cone Normal\+Cone.\+hh $<$A\+C\+G/\+Geometry/\+Types/\+Normal\+Cone.\+hh$>$

Normal\+Cone that can be merged with other normal cones. Provides the center normal and the opening angle. 

Definition at line 86 of file Normal\+Cone\+T.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+Geometry/Normal\+Cone\+T.\+hh\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+Geometry/Normal\+Cone\+T.\+cc\end{DoxyCompactItemize}
