]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchSolver/SketchSolver.h
Salome HOME
SketchSolver Refactoring: Eliminate SolveSpace as a sketch solver.
[modules/shaper.git] / src / SketchSolver / SketchSolver.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 #ifndef SKETCHSOLVER_H
4 #define SKETCHSOLVER_H
5
6 #include <stdlib.h>
7
8 /// Tolerance for value of parameters
9 const double tolerance = 1.e-10;
10
11 #define PI 3.1415926535897932
12
13 // Types for data entities enumeration
14 typedef int ConstraintID;
15
16 // Predefined values for identifiers
17 const ConstraintID CID_UNKNOWN  =  0;
18 const ConstraintID CID_MOVEMENT = -1;
19
20 #endif