MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / decimatePolyline

Function decimatePolyline

source/MRMesh/MRPolylineDecimate.cpp:354–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354DecimatePolylineResult decimatePolyline( MR::Polyline2 & polyline, const DecimatePolylineSettings2 & settings )
355{
356 MR_TIMER;
357 //MR_POLYLINE_WRITER( polyline );
358 PolylineDecimator<Vector2f> md( polyline, settings );
359 return md.run();
360}
361
362DecimatePolylineResult decimatePolyline( MR::Polyline3 & polyline, const DecimatePolylineSettings3 & settings )
363{

Callers 3

TESTFunction · 0.85
decimateContourFunction · 0.85
prepareSlicesFunction · 0.85

Calls 1

runMethod · 0.45

Tested by 1

TESTFunction · 0.68