Integrade OpenCASCADE
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef SKETCHFEATURE_H
|
||||
#define SKETCHFEATURE_H
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include "Feature.h"
|
||||
|
||||
class SketchFeature : public Feature
|
||||
@@ -19,11 +20,14 @@ public:
|
||||
void setPlane(SketchPlane plane);
|
||||
SketchPlane plane() const;
|
||||
|
||||
const TopoDS_Shape& shape() const;
|
||||
|
||||
void read(const QJsonObject &json) override;
|
||||
void write(QJsonObject &json) const override;
|
||||
|
||||
private:
|
||||
SketchPlane m_plane;
|
||||
TopoDS_Shape m_shape;
|
||||
};
|
||||
|
||||
#endif // SKETCHFEATURE_H
|
||||
|
||||
Reference in New Issue
Block a user