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

Method Clone

src/Face.cc:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150v8::Local<v8::Object> Face::Clone() const
151{
152 Face* obj = new Face();
153 v8::Local<v8::Object> instance = makeInstance(_template);
154 obj->Wrap(instance);
155 obj->setShape(this->shape());
156 return instance;
157}
158
159v8::Local<v8::Object> Face::NewInstance(const TopoDS_Face& face)
160{

Callers

nothing calls this directly

Calls 2

makeInstanceFunction · 0.85
setShapeMethod · 0.45

Tested by

no test coverage detected