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

Method compute_difference

tools/Boolean/BSP/BSPEngine.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void BSPEngine::compute_difference() {
112 BSPPtr mesh1 = raw_to_bsp(m_vertices_1, m_faces_1);
113 BSPPtr mesh2 = raw_to_bsp(m_vertices_2, m_faces_2);
114 BSPPtr result = BSPlib::Bsp::Difference(mesh1, mesh2);
115 bsp_to_raw(result, m_vertices, m_faces);
116}
117
118void BSPEngine::compute_symmetric_difference() {
119 BSPPtr mesh1 = raw_to_bsp(m_vertices_1, m_faces_1);

Callers 8

booleanFunction · 0.45
__init__Method · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

raw_to_bspFunction · 0.85
bsp_to_rawFunction · 0.85

Tested by 6

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36