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

Method next

src/ShapeIterator.cc:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46v8::Local<v8::Value> ShapeIterator::next()
47{
48 if (ex.More()) {
49
50 v8::Local<v8::Object> obj = buildWrapper(ex.Current());
51 Nan::Set(this->handle(), Nan::New("current").ToLocalChecked(), obj);
52 ex.Next();
53 return obj;
54 }
55 else {
56 return Nan::Undefined();
57 }
58}
59
60NAN_METHOD(ShapeIterator::next)
61{

Callers 3

shape.jsFile · 0.80
test_solid.jsFile · 0.80
NAN_METHODFunction · 0.80

Calls 1

buildWrapperFunction · 0.85

Tested by

no test coverage detected