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
The flushCreated/flushUpdated are obsolete and nobody uses them.
[modules/shaper.git]
/
src
/
ConstructionPlugin
/
ConstructionPlugin_Axis.h
diff --git
a/src/ConstructionPlugin/ConstructionPlugin_Axis.h
b/src/ConstructionPlugin/ConstructionPlugin_Axis.h
index ef021ba50eb7caad950ef1202ffabed4c5a3aca0..473d3e3524e18f86435d88e3e9df969656fb4a29 100644
(file)
--- a/
src/ConstructionPlugin/ConstructionPlugin_Axis.h
+++ b/
src/ConstructionPlugin/ConstructionPlugin_Axis.h
@@
-31,6
+31,13
@@
class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP
static const std::string CONSTRUCTION_AXIS_KIND("Axis");
return CONSTRUCTION_AXIS_KIND;
}
static const std::string CONSTRUCTION_AXIS_KIND("Axis");
return CONSTRUCTION_AXIS_KIND;
}
+
+ /// attribute name for first point
+ inline static const std::string& METHOD()
+ {
+ static const std::string METHOD_ATTR("creationMethod");
+ return METHOD_ATTR;
+ }
/// attribute name for first point
inline static const std::string& POINT_FIRST()
{
/// attribute name for first point
inline static const std::string& POINT_FIRST()
{
@@
-43,6
+50,12
@@
class ConstructionPlugin_Axis : public ModelAPI_Feature, public GeomAPI_ICustomP
static const std::string POINT_ATTR_SECOND("secondPoint");
return POINT_ATTR_SECOND;
}
static const std::string POINT_ATTR_SECOND("secondPoint");
return POINT_ATTR_SECOND;
}
+ /// attribute name for second point
+ inline static const std::string& CYLINDRICAL_FACE()
+ {
+ static const std::string CYLINDRICAL_FACE_ATTR("cylindricalFace");
+ return CYLINDRICAL_FACE_ATTR;
+ }
/// default color for an axis
inline static const std::string& DEFAULT_COLOR()
{
/// default color for an axis
inline static const std::string& DEFAULT_COLOR()
{