]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1664: In the Sketcher, add the function Split a segment. Split feature impleme...
authornds <nds@opencascade.com>
Wed, 27 Jul 2016 04:54:27 +0000 (07:54 +0300)
committernds <nds@opencascade.com>
Wed, 27 Jul 2016 04:54:27 +0000 (07:54 +0300)
src/SketchPlugin/SketchPlugin_ConstraintSplit.h

index 02c7df346ddb441f37756fc14c4054899e88cd44..5e7bae5b553a20554c564642c12eb183ad475468 100755 (executable)
@@ -12,6 +12,7 @@
 #include "SketchPlugin_ConstraintBase.h"
 
 class GeomDataAPI_Point2D;
+class ModelAPI_Feature;
 
 /** \class SketchPlugin_ConstraintSplit
  *  \ingroup Plugins
@@ -85,9 +86,9 @@ private:
   /// Creates a new feature in the base shape type with bounding points given in parameters
   /// \param theStartPointAttr an attribute of the start point
   /// \param theEndPointAttr an attribute of the end point
-  FeaturePtr SketchPlugin_ConstraintSplit::createFeature(
-                          const std::shared_ptr<GeomDataAPI_Point2D>& theStartPointAttr,
-                          const std::shared_ptr<GeomDataAPI_Point2D>& theEndPointAttr);
+  std::shared_ptr<ModelAPI_Feature> FeaturePtr SketchPlugin_ConstraintSplit::createFeature(
+                                    const std::shared_ptr<GeomDataAPI_Point2D>& theStartPointAttr,
+                                    const std::shared_ptr<GeomDataAPI_Point2D>& theEndPointAttr);
 
 private:
   //std::set<AttributePtr> myNewPoints; ///< set of new points