X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Arc.h;h=d3d9e597d29940e5f175ba04eb8b6a88e8d739de;hb=22b8f7fe2eccd1eeee183f52834b191b1e904dc3;hp=47a9f9dd45d2d089d1f2c469478ba1631d2b1b17;hpb=a24b7e6f4d112d5e7889fd76f030298fc428cd01;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Arc.h b/src/SketchPlugin/SketchPlugin_Arc.h index 47a9f9dd4..d3d9e597d 100644 --- a/src/SketchPlugin/SketchPlugin_Arc.h +++ b/src/SketchPlugin/SketchPlugin_Arc.h @@ -24,6 +24,12 @@ class SketchPlugin_Arc : public SketchPlugin_SketchEntity, public GeomAPI_IPrese /// to avoid cyclic dependencies in automatic updates: they mean that /// update is performed right now and automatic updates are not needed bool myStartUpdate, myEndUpdate; + /// to avoid (if possible) additional modification of changed coordinate (issue #855) + double myXEndBefore, myYEndBefore; + + /// to define in which direction draw arc + bool myForwardDirection; + double myParamBefore; public: /// Arc feature kind @@ -80,10 +86,6 @@ class SketchPlugin_Arc : public SketchPlugin_SketchEntity, public GeomAPI_IPrese /// \param theDeltaY the delta for Y coordinate is moved SKETCHPLUGIN_EXPORT virtual void move(const double theDeltaX, const double theDeltaY); - /// Return the distance between the feature and the point - /// \param thePoint the point - virtual double distanceToPoint(const std::shared_ptr& thePoint); - /// Use plugin manager for features creation SketchPlugin_Arc();