X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FPlaneGCSSolver%2FPlaneGCSSolver_Defs.h;h=26419160333086bc08383a9fdfcb2aa0da910f45;hb=3627271f1f98d2a04cb1fcbfa0e51cdc9700ff09;hp=0f31d2e2c7de02d706d70b2bd5273a063c2a7a36;hpb=a94fc319f2aa64b43c9a73b5ff7063923648faec;p=modules%2Fshaper.git diff --git a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Defs.h b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Defs.h index 0f31d2e2c..264191603 100644 --- a/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Defs.h +++ b/src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Defs.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef PlaneGCSSolver_Defs_H_ @@ -40,17 +39,20 @@ typedef int ConstraintID; // Predefined values for identifiers const ConstraintID CID_UNKNOWN = 0; const ConstraintID CID_MOVEMENT = -1; -const ConstraintID CID_FICTIVE = 1024; +const ConstraintID CID_FICTIVE = 99; /// Types of entities enum SketchSolver_EntityType { ENTITY_UNKNOWN = 0, + ENTITY_BOOLEAN, ENTITY_SCALAR, ENTITY_ANGLE, ENTITY_POINT, ENTITY_LINE, ENTITY_CIRCLE, - ENTITY_ARC + ENTITY_ARC, + ENTITY_ELLIPSE, + ENTITY_ELLIPTICAL_ARC }; /// Types of constraints @@ -58,8 +60,7 @@ enum SketchSolver_ConstraintType { CONSTRAINT_UNKNOWN = 0, CONSTRAINT_COINCIDENCE, // base coincidence if we don't know exact type yet CONSTRAINT_PT_PT_COINCIDENT, - CONSTRAINT_PT_ON_LINE, - CONSTRAINT_PT_ON_CIRCLE, + CONSTRAINT_PT_ON_CURVE, CONSTRAINT_MIDDLE_POINT, CONSTRAINT_DISTANCE, // base distance if we don't know the measured objects yet CONSTRAINT_PT_PT_DISTANCE, @@ -80,7 +81,7 @@ enum SketchSolver_ConstraintType { CONSTRAINT_EQUAL_RADIUS, CONSTRAINT_TANGENT, // base tangency if we don't know the measured objects yet CONSTRAINT_TANGENT_CIRCLE_LINE, - CONSTRAINT_TANGENT_CIRCLE_CIRCLE, + CONSTRAINT_TANGENT_CURVE_CURVE, CONSTRAINT_COLLINEAR, CONSTRAINT_MULTI_TRANSLATION, CONSTRAINT_MULTI_ROTATION