\hypertarget{a00365}{\section{Boundary\+Snapping\+T$<$ Mesh\+T $>$ Class Template Reference}
\label{a00365}\index{Boundary\+Snapping\+T$<$ Mesh\+T $>$@{Boundary\+Snapping\+T$<$ Mesh\+T $>$}}
}


Snaps selected vertices at boundaries.  




{\ttfamily \#include $<$Plugin-\/\+Mesh\+Repair/\+Boundary\+Snapping\+T.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00365_a3043c5486a94acf25abd6b50f1d64112}{{\bfseries Boundary\+Snapping\+T} (Mesh\+T \&\+\_\+mesh)}\label{a00365_a3043c5486a94acf25abd6b50f1d64112}

\item 
void \hyperlink{a00365_a107c066ceb5ba8b57451fc524ea425b9}{snap} (double \+\_\+epsilon)
\begin{DoxyCompactList}\small\item\em snaps boundary vertices \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00365_ad304e5280a10e16e1ac0556347ea802f}{Mesh\+T \& {\bfseries mesh\+\_\+}}\label{a00365_ad304e5280a10e16e1ac0556347ea802f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Mesh\+T$>$class Boundary\+Snapping\+T$<$ Mesh\+T $>$}

Snaps selected vertices at boundaries. 

Snaps selected boundary vertices together if they are closer than the given distance. No new vertices will be introduced on either edge, so they are just snapped to existing ones.

If vertices in the interior are selected, they will also get snapped to the opposite boundary, if in range. 

Definition at line 75 of file Boundary\+Snapping\+T.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00365_a107c066ceb5ba8b57451fc524ea425b9}{\index{Boundary\+Snapping\+T@{Boundary\+Snapping\+T}!snap@{snap}}
\index{snap@{snap}!Boundary\+Snapping\+T@{Boundary\+Snapping\+T}}
\subsubsection[{snap}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh\+T $>$ void {\bf Boundary\+Snapping\+T}$<$ Mesh\+T $>$\+::snap (
\begin{DoxyParamCaption}
\item[{double}]{\+\_\+epsilon}
\end{DoxyParamCaption}
)}}\label{a00365_a107c066ceb5ba8b57451fc524ea425b9}


snaps boundary vertices 

snaps selected boundary vertices where the vertices distance is not greater than the given distance


\begin{DoxyParams}{Parameters}
{\em \+\_\+epsilon} & max Distance between 2 boundary vertices \\
\hline
\end{DoxyParams}


Definition at line 84 of file Boundary\+Snapping\+T.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Mesh\+Repair/Boundary\+Snapping\+T.\+hh\item 
Plugin-\/\+Mesh\+Repair/\hyperlink{a02829}{Boundary\+Snapping\+T.\+cc}\end{DoxyCompactItemize}
