| 157 | } |
| 158 | |
| 159 | v8::Local<v8::Object> Face::NewInstance(const TopoDS_Face& face) |
| 160 | { |
| 161 | Face* obj = new Face(); |
| 162 | v8::Local<v8::Object> instance = makeInstance(_template); |
| 163 | obj->Wrap(instance); |
| 164 | obj->setShape(face); |
| 165 | return instance; |
| 166 | } |
| 167 | |
| 168 | NAN_PROPERTY_GETTER(Face::_mesh) |
| 169 | { |
no test coverage detected