Salome HOME
Task #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Feature.cpp
1 #include "SketchPlugin_Feature.h"
2
3 /**
4  * Returns the sketch preview
5  */
6 const TopoDS_Shape& SketchPlugin_Feature::preview()
7 {
8   return myPreview;
9 }
10
11 /**
12  * Set the shape to the internal preview field
13  * \param theShape a preview shape
14  */
15 void SketchPlugin_Feature::setPreview(const TopoDS_Shape& theShape)
16 {
17   myPreview = theShape;
18 }