| 322 | } |
| 323 | |
| 324 | Expected<void> compensateRadius( Mesh& mesh, const CompensateRadiusParams& params ) |
| 325 | { |
| 326 | MR_TIMER; |
| 327 | |
| 328 | auto c = RadiusCompensator( mesh, params ); |
| 329 | |
| 330 | auto res = c.init(); |
| 331 | if ( !res.has_value() ) |
| 332 | return res; |
| 333 | |
| 334 | res = c.calcCompensations(); |
| 335 | if ( !res.has_value() ) |
| 336 | return res; |
| 337 | |
| 338 | res = c.filterCompensations(); |
| 339 | if ( !res.has_value() ) |
| 340 | return res; |
| 341 | |
| 342 | return res = c.applyCompensation(); |
| 343 | } |
| 344 | |
| 345 | } |
nothing calls this directly
no test coverage detected