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

Method create

tools/Compression/CompressionEngine.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace PyMesh;
9
10CompressionEngine::Ptr CompressionEngine::create(const std::string& engine_name) {
11#if WITH_DRACO
12 if (engine_name == "draco") {
13 return std::make_shared<DracoCompressionEngine>();
14 }
15#endif
16 throw NotImplementedError("Unsupported compression engine: " + engine_name);
17}
18

Callers 2

from_draco_meshFunction · 0.45
from_draco_point_cloudFunction · 0.45

Calls 1

NotImplementedErrorClass · 0.85

Tested by

no test coverage detected