]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_EntityWrapper.h
Salome HOME
Correct processing arcs in SketchSolver with SolveSpace (issue #1144)
[modules/shaper.git] / src / SketchSolver / SolveSpaceSolver / SolveSpaceSolver_EntityWrapper.h
index 566625f91510dada2687a86e92ecbaeabd50ea17..b006251ebb329a746c47164a4496673f4d7a1742 100644 (file)
@@ -10,6 +10,8 @@
 #include <SketchSolver_IEntityWrapper.h>
 #include <SolveSpaceSolver_Solver.h>
 
+#include <SketchPlugin_Point.h>
+
 /**
  *  Wrapper providing operations with SolveSpace entities.
  */
@@ -19,6 +21,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 std::shared_ptr<SketchPlugin_Point> theFeature,
+                                 const AttributePtr theAttribute,
+                                 const Slvs_Entity& theEntity);
+
   /// \brief Return SolveSpace entity
   const Slvs_Entity& entity() const
   { return myEntity; }