| 156 | } |
| 157 | |
| 158 | void ClipperEngine::extract_boundary_loops() { |
| 159 | Boundary::Ptr bd_extractor_1 = |
| 160 | Boundary::extract_surface_boundary_raw(m_vertices_1, m_faces_1); |
| 161 | Boundary::Ptr bd_extractor_2 = |
| 162 | Boundary::extract_surface_boundary_raw(m_vertices_2, m_faces_2); |
| 163 | |
| 164 | MatrixIr boundary_1 = bd_extractor_1->get_boundaries(); |
| 165 | MatrixIr boundary_2 = bd_extractor_2->get_boundaries(); |
| 166 | |
| 167 | Loops loops_1 = extract_loops(boundary_1); |
| 168 | Loops loops_2 = extract_loops(boundary_2); |
| 169 | |
| 170 | for (const auto& loop : loops_1) { |
| 171 | m_loops_1.push_back(loop_to_path(m_vertices_1, loop)); |
| 172 | } |
| 173 | for (const auto& loop : loops_2) { |
| 174 | m_loops_2.push_back(loop_to_path(m_vertices_2, loop)); |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | void ClipperEngine::extract_result(const ClipperLib::Paths& paths) { |
| 179 | std::list<Vector2F> vertices; |
nothing calls this directly
no test coverage detected