MeshLib Documentation
Loading...
Searching...
No Matches
MRPolylineRelax.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
4#include "MRRelaxParams.h"
5
6namespace MR
7{
8
11
14template<typename V>
15bool relax( Polyline<V>& polyline, const RelaxParams& params = {}, ProgressCallback cb = {} );
16
20template<typename V>
21bool relaxKeepArea( Polyline<V>& polyline, const RelaxParams& params = {}, ProgressCallback cb = {} );
22
24
25} // namespace MR
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
MRMESH_API bool relax(Mesh &mesh, const MeshRelaxParams &params={}, ProgressCallback cb={})
bool relaxKeepArea(Polyline< V > &polyline, const RelaxParams &params={}, ProgressCallback cb={})
Definition MRCameraOrientationPlugin.h:8
Definition MRPolyline.h:18
Definition MRRelaxParams.h:12