X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSolveSpaceSolver%2FSolveSpaceSolver_ConstraintType.h;h=6dbdb0d984e73a11239294a243825fc61ffbd605;hb=8c2723caf52fd7b05d6d950059bc77adc711f18a;hp=a38939bd415378dbacb5ba3ea6bbe76dcb60c58d;hpb=29d446f4dd2969d80087745fe44adb5638d13de7;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintType.h b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintType.h index a38939bd4..6dbdb0d98 100644 --- a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintType.h +++ b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintType.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: SolveSpaceSolver_ConstraintType.h -// Created: 8 Dec 2015 -// Author: Artem ZHIDKOV +// 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 +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// 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 +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef SolveSpaceSolver_ConstraintType_H_ #define SolveSpaceSolver_ConstraintType_H_ @@ -19,6 +32,7 @@ namespace ConstraintType case CONSTRAINT_PT_PT_COINCIDENT: return SLVS_C_POINTS_COINCIDENT; case CONSTRAINT_PT_ON_LINE: return SLVS_C_PT_ON_LINE; case CONSTRAINT_PT_ON_CIRCLE: return SLVS_C_PT_ON_CIRCLE; + case CONSTRAINT_MIDDLE_POINT: return SLVS_C_AT_MIDPOINT; case CONSTRAINT_PT_PT_DISTANCE: return SLVS_C_PT_PT_DISTANCE; case CONSTRAINT_PT_LINE_DISTANCE: return SLVS_C_PT_LINE_DISTANCE; case CONSTRAINT_ANGLE: return SLVS_C_ANGLE; @@ -48,6 +62,7 @@ namespace ConstraintType case SLVS_C_POINTS_COINCIDENT: return CONSTRAINT_PT_PT_COINCIDENT; case SLVS_C_PT_ON_LINE: return CONSTRAINT_PT_ON_LINE; case SLVS_C_PT_ON_CIRCLE: return CONSTRAINT_PT_ON_CIRCLE; + case SLVS_C_AT_MIDPOINT: return CONSTRAINT_MIDDLE_POINT; case SLVS_C_PT_PT_DISTANCE: return CONSTRAINT_PT_PT_DISTANCE; case SLVS_C_PT_LINE_DISTANCE: return CONSTRAINT_PT_LINE_DISTANCE; case SLVS_C_EQUAL_LENGTH_LINES: return CONSTRAINT_EQUAL_LINES;