\hypertarget{a01466}{}\section{Open\+Flipper/libs\+\_\+required/\+Mesh\+Tools/\+Curvature.hh File Reference}
\label{a01466}\index{Open\+Flipper/libs\+\_\+required/\+Mesh\+Tools/\+Curvature.\+hh@{Open\+Flipper/libs\+\_\+required/\+Mesh\+Tools/\+Curvature.\+hh}}


Functions for calculating curvatures.  


{\ttfamily \#include $<$vector$>$}\newline
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename MeshT $>$ }\\double \hyperlink{a01466_a2c2c659623589ab270cdbf25e1d68aa2}{curvature\+::gauss\+\_\+curvature} (MeshT \&\+\_\+mesh, const typename Mesh\+T\+::\+Vertex\+Handle \&\+\_\+vh)
\item 
{\footnotesize template$<$class MeshT , class VectorT , class R\+E\+A\+LT $>$ }\\void \hyperlink{a01466_a8948e9dda85a442faf5f8ee1fcbd663a}{curvature\+::discrete\+\_\+mean\+\_\+curv\+\_\+op} (const MeshT \&\+\_\+m, const typename Mesh\+T\+::\+Vertex\+Handle \&\+\_\+vh, \hyperlink{a12072}{VectorT} \&\+\_\+n, R\+E\+A\+LT \&\+\_\+area)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions for calculating curvatures. 



\subsection{Function Documentation}
\mbox{\Hypertarget{a01466_file_a8948e9dda85a442faf5f8ee1fcbd663a}\label{a01466_file_a8948e9dda85a442faf5f8ee1fcbd663a}} 
\index{Curvature.\+hh@{Curvature.\+hh}!discrete\+\_\+mean\+\_\+curv\+\_\+op@{discrete\+\_\+mean\+\_\+curv\+\_\+op}}
\index{discrete\+\_\+mean\+\_\+curv\+\_\+op@{discrete\+\_\+mean\+\_\+curv\+\_\+op}!Curvature.\+hh@{Curvature.\+hh}}
\subsubsection{\texorpdfstring{discrete\+\_\+mean\+\_\+curv\+\_\+op()}{discrete\_mean\_curv\_op()}}
{\footnotesize\ttfamily template$<$class MeshT , class VectorT , class R\+E\+A\+LT $>$ \\
void curvature\+::discrete\+\_\+mean\+\_\+curv\+\_\+op (\begin{DoxyParamCaption}\item[{const MeshT \&}]{\+\_\+m,  }\item[{const typename Mesh\+T\+::\+Vertex\+Handle \&}]{\+\_\+vh,  }\item[{\hyperlink{a12072}{VectorT} \&}]{\+\_\+n,  }\item[{R\+E\+A\+LT \&}]{\+\_\+area }\end{DoxyParamCaption})}

Mean Curvature Normal Operator warning\+: if mean curvature $<$ 0 \+\_\+n points to the inside warning\+: if mean curvature = 0 -\/$>$ no normal information 
\begin{DoxyParams}{Parameters}
{\em \+\_\+n} & mean\+\_\+curvature(vit)$\ast$n(vit) \\
\hline
{\em \+\_\+area} & global vertex area \\
\hline
\end{DoxyParams}


Definition at line 115 of file Curvature\+T\+\_\+impl.\+hh.

\mbox{\Hypertarget{a01466_file_a2c2c659623589ab270cdbf25e1d68aa2}\label{a01466_file_a2c2c659623589ab270cdbf25e1d68aa2}} 
\index{Curvature.\+hh@{Curvature.\+hh}!gauss\+\_\+curvature@{gauss\+\_\+curvature}}
\index{gauss\+\_\+curvature@{gauss\+\_\+curvature}!Curvature.\+hh@{Curvature.\+hh}}
\subsubsection{\texorpdfstring{gauss\+\_\+curvature()}{gauss\_curvature()}}
{\footnotesize\ttfamily template$<$typename MeshT $>$ \\
double curvature\+::gauss\+\_\+curvature (\begin{DoxyParamCaption}\item[{MeshT \&}]{\+\_\+mesh,  }\item[{const typename Mesh\+T\+::\+Vertex\+Handle \&}]{\+\_\+vh }\end{DoxyParamCaption})}

compute consistent dirscrete gaussian curvature (vertex is a small sphere patch, edges are small cylinders)

compute consistent discrete gaussian curvature (vertex is a small sphere patch, edges are small cylinders) 

Definition at line 75 of file Curvature\+T\+\_\+impl.\+hh.

