Salome HOME
Merge branch 'BR_internationalization'
[modules/shaper.git] / src / SketchSolver / SolveSpaceSolver / SolveSpaceSolver_EntityWrapper.h
index 4f74823612c0bb7dd2bd307eb27a09b7019628ec..aee684d6caa2bd7498a6d331ee8e469136004e20 100644 (file)
@@ -19,6 +19,11 @@ public:
   SolveSpaceSolver_EntityWrapper(const FeaturePtr theFeature, const Slvs_Entity& theEntity);
   SolveSpaceSolver_EntityWrapper(const AttributePtr theAttribute, const Slvs_Entity& theEntity);
 
+  /// \brief Constructor useful for SketchPlugin_Point only
+  SolveSpaceSolver_EntityWrapper(const FeaturePtr thePointFeature,
+                                 const AttributePtr thePointAttribute,
+                                 const Slvs_Entity& theEntity);
+
   /// \brief Return SolveSpace entity
   const Slvs_Entity& entity() const
   { return myEntity; }
@@ -32,7 +37,7 @@ public:
   /// \brief Change group for the entity
   virtual void setGroup(const GroupID& theGroup);
   /// \brief Return identifier of the group the entity belongs to
-  virtual const GroupID& group() const
+  virtual GroupID group() const
   { return (GroupID)myEntity.group; }
 
   /// \brief Return type of current entity