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

Method compute_union

tools/Boolean/BSP/BSPEngine.cpp:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95using namespace BSPEngineHelper;
96
97void BSPEngine::compute_union() {
98 BSPPtr mesh1 = raw_to_bsp(m_vertices_1, m_faces_1);
99 BSPPtr mesh2 = raw_to_bsp(m_vertices_2, m_faces_2);
100 BSPPtr result = BSPlib::Bsp::Union(mesh1, mesh2);
101 bsp_to_raw(result, m_vertices, m_faces);
102}
103
104void BSPEngine::compute_intersection() {
105 BSPPtr mesh1 = raw_to_bsp(m_vertices_1, m_faces_1);

Callers 9

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
TEST_FFunction · 0.45

Calls 3

raw_to_bspFunction · 0.85
UnionClass · 0.85
bsp_to_rawFunction · 0.85

Tested by 7

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