MeshCore::LaplaceSmoothing Class Reference

#include <Smoothing.h>

Public Member Functions

 LaplaceSmoothing (MeshKernel &)
 
void SetLambda (double l)
 
void Smooth (unsigned int)
 Smooth the triangle mesh. More...
 
void SmoothPoints (unsigned int, const std::vector< PointIndex > &)
 
virtual ~LaplaceSmoothing ()
 
- Public Member Functions inherited from MeshCore::AbstractSmoothing
 AbstractSmoothing (MeshKernel &)
 
void initialize (Component comp, Continuity cont)
 
virtual void Smooth (unsigned int)=0
 Smooth the triangle mesh. More...
 
virtual void SmoothPoints (unsigned int, const std::vector< PointIndex > &)=0
 
virtual ~AbstractSmoothing ()
 

Protected Member Functions

void Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double)
 
void Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double, const std::vector< PointIndex > &)
 

Protected Attributes

double lambda
 
- Protected Attributes inherited from MeshCore::AbstractSmoothing
Component component
 
Continuity continuity
 
MeshKernelkernel
 
float tolerance
 

Additional Inherited Members

- Public Types inherited from MeshCore::AbstractSmoothing
enum  Component { Tangential , Normal , TangentialNormal }
 
enum  Continuity { C0 , C1 , C2 }
 

Constructor & Destructor Documentation

◆ LaplaceSmoothing()

LaplaceSmoothing::LaplaceSmoothing ( MeshKernel m)

◆ ~LaplaceSmoothing()

LaplaceSmoothing::~LaplaceSmoothing ( )
virtual

Member Function Documentation

◆ SetLambda()

void MeshCore::LaplaceSmoothing::SetLambda ( double  l)

◆ Smooth()

void LaplaceSmoothing::Smooth ( unsigned int  )
virtual

◆ SmoothPoints()

void LaplaceSmoothing::SmoothPoints ( unsigned int  iterations,
const std::vector< PointIndex > &  point_indices 
)
virtual

◆ Umbrella() [1/2]

◆ Umbrella() [2/2]

void LaplaceSmoothing::Umbrella ( const MeshRefPointToPoints vv_it,
const MeshRefPointToFacets vf_it,
double  stepsize,
const std::vector< PointIndex > &  point_indices 
)
protected

Member Data Documentation

◆ lambda

double MeshCore::LaplaceSmoothing::lambda
protected

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