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

Class Shell

src/Shell.h:9–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include <vector>
8class Face;
9class Shell: public Base {
10
11 TopoDS_Shell m_shell;
12public:
13 int numFaces();
14
15 double area();
16
17
18
19 virtual const TopoDS_Shape& shape() const;
20 const TopoDS_Shell& shell() const {
21 return m_shell;
22 }
23 virtual void setShape(const TopoDS_Shape&);
24
25 virtual Base* Unwrap(v8::Local<v8::Object> obj) const { return Nan::ObjectWrap::Unwrap<Shell>(obj); }
26 virtual v8::Local<v8::Object> Clone() const ;
27
28 static void Init(v8::Local<v8::Object> target);
29 static NAN_METHOD(New);
30 static Nan::Persistent<v8::FunctionTemplate> _template;
31};

Callers 1

setShapeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected