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
Task 2.3. Fix compilation errors
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_IntersectionPoint.h
diff --git
a/src/SketchPlugin/SketchPlugin_IntersectionPoint.h
b/src/SketchPlugin/SketchPlugin_IntersectionPoint.h
index a25f1be363dbcfe3c63bcac0c01cefa31b66e2b0..ab0dcd6fc5d6b0075930d49c92592138c08b330d 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_IntersectionPoint.h
+++ b/
src/SketchPlugin/SketchPlugin_IntersectionPoint.h
@@
-44,16
+44,27
@@
public:
return MY_KIND;
}
return MY_KIND;
}
- static const std::string& EXTERNAL_
LIN
E_ID()
+ static const std::string& EXTERNAL_
FEATUR
E_ID()
{
{
- static std::string MY_LINE_ID("ExternalLine");
- return MY_LINE_ID;
+ static std::string MY_FEATURE_ID("ExternalFeature");
+ return MY_FEATURE_ID;
+ }
+
+ static const std::string& INCLUDE_INTO_RESULT()
+ {
+ static std::string MY_INCLUDE("IncludeToResult");
+ return MY_INCLUDE;
}
/// Returns true because intersection point is always external
virtual bool isFixed()
{ return true; }
}
/// Returns true because intersection point is always external
virtual bool isFixed()
{ return true; }
+ /// Returns true if the feature and the feature results can be displayed.
+ /// \return false
+ virtual bool canBeDisplayed() const
+ { return false; }
+
/// Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
/// Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();