Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Constraint.cpp
index 6d30aa06c8f866386694027a94c07cfa2f356509..70a980aec7598e054d5c1c55ee9c450bcef8f142 100644 (file)
@@ -4,3 +4,15 @@
 
 #include "SketchPlugin_Constraint.h"
 
+#include <AIS_InteractiveObject.hxx>
+
+Handle_AIS_InteractiveObject SketchPlugin_Constraint::getAISShape(Handle_AIS_InteractiveObject thePrevious)
+{ 
+  return thePrevious;
+}
+
+const boost::shared_ptr<GeomAPI_Shape>&  SketchPlugin_Constraint::preview()
+{
+  return getPreview();
+}
+