MeshLib
 
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:589
MRMESH_API bool relax(Mesh &mesh, const MeshRelaxParams &params={}, ProgressCallback cb={})
bool relaxKeepArea(Polyline< V > &polyline, const RelaxParams &params={}, ProgressCallback cb={})
Definition MRCameraOrientationPlugin.h:7
Definition MRPolyline.h:18
Definition MRRelaxParams.h:11