Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update the angle calculation when lines are intersected in the inner point
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Arc.h
diff --git
a/src/SketchPlugin/SketchPlugin_Arc.h
b/src/SketchPlugin/SketchPlugin_Arc.h
index efb66cf4f4f3508b69c2c23e73b2355dd403233e..d3d9e597d29940e5f175ba04eb8b6a88e8d739de 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Arc.h
+++ b/
src/SketchPlugin/SketchPlugin_Arc.h
@@
-27,6
+27,10
@@
class SketchPlugin_Arc : public SketchPlugin_SketchEntity, public GeomAPI_IPrese
/// to avoid (if possible) additional modification of changed coordinate (issue #855)
double myXEndBefore, myYEndBefore;
/// 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
inline static const std::string& ID()
public:
/// Arc feature kind
inline static const std::string& ID()
@@
-82,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);
/// \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<GeomAPI_Pnt2d>& thePoint);
-
/// Use plugin manager for features creation
SketchPlugin_Arc();
/// Use plugin manager for features creation
SketchPlugin_Arc();