MeshLib Documentation
Loading...
Searching...
No Matches
MRPolylineDecimate.h File Reference
#include "MRMeshFwd.h"
#include <cfloat>
#include <climits>
#include <functional>

Go to the source code of this file.

Classes

struct  MR::DecimatePolylineSettings< V >
 Parameters structure for MR::decimatePolyline. More...
 
struct  MR::DecimatePolylineResult
 Results of MR::decimateContour. More...
 

Namespaces

namespace  MR
 

Typedefs

using MR::DecimatePolylineSettings2 = DecimatePolylineSettings<Vector2f>
 
using MR::DecimatePolylineSettings3 = DecimatePolylineSettings<Vector3f>
 

Functions

MRMESH_API DecimatePolylineResult MR::decimatePolyline (Polyline2 &polyline, const DecimatePolylineSettings2 &settings={})
 Collapse edges in the polyline according to the settings.
 
MRMESH_API DecimatePolylineResult MR::decimatePolyline (Polyline3 &polyline, const DecimatePolylineSettings3 &settings={})
 
MRMESH_API DecimatePolylineResult MR::decimateContour (Contour2f &contour, const DecimatePolylineSettings2 &settings={})
 Collapse edges in the contour according to the settings.
 
MRMESH_API DecimatePolylineResult MR::decimateContour (Contour3f &contour, const DecimatePolylineSettings3 &settings={})