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
Sort constraints before adding it to the solver (issue #911)
[modules/shaper.git]
/
src
/
SketchSolver
/
SketchSolver_Error.h
diff --git
a/src/SketchSolver/SketchSolver_Error.h
b/src/SketchSolver/SketchSolver_Error.h
index e0446b558eb8e699510a45d027ecfafe3bb782aa..0ae33d3c60abb8c4d4ccf2f4131d273e5a43534f 100644
(file)
--- a/
src/SketchSolver/SketchSolver_Error.h
+++ b/
src/SketchSolver/SketchSolver_Error.h
@@
-59,6
+59,12
@@
class SketchSolver_Error
static const std::string MY_ERROR_VALUE("Mirror constraint has wrong attributes");
return MY_ERROR_VALUE;
}
static const std::string MY_ERROR_VALUE("Mirror constraint has wrong attributes");
return MY_ERROR_VALUE;
}
+ /// Entity is already fixed
+ inline static const std::string& ALREADY_FIXED()
+ {
+ static const std::string MY_ERROR_VALUE("Entity already fixed");
+ return MY_ERROR_VALUE;
+ }
/// Crash in SolveSpace
inline static const std::string& SOLVESPACE_CRASH()
{
/// Crash in SolveSpace
inline static const std::string& SOLVESPACE_CRASH()
{