1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
8 #if defined SKETCHSOLVER_EXPORTS
10 #define SKETCHSOLVER_EXPORT __declspec( dllexport )
12 #define SKETCHSOLVER_EXPORT
16 #define SKETCHSOLVER_EXPORT __declspec( dllimport )
18 #define SKETCHSOLVER_EXPORT
22 /// Tolerance for value of parameters
23 const double tolerance = 1.e-10;
25 #define PI 3.1415926535897932
27 // Types for data entities enumeration
28 typedef size_t GroupID;
29 typedef size_t ParameterID;
30 typedef size_t EntityID;
31 typedef size_t ConstraintID;
33 // Predefined values for identifiers
34 const GroupID GID_UNKNOWN = 0;
35 const GroupID GID_OUTOFGROUP = 1;
37 const ParameterID PID_UNKNOWN = 0;
38 const EntityID EID_UNKNOWN = 0;
39 const EntityID EID_SKETCH = 1;
40 const ConstraintID CID_UNKNOWN = 0;