| 279 | } |
| 280 | |
| 281 | ClipperLib::Paths ClipperHelpers::treeToPaths( |
| 282 | const ClipperLib::PolyTree& tree) { |
| 283 | try { |
| 284 | ClipperLib::Paths paths; |
| 285 | ClipperLib::PolyTreeToPaths(tree, paths); |
| 286 | return paths; |
| 287 | } catch (const std::exception& e) { |
| 288 | throw LogicError( |
| 289 | __FILE__, __LINE__, |
| 290 | QString("Failed to convert clipper tree to paths: %1").arg(e.what())); |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | ClipperLib::Paths ClipperHelpers::flattenTree( |
| 295 | const ClipperLib::PolyNode& node) { |
nothing calls this directly
no test coverage detected