| 23 | } |
| 24 | |
| 25 | void IGLCSGTree::compute_difference() { |
| 26 | IGLCSGTree* tree_1 = dynamic_cast<IGLCSGTree*>(m_tree_1.get()); |
| 27 | IGLCSGTree* tree_2 = dynamic_cast<IGLCSGTree*>(m_tree_2.get()); |
| 28 | m_igl_tree = igl::copyleft::cgal::CSGTree( |
| 29 | tree_1->m_igl_tree, tree_2->m_igl_tree, |
| 30 | igl::MESH_BOOLEAN_TYPE_MINUS); |
| 31 | } |
| 32 | |
| 33 | void IGLCSGTree::compute_symmetric_difference() { |
| 34 | IGLCSGTree* tree_1 = dynamic_cast<IGLCSGTree*>(m_tree_1.get()); |