MCPcopy Create free account
hub / github.com/OpenWebCAD/node-occ / Clone

Method Clone

src/Shell.cc:78–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78v8::Local<v8::Object> Shell::Clone() const
79{
80 Shell* obj = new Shell();
81 v8::Local<v8::Object> instance = makeInstance(_template);
82 obj->Wrap(instance);
83 obj->setShape(this->shape());
84 return instance;
85}
86
87void Shell::Init(v8::Local<v8::Object> target)
88{

Callers

nothing calls this directly

Calls 2

makeInstanceFunction · 0.85
setShapeMethod · 0.45

Tested by

no test coverage detected