X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Fillet.h;h=7cee33ca4b6af7a17468aaa85c7ba4c00edaa566;hb=dddb164bbd94e2a397f1f9ce80c931d1ca3dac19;hp=b25e0257d0f1a2d05021032350c4e72d4cf86385;hpb=c92ed07b94514f5fa8f6c6cdd27d661e2f893c3e;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Fillet.h b/src/SketchPlugin/SketchPlugin_Fillet.h index b25e0257d..7cee33ca4 100644 --- a/src/SketchPlugin/SketchPlugin_Fillet.h +++ b/src/SketchPlugin/SketchPlugin_Fillet.h @@ -12,6 +12,7 @@ #include "SketchPlugin_SketchEntity.h" #include +#include class GeomAPI_XY; @@ -54,17 +55,22 @@ class SketchPlugin_Fillet: public SketchPlugin_SketchEntity, public GeomAPI_IPre /// Reimplemented from ModelAPI_Feature::isMacro(). /// \returns true - SKETCHPLUGIN_EXPORT virtual bool isMacro() const {return true;}; + SKETCHPLUGIN_EXPORT virtual bool isMacro() const {return true;} - SKETCHPLUGIN_EXPORT virtual bool isPreviewNeeded() const {return false;}; + SKETCHPLUGIN_EXPORT virtual bool isPreviewNeeded() const {return false;} /// Reimplemented from SketchPlugin_Feature::move(). /// Do nothing. - SKETCHPLUGIN_EXPORT virtual void move(const double theDeltaX, const double theDeltaY) {}; + SKETCHPLUGIN_EXPORT virtual void move(const double, const double) {} /// \brief Use plugin manager for features creation SketchPlugin_Fillet(); +private: + bool calculateFilletParameters(); + + bool findFeaturesContainingFilletPoint(std::shared_ptr theFilletPoint); + private: FeaturePtr myBaseFeatures[2]; std::string myFeatAttributes[4]; // attributes of features