1 /************************************************************************ 2 ** 3 ** @file varcradius.h 4 ** @author Roman Telezhynskyi <dismine(at)gmail.com> 5 ** @date 30 5, 2015 6 ** 7 ** @brief 8 ** @copyright 9 ** This source code is part of the Valentina project, a pattern making 10 ** program, whose allow create and modeling patterns of clothing. 11 ** Copyright (C) 2015 Valentina project 12 ** <https://gitlab.com/smart-pattern/valentina> All Rights Reserved. 13 ** 14 ** Valentina is free software: you can redistribute it and/or modify 15 ** it under the terms of the GNU General Public License as published by 16 ** the Free Software Foundation, either version 3 of the License, or 17 ** (at your option) any later version. 18 ** 19 ** Valentina is distributed in the hope that it will be useful, 20 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 21 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 ** GNU General Public License for more details. 23 ** 24 ** You should have received a copy of the GNU General Public License 25 ** along with Valentina. If not, see <http://www.gnu.org/licenses/>. 26 ** 27 *************************************************************************/ 28 29 #ifndef VARCRADIUS_H 30 #define VARCRADIUS_H 31 32 #include <qcompilerdetection.h> 33 #include <QtGlobal> 34 35 #include "../vmisc/def.h" 36 #include "../ifc/ifcdef.h" 37 #include "vcurvevariable.h" 38 39 class VArc; 40 class VEllipticalArc; 41 42 class VArcRadius :public VCurveVariable 43 { 44 public: 45 VArcRadius(); 46 VArcRadius(const quint32 &id, const quint32 &parentId, const VArc *arc, Unit patternUnit); 47 VArcRadius(const quint32 &id, const quint32 &parentId, const VEllipticalArc *elArc, const int numberRadius, 48 Unit patternUnit); 49 VArcRadius(const VArcRadius &var); 50 VArcRadius &operator=(const VArcRadius &var); 51 virtual ~VArcRadius() override; 52 }; 53 54 #endif // VARCRADIUS_H 55