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
Initial implementation of geometrical naming in the selector.
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintRadius.h
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintRadius.h
b/src/SketchPlugin/SketchPlugin_ConstraintRadius.h
index d4ad2f5979de525e20f573d1b6df27914401a46c..8b52f35939b90b0f71de69f16aa03655ce0aa3fa 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintRadius.h
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintRadius.h
@@
-49,6
+49,13
@@
class SketchPlugin_ConstraintRadius : public SketchPlugin_ConstraintBase
return MY_KIND;
}
return MY_KIND;
}
+ /// attribute name of dimension location type
+ inline static const std::string& LOCATION_TYPE_ID()
+ {
+ static const std::string MY_LOCATION_TYPE_ID("LocationType");
+ return MY_LOCATION_TYPE_ID;
+ }
+
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
@@
-67,11
+74,6
@@
class SketchPlugin_ConstraintRadius : public SketchPlugin_ConstraintBase
/// Returns the AIS preview
SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
/// Returns the AIS preview
SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
- /// Moves the feature
- /// \param theDeltaX the delta for X coordinate is moved
- /// \param theDeltaY the delta for Y coordinate is moved
- SKETCHPLUGIN_EXPORT virtual void move(const double theDeltaX, const double theDeltaY);
-
/// Called on change of any argument-attribute of this object
/// \param theID identifier of changed attribute
SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
/// Called on change of any argument-attribute of this object
/// \param theID identifier of changed attribute
SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);