Salome HOME
Fix bug for translation (id 2237 and id 2250).
[modules/shaper.git] / src / SketchSolver / SketchSolver.h
index 2f98bf53eb8f9ee60ed9e259ccb4d01c357877f7..775702389fbfe343d8f59bb3769288550fe0492e 100644 (file)
@@ -1,18 +1,20 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 #ifndef SKETCHSOLVER_H
 #define SKETCHSOLVER_H
 
-#if defined SKETCHSOLVER_EXPORTS
-#if defined WIN32
-#define SKETCHSOLVER_EXPORT              __declspec( dllexport )
-#else
-#define SKETCHSOLVER_EXPORT
-#endif
-#else
-#if defined WIN32
-#define SKETCHSOLVER_EXPORT              __declspec( dllimport )
-#else
-#define SKETCHSOLVER_EXPORT
-#endif
-#endif
+#include <stdlib.h>
+
+/// Tolerance for value of parameters
+const double tolerance = 1.e-10;
+
+#define PI 3.1415926535897932
+
+// Types for data entities enumeration
+typedef int ConstraintID;
+
+// Predefined values for identifiers
+const ConstraintID CID_UNKNOWN  =  0;
+const ConstraintID CID_MOVEMENT = -1;
 
 #endif