#include <Smoothing.h>
Public Member Functions | |
MeshSmoothing (MeshKernel &) | |
void | Smooth (unsigned int) |
Smooth the triangle mesh. | |
virtual | ~MeshSmoothing () |
Definition at line 64 of file Smoothing.h.
MeshSmoothing::MeshSmoothing | ( | MeshKernel & | m | ) |
Definition at line 53 of file Smoothing.cpp.
MeshSmoothing::~MeshSmoothing | ( | ) | [virtual] |
Definition at line 58 of file Smoothing.cpp.
void MeshSmoothing::Smooth | ( | unsigned | int | ) | [virtual] |
Smooth the triangle mesh.
Implements MeshCore::AbstractSmoothing.
Definition at line 62 of file Smoothing.cpp.
References MeshCore::Approximation::AddPoint(), MeshCore::MeshPointIterator::Begin(), RobotExampleTrajectoryOutOfShapes::count, MeshCore::MeshKernel::CountPoints(), MeshCore::PlaneFit::Fit(), MeshCore::PlaneFit::GetNormal(), MeshCore::MeshKernel::GetPoints(), MeshCore::AbstractSmoothing::kernel, MeshCore::MeshPointIterator::More(), MeshCore::MeshPointIterator::Next(), Base::Vector3< _Precision >::Normalize(), MeshCore::MeshPointIterator::Position(), Base::Vector3< _Precision >::Scale(), scale, Base::Vector3< _Precision >::Set(), MeshCore::MeshKernel::SetPoint(), MeshCore::AbstractSmoothing::tolerance, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.