MeshLib Documentation
Loading...
Searching...
No Matches
Polyline

Classes

struct  MR::Polyline< V >
 
class  MR::PolylineUndirectedEdgeIterator
 
class  MR::PolylineTopology
 

Functions

template<typename V >
bool MR::relax (Polyline< V > &polyline, const RelaxParams &params={}, ProgressCallback cb={})
 
template<typename V >
bool MR::relaxKeepArea (Polyline< V > &polyline, const RelaxParams &params={}, ProgressCallback cb={})
 

Detailed Description

Function Documentation

◆ relax()

template<typename V >
bool MR::relax ( Polyline< V > & polyline,
const RelaxParams & params = {},
ProgressCallback cb = {} )

applies given number of relaxation iterations to the whole polyline ( or some region if it is specified )

Returns
true if was finished successfully, false if was interrupted by progress callback

◆ relaxKeepArea()

template<typename V >
bool MR::relaxKeepArea ( Polyline< V > & polyline,
const RelaxParams & params = {},
ProgressCallback cb = {} )

applies given number of relaxation iterations to the whole polyline ( or some region if it is specified ) do not really keeps area but tries hard

Returns
true if was finished successfully, false if was interrupted by progress callback