Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
BoundarySnappingT< MeshT > Class Template Reference

Snaps selected vertices at boundaries. More...

#include <Plugin-MeshRepair/BoundarySnappingT.hh>

Public Member Functions

 BoundarySnappingT (MeshT &_mesh)
 
void snap (double _epsilon)
 snaps boundary vertices More...
 

Private Attributes

MeshT & mesh_
 

Detailed Description

template<class MeshT>
class BoundarySnappingT< MeshT >

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 BoundarySnappingT.hh.

Member Function Documentation

template<class MeshT >
void BoundarySnappingT< MeshT >::snap ( double  _epsilon)

snaps boundary vertices

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

Parameters
_epsilonmax Distance between 2 boundary vertices

Definition at line 84 of file BoundarySnappingT.cc.


The documentation for this class was generated from the following files: