From: nds Date: Wed, 27 Jul 2016 04:54:27 +0000 (+0300) Subject: Issue #1664: In the Sketcher, add the function Split a segment. Split feature impleme... X-Git-Tag: V_2.5.0~169 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b55d7c9f422a238359a80a29867c7cd288ed5960;p=modules%2Fshaper.git Issue #1664: In the Sketcher, add the function Split a segment. Split feature implementation to process attributes --- diff --git a/src/SketchPlugin/SketchPlugin_ConstraintSplit.h b/src/SketchPlugin/SketchPlugin_ConstraintSplit.h index 02c7df346..5e7bae5b5 100755 --- a/src/SketchPlugin/SketchPlugin_ConstraintSplit.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintSplit.h @@ -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& theStartPointAttr, - const std::shared_ptr& theEndPointAttr); + std::shared_ptr FeaturePtr SketchPlugin_ConstraintSplit::createFeature( + const std::shared_ptr& theStartPointAttr, + const std::shared_ptr& theEndPointAttr); private: //std::set myNewPoints; ///< set of new points