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

Function assert_success

src/IO/PLYParser.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 void assert_success(bool val) {
24 if (!val) {
25 throw RuntimeError("PLY parsing failed");
26 }
27 }
28
29 std::string form_attribute_name(const std::string& elem_name,
30 const std::string& prop_name) {

Callers 2

ply_parser_call_backFunction · 0.70
parse_plyFunction · 0.70

Calls 1

RuntimeErrorClass · 0.85

Tested by

no test coverage detected