]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchPlugin/SketchPlugin_Feature.cpp
Salome HOME
Added interfaces to OCC data and algos: features must not depend on OCC
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Feature.cpp
1 #include "SketchPlugin_Feature.h"
2
3 /**
4  * Returns the sketch preview
5  */
6 const std::shared_ptr<GeomAPI_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 std::shared_ptr<GeomAPI_Shape>& theShape)
16 {
17   myPreview = theShape;
18 }