Salome HOME
Correct processing arcs in SketchSolver with SolveSpace (issue #1144)
[modules/shaper.git] / src / SketchSolver / SolveSpaceSolver / SolveSpaceSolver_EntityWrapper.cpp
index 1cb81157dbeade5022622d91d069fc6ad4b09655..bd6f616764c35dd0d3ed9bae0c6ee02380861783 100644 (file)
@@ -20,6 +20,17 @@ SolveSpaceSolver_EntityWrapper::SolveSpaceSolver_EntityWrapper(
   myBaseAttribute = theAttribute;
 }
 
+SolveSpaceSolver_EntityWrapper::SolveSpaceSolver_EntityWrapper(
+    const std::shared_ptr<SketchPlugin_Point> theFeature,
+    const AttributePtr theAttribute,
+    const Slvs_Entity& theEntity)
+  : myEntity(theEntity)
+{
+  myBaseFeature = FeaturePtr(theFeature);
+  myBaseAttribute = theAttribute;
+}
+
+
 EntityID SolveSpaceSolver_EntityWrapper::id() const
 {
   return (EntityID)myEntity.h;