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
Issue #1063: Problem of dynamic cast on Linux for Selection validators is solved
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Arc.h
diff --git
a/src/SketchPlugin/SketchPlugin_Arc.h
b/src/SketchPlugin/SketchPlugin_Arc.h
index efc90f529ca5ea7373e8d65e1dd1e345dab41ce1..0464ebeadb30d60da9aa89f6937af6657f29508c 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Arc.h
+++ b/
src/SketchPlugin/SketchPlugin_Arc.h
@@
-57,6
+57,13
@@
class SketchPlugin_Arc : public SketchPlugin_SketchEntity, public GeomAPI_IPrese
return MY_END_ID;
}
return MY_END_ID;
}
+ /// Inversed flag
+ inline static const std::string& INVERSED_ID()
+ {
+ static const std::string MY_INVERSED_ID("InversedArc");
+ return MY_INVERSED_ID;
+ }
+
/// Returns the kind of a feature
SKETCHPLUGIN_EXPORT virtual const std::string& getKind()
{
/// Returns the kind of a feature
SKETCHPLUGIN_EXPORT virtual const std::string& getKind()
{
@@
-85,6
+92,12
@@
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);
+ /// Updates the "reversed" flag
+ /// \param isReversed whether the arc will be reversed
+ void setReversed(bool isReversed);
+ /// Returns \c true is the arc is reversed
+ bool isReversed();
+
/// Use plugin manager for features creation
SketchPlugin_Arc();
/// Use plugin manager for features creation
SketchPlugin_Arc();