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

Method Clone

src/Edge.cc:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275
276v8::Local<v8::Object> Edge::Clone() const
277{
278
279 Edge* obj = new Edge();
280 v8::Local<v8::Object> instance = makeInstance(_template);
281 obj->Wrap(instance);
282 obj->setShape(this->shape());
283 return instance;
284}
285
286NAN_PROPERTY_GETTER(Edge::getter_firstVertex) {
287

Callers

nothing calls this directly

Calls 2

makeInstanceFunction · 0.85
setShapeMethod · 0.45

Tested by

no test coverage detected