2014-08-15 19:07:26 +02:00
|
|
|
/************************************************************************
|
|
|
|
**
|
2014-08-15 19:27:30 +02:00
|
|
|
** @file vcurvelength.h
|
2014-08-15 19:07:26 +02:00
|
|
|
** @author Roman Telezhynskyi <dismine(at)gmail.com>
|
|
|
|
** @date 15 8, 2014
|
|
|
|
**
|
|
|
|
** @brief
|
|
|
|
** @copyright
|
2017-10-05 11:20:01 +02:00
|
|
|
** This source code is part of the Valentina project, a pattern making
|
2014-08-15 19:07:26 +02:00
|
|
|
** program, whose allow create and modeling patterns of clothing.
|
2015-02-27 11:27:48 +01:00
|
|
|
** Copyright (C) 2013-2015 Valentina project
|
2020-01-31 07:00:05 +01:00
|
|
|
** <https://gitlab.com/smart-pattern/valentina> All Rights Reserved.
|
2014-08-15 19:07:26 +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/>.
|
|
|
|
**
|
|
|
|
*************************************************************************/
|
|
|
|
|
2014-08-15 19:27:30 +02:00
|
|
|
#ifndef VCURVELENGTH_H
|
|
|
|
#define VCURVELENGTH_H
|
2014-08-15 19:07:26 +02:00
|
|
|
|
2016-08-08 13:44:49 +02:00
|
|
|
#include <qcompilerdetection.h>
|
|
|
|
#include <QString>
|
|
|
|
#include <QtGlobal>
|
|
|
|
|
2016-08-09 15:55:46 +02:00
|
|
|
#include "../vmisc/def.h"
|
2015-06-12 10:55:44 +02:00
|
|
|
#include "../ifc/ifcdef.h"
|
2016-08-08 13:44:49 +02:00
|
|
|
#include "vcurvevariable.h"
|
2014-08-15 19:07:26 +02:00
|
|
|
|
|
|
|
class VAbstractCurve;
|
2016-04-01 23:15:04 +02:00
|
|
|
class VSpline;
|
2014-08-15 19:07:26 +02:00
|
|
|
|
2015-06-01 14:42:47 +02:00
|
|
|
class VCurveLength : public VCurveVariable
|
2014-08-15 19:07:26 +02:00
|
|
|
{
|
|
|
|
public:
|
2014-08-15 19:27:30 +02:00
|
|
|
VCurveLength();
|
2015-06-12 10:55:44 +02:00
|
|
|
VCurveLength(const quint32 &id, const quint32 &parentId, const VAbstractCurve *curve, Unit patternUnit);
|
2016-04-01 23:15:04 +02:00
|
|
|
VCurveLength(const quint32 &id, const quint32 &parentId, const QString &baseCurveName, const VSpline &spl,
|
|
|
|
Unit patternUnit, qint32 segment);
|
2014-08-15 19:27:30 +02:00
|
|
|
VCurveLength(const VCurveLength &var);
|
|
|
|
VCurveLength &operator=(const VCurveLength &var);
|
2018-06-26 14:53:48 +02:00
|
|
|
virtual ~VCurveLength() override;
|
2014-08-15 19:07:26 +02:00
|
|
|
};
|
|
|
|
|
2014-08-15 19:27:30 +02:00
|
|
|
#endif // VCURVELENGTH_H
|