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

Method Clone

src/Vertex.cc:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72v8::Local<v8::Object> Vertex::Clone() const
73{
74 Vertex* obj = new Vertex();
75 v8::Local<v8::Object> instance = makeInstance(_template);
76 obj->Wrap(instance);
77 obj->setShape(this->shape());
78 return instance;
79}
80
81void Vertex::InitNew(_NAN_METHOD_ARGS)
82{

Callers

nothing calls this directly

Calls 2

makeInstanceFunction · 0.85
setShapeMethod · 0.45

Tested by

no test coverage detected