2015-05-31 11:17:09 +02:00
|
|
|
/************************************************************************
|
|
|
|
**
|
|
|
|
** @file varcradius.h
|
|
|
|
** @author Roman Telezhynskyi <dismine(at)gmail.com>
|
|
|
|
** @date 30 5, 2015
|
|
|
|
**
|
|
|
|
** @brief
|
|
|
|
** @copyright
|
2017-10-05 11:20:01 +02:00
|
|
|
** This source code is part of the Valentina project, a pattern making
|
2015-05-31 11:17:09 +02:00
|
|
|
** program, whose allow create and modeling patterns of clothing.
|
|
|
|
** Copyright (C) 2015 Valentina project
|
2020-01-31 07:00:05 +01:00
|
|
|
** <https://gitlab.com/smart-pattern/valentina> All Rights Reserved.
|
2015-05-31 11:17:09 +02:00
|
|
|
**
|
|
|
|
** Valentina is free software: you can redistribute it and/or modify
|
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation, either version 3 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** Valentina 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 General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
**
|
|
|
|
*************************************************************************/
|
|
|
|
|
|
|
|
#ifndef VARCRADIUS_H
|
|
|
|
#define VARCRADIUS_H
|
|
|
|
|
2016-08-08 13:44:49 +02:00
|
|
|
#include <QtGlobal>
|
|
|
|
|
2016-08-09 15:55:46 +02:00
|
|
|
#include "../vmisc/def.h"
|
2016-08-08 13:44:49 +02:00
|
|
|
#include "vcurvevariable.h"
|
2015-05-31 11:17:09 +02:00
|
|
|
|
|
|
|
class VArc;
|
2017-02-26 08:00:40 +01:00
|
|
|
class VEllipticalArc;
|
2015-05-31 11:17:09 +02:00
|
|
|
|
2023-07-13 16:49:20 +02:00
|
|
|
class VArcRadius final : public VCurveVariable
|
2015-05-31 11:17:09 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
VArcRadius();
|
2015-06-12 10:55:44 +02:00
|
|
|
VArcRadius(const quint32 &id, const quint32 &parentId, const VArc *arc, Unit patternUnit);
|
2023-07-13 16:49:20 +02:00
|
|
|
VArcRadius(const quint32 &id, const quint32 &parentId, const VEllipticalArc *elArc, int numberRadius,
|
2017-02-26 08:00:40 +01:00
|
|
|
Unit patternUnit);
|
2023-07-13 16:49:20 +02:00
|
|
|
VArcRadius(const VArcRadius &var) = default;
|
2023-05-03 13:07:02 +02:00
|
|
|
auto operator=(const VArcRadius &var) -> VArcRadius &;
|
2023-07-13 16:49:20 +02:00
|
|
|
~VArcRadius() override = default;
|
2024-02-19 10:14:02 +01:00
|
|
|
|
2023-07-13 16:49:20 +02:00
|
|
|
VArcRadius(VArcRadius &&var) noexcept = default;
|
|
|
|
auto operator=(VArcRadius &&var) noexcept -> VArcRadius & = default;
|
2015-05-31 11:17:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VARCRADIUS_H
|