\hypertarget{a10252}{}\section{Boundary\+SnappingT$<$ MeshT $>$ Class Template Reference}
\label{a10252}\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 
\mbox{\Hypertarget{a10252_a3043c5486a94acf25abd6b50f1d64112}\label{a10252_a3043c5486a94acf25abd6b50f1d64112}} 
{\bfseries Boundary\+SnappingT} (MeshT \&\+\_\+mesh)
\item 
void \hyperlink{a10252_a107c066ceb5ba8b57451fc524ea425b9}{snap} (double \+\_\+epsilon)
\begin{DoxyCompactList}\small\item\em snaps boundary vertices \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10252_ad304e5280a10e16e1ac0556347ea802f}\label{a10252_ad304e5280a10e16e1ac0556347ea802f}} 
MeshT \& {\bfseries mesh\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class MeshT$>$\newline
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}
\mbox{\Hypertarget{a10252_a107c066ceb5ba8b57451fc524ea425b9}\label{a10252_a107c066ceb5ba8b57451fc524ea425b9}} 
\index{Boundary\+SnappingT@{Boundary\+SnappingT}!snap@{snap}}
\index{snap@{snap}!Boundary\+SnappingT@{Boundary\+SnappingT}}
\subsubsection{\texorpdfstring{snap()}{snap()}}
{\footnotesize\ttfamily template$<$class MeshT $>$ \\
void \hyperlink{a10252}{Boundary\+SnappingT}$<$ MeshT $>$\+::snap (\begin{DoxyParamCaption}\item[{double}]{\+\_\+epsilon }\end{DoxyParamCaption})}



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\+\_\+impl.\+hh.



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/Boundary\+Snapping\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
