MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / compute_union

Method compute_union

tools/Boolean/IGL/IGLCSGTree.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using namespace PyMesh;
8
9void IGLCSGTree::compute_union() {
10 IGLCSGTree* tree_1 = dynamic_cast<IGLCSGTree*>(m_tree_1.get());
11 IGLCSGTree* tree_2 = dynamic_cast<IGLCSGTree*>(m_tree_2.get());
12 m_igl_tree = igl::copyleft::cgal::CSGTree(
13 tree_1->m_igl_tree, tree_2->m_igl_tree,
14 igl::MESH_BOOLEAN_TYPE_UNION);
15}
16
17void IGLCSGTree::compute_intersection() {
18 IGLCSGTree* tree_1 = dynamic_cast<IGLCSGTree*>(m_tree_1.get());

Callers

nothing calls this directly

Calls 2

CSGTreeClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected