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

Method NewInstance

src/BoundingBox.cc:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9v8::Local<v8::Value> BoundingBox::NewInstance(const Bnd_Box& box)
10{
11
12 v8::Local<v8::Object> instance = makeInstance(_template);
13
14 BoundingBox* pThis = ObjectWrap::Unwrap<BoundingBox>(instance);
15
16 pThis->m_box = box;
17
18 return instance;
19}
20
21v8::Local<v8::Value> BoundingBox::NewInstance(const gp_Pnt& nearPt,const gp_Pnt& farPt)
22{

Callers

nothing calls this directly

Calls 1

makeInstanceFunction · 0.85

Tested by

no test coverage detected