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


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

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08424_a331e9c8f2939c95852d241ba0e27b288}\label{a08424_a331e9c8f2939c95852d241ba0e27b288}} 
typedef \hyperlink{a08448}{VectorT}$<$ Scalar, 3 $>$ {\bfseries Vec3}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08424_a2b95db3a078fa3c5937e35900a2e5672}\label{a08424_a2b95db3a078fa3c5937e35900a2e5672}} 
\hyperlink{a08424_a2b95db3a078fa3c5937e35900a2e5672}{Normal\+ConeT} ()
\begin{DoxyCompactList}\small\item\em default constructor (not initialized) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08424_a53c15696a4f1069ed3b934cd3d297853}\label{a08424_a53c15696a4f1069ed3b934cd3d297853}} 
\hyperlink{a08424_a53c15696a4f1069ed3b934cd3d297853}{Normal\+ConeT} (const \hyperlink{a08448}{Vec3} \&\+\_\+center\+\_\+normal, Scalar \+\_\+angle=0.\+0)
\begin{DoxyCompactList}\small\item\em Initialize cone with center (unit vector) and angle (radius in radians) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08424_ac89da0896ee65f3f72fea6eee6c2ef4b}\label{a08424_ac89da0896ee65f3f72fea6eee6c2ef4b}} 
Scalar \hyperlink{a08424_ac89da0896ee65f3f72fea6eee6c2ef4b}{max\+\_\+angle} (const \hyperlink{a08448}{Vec3} \&) const
\begin{DoxyCompactList}\small\item\em return max. distance (radians) unit vector to cone (distant side) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08424_a9f20f95c19f579934d5c6f5fec7f0306}\label{a08424_a9f20f95c19f579934d5c6f5fec7f0306}} 
Scalar \hyperlink{a08424_a9f20f95c19f579934d5c6f5fec7f0306}{max\+\_\+angle} (const \hyperlink{a08424}{Normal\+ConeT} \&) const
\begin{DoxyCompactList}\small\item\em return max. distance (radians) cone to cone (distant sides) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08424_a6fd9ba88a9b0049a91429a87c73862ec}\label{a08424_a6fd9ba88a9b0049a91429a87c73862ec}} 
void \hyperlink{a08424_a6fd9ba88a9b0049a91429a87c73862ec}{merge} (const \hyperlink{a08424}{Normal\+ConeT} \&)
\begin{DoxyCompactList}\small\item\em merge \+\_\+cone; this instance will then enclose both former cones \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08424_ac338092bc6fa9d464e86f88580b9e804}\label{a08424_ac338092bc6fa9d464e86f88580b9e804}} 
const \hyperlink{a08448}{Vec3} \& \hyperlink{a08424_ac338092bc6fa9d464e86f88580b9e804}{center\+\_\+normal} () const
\begin{DoxyCompactList}\small\item\em returns center normal \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08424_a4c04d62eb06cbb538a752684c60cb7d6}\label{a08424_a4c04d62eb06cbb538a752684c60cb7d6}} 
Scalar \hyperlink{a08424_a4c04d62eb06cbb538a752684c60cb7d6}{angle} () const
\begin{DoxyCompactList}\small\item\em returns size of cone (radius in radians) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08424_a33ffcf067ef2f41c2da66233c294a2e6}\label{a08424_a33ffcf067ef2f41c2da66233c294a2e6}} 
\hyperlink{a08448}{Vec3} {\bfseries center\+\_\+normal\+\_\+}
\item 
\mbox{\Hypertarget{a08424_a49d6f8fe0b71f9ed942cecf661b6a77e}\label{a08424_a49d6f8fe0b71f9ed942cecf661b6a77e}} 
Scalar {\bfseries angle\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Scalar$>$\newline
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 81 of file Normal\+Cone\+T.\+hh.



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