#include "SketchPlugin_SketchEntity.h"
#include <GeomAPI_IPresentable.h>
+#include <GeomDataAPI_Point2D.h>
class GeomAPI_XY;
/// 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<GeomDataAPI_Point2D> theFilletPoint);
+
private:
FeaturePtr myBaseFeatures[2];
std::string myFeatAttributes[4]; // attributes of features