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

Function assert_mesh_is_closed

tools/Boolean/CGAL/CGALBooleanEngine.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21namespace CGALBooleanEngineHelper {
22 void assert_mesh_is_closed(const Polyhedron& P) {
23 if (!P.is_closed()) {
24 throw RuntimeError("Mesh not closed. Boolean requires closed mesh as input.");
25 }
26 }
27}
28
29using namespace CGALBooleanEngineHelper;

Callers 1

Calls 2

RuntimeErrorClass · 0.85
is_closedMethod · 0.45

Tested by

no test coverage detected