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

Class Shape

src/Shape.h:6–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "Base.h"
5
6class Shape : public Base {
7
8public:
9 Shape() {};
10 virtual ~Shape() {};
11
12protected:
13 TopoDS_Shape shape_;
14
15
16
17 // static NAN_METHOD(ShapeType);
18 // constructors
19
20public:
21 virtual const TopoDS_Shape& shape() const;
22 virtual void setShape( const TopoDS_Shape&);
23
24
25
26 void setErrorMessage(const char* message) {};
27
28};
29
30template <class SHAPE>
31inline v8::Local<v8::Array> extract_shapes_as_javascript_array(SHAPE* pThis,TopAbs_ShapeEnum type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected