diff --git a/src/app/dialogs/tools/dialogalongline.cpp b/src/app/dialogs/tools/dialogalongline.cpp index 10b640c93..27133a1c4 100644 --- a/src/app/dialogs/tools/dialogalongline.cpp +++ b/src/app/dialogs/tools/dialogalongline.cpp @@ -276,3 +276,53 @@ void DialogAlongLine::setPointName(const QString &value) pointName = value; ui->lineEditNamePoint->setText(pointName); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogAlongLine::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogAlongLine::getTypeLine() const +{ + return typeLine; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogAlongLine::getFormula() const +{ + return qApp->FormulaFromUser(formula); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPointId return id first point of line + * @return id + */ +quint32 DialogAlongLine::getFirstPointId() const +{ + return firstPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPointId return id second point of line + * @return id + */ +quint32 DialogAlongLine::getSecondPointId() const +{ + return secondPointId; +} diff --git a/src/app/dialogs/tools/dialogalongline.h b/src/app/dialogs/tools/dialogalongline.h index 667c42aea..591603fa0 100644 --- a/src/app/dialogs/tools/dialogalongline.h +++ b/src/app/dialogs/tools/dialogalongline.h @@ -47,6 +47,7 @@ class DialogAlongLine : public DialogTool public: DialogAlongLine(const VContainer *data, const quint32 &toolId, QWidget *parent = nullptr); ~DialogAlongLine(); + QString getPointName() const; void setPointName(const QString &value); @@ -110,54 +111,4 @@ private: QString lineColor; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogAlongLine::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogAlongLine::getTypeLine() const -{ - return typeLine; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogAlongLine::getFormula() const -{ - return qApp->FormulaFromUser(formula); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPointId return id first point of line - * @return id - */ -inline quint32 DialogAlongLine::getFirstPointId() const -{ - return firstPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPointId return id second point of line - * @return id - */ -inline quint32 DialogAlongLine::getSecondPointId() const -{ - return secondPointId; -} - #endif // DIALOGALONGLINE_H diff --git a/src/app/dialogs/tools/dialogarc.cpp b/src/app/dialogs/tools/dialogarc.cpp index 3aa039f17..ccf6e0f2d 100644 --- a/src/app/dialogs/tools/dialogarc.cpp +++ b/src/app/dialogs/tools/dialogarc.cpp @@ -437,3 +437,43 @@ void DialogArc::CheckAngles() DialogArc::CheckState(); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief GetCenter return id of center point + * @return id id + */ +quint32 DialogArc::GetCenter() const +{ + return center; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief GetRadius return formula of radius + * @return formula + */ +QString DialogArc::GetRadius() const +{ + return radius; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief GetF1 return formula first angle of arc + * @return formula + */ +QString DialogArc::GetF1() const +{ + return f1; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief GetF2 return formula second angle of arc + * @return formula + */ +QString DialogArc::GetF2() const +{ + return f2; +} diff --git a/src/app/dialogs/tools/dialogarc.h b/src/app/dialogs/tools/dialogarc.h index 189e86abe..004d3fcf8 100644 --- a/src/app/dialogs/tools/dialogarc.h +++ b/src/app/dialogs/tools/dialogarc.h @@ -136,44 +136,4 @@ private: void CheckAngles(); }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief GetCenter return id of center point - * @return id id - */ -inline quint32 DialogArc::GetCenter() const -{ - return center; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief GetRadius return formula of radius - * @return formula - */ -inline QString DialogArc::GetRadius() const -{ - return radius; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief GetF1 return formula first angle of arc - * @return formula - */ -inline QString DialogArc::GetF1() const -{ - return f1; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief GetF2 return formula second angle of arc - * @return formula - */ -inline QString DialogArc::GetF2() const -{ - return f2; -} - #endif // DIALOGARC_H diff --git a/src/app/dialogs/tools/dialogbisector.cpp b/src/app/dialogs/tools/dialogbisector.cpp index 015818202..2952d0c48 100644 --- a/src/app/dialogs/tools/dialogbisector.cpp +++ b/src/app/dialogs/tools/dialogbisector.cpp @@ -298,3 +298,63 @@ void DialogBisector::closeEvent(QCloseEvent *event) ui->plainTextEditFormula->blockSignals(true); DialogTool::closeEvent(event); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogBisector::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogBisector::getTypeLine() const +{ + return typeLine; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogBisector::getFormula() const +{ + return qApp->FormulaFromUser(formula); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPointId return id of first point + * @return id + */ +quint32 DialogBisector::getFirstPointId() const +{ + return firstPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPointId return id of second point + * @return id + */ +quint32 DialogBisector::getSecondPointId() const +{ + return secondPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getThirdPointId return id of third point + * @return id + */ +quint32 DialogBisector::getThirdPointId() const +{ + return thirdPointId; +} diff --git a/src/app/dialogs/tools/dialogbisector.h b/src/app/dialogs/tools/dialogbisector.h index 2cc69c2ca..36f09da07 100644 --- a/src/app/dialogs/tools/dialogbisector.h +++ b/src/app/dialogs/tools/dialogbisector.h @@ -114,64 +114,4 @@ private: }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogBisector::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogBisector::getTypeLine() const -{ - return typeLine; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogBisector::getFormula() const -{ - return qApp->FormulaFromUser(formula); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPointId return id of first point - * @return id - */ -inline quint32 DialogBisector::getFirstPointId() const -{ - return firstPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPointId return id of second point - * @return id - */ -inline quint32 DialogBisector::getSecondPointId() const -{ - return secondPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getThirdPointId return id of third point - * @return id - */ -inline quint32 DialogBisector::getThirdPointId() const -{ - return thirdPointId; -} - #endif // DIALOGBISECTOR_H diff --git a/src/app/dialogs/tools/dialogcutarc.cpp b/src/app/dialogs/tools/dialogcutarc.cpp index 247e02dd2..ed12ca626 100644 --- a/src/app/dialogs/tools/dialogcutarc.cpp +++ b/src/app/dialogs/tools/dialogcutarc.cpp @@ -196,3 +196,23 @@ QString DialogCutArc::getFormula() const { return qApp->FormulaFromUser(formula); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name point on arc + * @return name + */ +QString DialogCutArc::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getArcId return id of arc + * @return id + */ +quint32 DialogCutArc::getArcId() const +{ + return arcId; +} diff --git a/src/app/dialogs/tools/dialogcutarc.h b/src/app/dialogs/tools/dialogcutarc.h index d2cf2f288..375642524 100644 --- a/src/app/dialogs/tools/dialogcutarc.h +++ b/src/app/dialogs/tools/dialogcutarc.h @@ -91,24 +91,4 @@ private: VisToolCutArc *path; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name point on arc - * @return name - */ -inline QString DialogCutArc::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getArcId return id of arc - * @return id - */ -inline quint32 DialogCutArc::getArcId() const -{ - return arcId; -} - #endif // DIALOGCUTARC_H diff --git a/src/app/dialogs/tools/dialogcutspline.cpp b/src/app/dialogs/tools/dialogcutspline.cpp index 7ed289dcc..5894681b3 100644 --- a/src/app/dialogs/tools/dialogcutspline.cpp +++ b/src/app/dialogs/tools/dialogcutspline.cpp @@ -179,3 +179,33 @@ void DialogCutSpline::ShowVisualization() path->RefreshGeometry(); } } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogCutSpline::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogCutSpline::getFormula() const +{ + return qApp->FormulaFromUser(formula); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSplineId return id base point of line + * @return id + */ +quint32 DialogCutSpline::getSplineId() const +{ + return splineId; +} diff --git a/src/app/dialogs/tools/dialogcutspline.h b/src/app/dialogs/tools/dialogcutspline.h index 163d703c0..4eb871fa9 100644 --- a/src/app/dialogs/tools/dialogcutspline.h +++ b/src/app/dialogs/tools/dialogcutspline.h @@ -87,34 +87,4 @@ private: VisToolCutSpline *path; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogCutSpline::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogCutSpline::getFormula() const -{ - return qApp->FormulaFromUser(formula); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSplineId return id base point of line - * @return id - */ -inline quint32 DialogCutSpline::getSplineId() const -{ - return splineId; -} - #endif // DIALOGCUTSPLINE_H diff --git a/src/app/dialogs/tools/dialogcutsplinepath.cpp b/src/app/dialogs/tools/dialogcutsplinepath.cpp index 6367feae9..5eb72b3f9 100644 --- a/src/app/dialogs/tools/dialogcutsplinepath.cpp +++ b/src/app/dialogs/tools/dialogcutsplinepath.cpp @@ -179,3 +179,33 @@ void DialogCutSplinePath::ShowVisualization() path->RefreshGeometry(); } } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogCutSplinePath::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogCutSplinePath::getFormula() const +{ + return qApp->FormulaFromUser(formula); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSplineId return id base point of line + * @return id + */ +quint32 DialogCutSplinePath::getSplinePathId() const +{ + return splinePathId; +} diff --git a/src/app/dialogs/tools/dialogcutsplinepath.h b/src/app/dialogs/tools/dialogcutsplinepath.h index 063cd316b..c9cb2fca9 100644 --- a/src/app/dialogs/tools/dialogcutsplinepath.h +++ b/src/app/dialogs/tools/dialogcutsplinepath.h @@ -87,34 +87,4 @@ private: VisToolCutSplinePath *path; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogCutSplinePath::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogCutSplinePath::getFormula() const -{ - return qApp->FormulaFromUser(formula); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSplineId return id base point of line - * @return id - */ -inline quint32 DialogCutSplinePath::getSplinePathId() const -{ - return splinePathId; -} - #endif // DIALOGCUTSPLINEPATH_H diff --git a/src/app/dialogs/tools/dialogendline.cpp b/src/app/dialogs/tools/dialogendline.cpp index af11b8778..62770a73f 100644 --- a/src/app/dialogs/tools/dialogendline.cpp +++ b/src/app/dialogs/tools/dialogendline.cpp @@ -309,3 +309,53 @@ DialogEndLine::~DialogEndLine() } delete ui; } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogEndLine::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogEndLine::getTypeLine() const +{ + return typeLine; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogEndLine::getFormula() const +{ + return qApp->FormulaFromUser(formulaLength); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getAngle return formula angle of line + * @return angle formula + */ +QString DialogEndLine::getAngle() const +{ + return qApp->FormulaFromUser(formulaAngle); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getBasePointId return id base point of line + * @return id + */ +quint32 DialogEndLine::getBasePointId() const +{ + return basePointId; +} diff --git a/src/app/dialogs/tools/dialogendline.h b/src/app/dialogs/tools/dialogendline.h index 0747f4b65..5ef3cd6ca 100644 --- a/src/app/dialogs/tools/dialogendline.h +++ b/src/app/dialogs/tools/dialogendline.h @@ -107,58 +107,6 @@ private: int formulaBaseHeightAngle; VisToolEndLine *line; - - }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogEndLine::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogEndLine::getTypeLine() const -{ - return typeLine; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogEndLine::getFormula() const -{ - return qApp->FormulaFromUser(formulaLength); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getAngle return formula angle of line - * @return angle formula - */ -inline QString DialogEndLine::getAngle() const -{ - return qApp->FormulaFromUser(formulaAngle); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getBasePointId return id base point of line - * @return id - */ -inline quint32 DialogEndLine::getBasePointId() const -{ - return basePointId; -} - #endif // DIALOGENDLINE_H diff --git a/src/app/dialogs/tools/dialogheight.cpp b/src/app/dialogs/tools/dialogheight.cpp index 898ebcfe9..95acb0c79 100644 --- a/src/app/dialogs/tools/dialogheight.cpp +++ b/src/app/dialogs/tools/dialogheight.cpp @@ -263,3 +263,53 @@ void DialogHeight::ShowVisualization() line->RefreshGeometry(); } } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogHeight::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogHeight::getTypeLine() const +{ + return typeLine; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getBasePointId return id base point of height + * @return id + */ +quint32 DialogHeight::getBasePointId() const +{ + return basePointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP1LineId return id first point of line + * @return id id + */ +quint32 DialogHeight::getP1LineId() const +{ + return p1LineId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP2LineId return id second point of line + * @return id + */ +quint32 DialogHeight::getP2LineId() const +{ + return p2LineId; +} diff --git a/src/app/dialogs/tools/dialogheight.h b/src/app/dialogs/tools/dialogheight.h index 8c384b145..03950da35 100644 --- a/src/app/dialogs/tools/dialogheight.h +++ b/src/app/dialogs/tools/dialogheight.h @@ -95,54 +95,4 @@ private: VisToolHeight *line; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogHeight::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogHeight::getTypeLine() const -{ - return typeLine; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getBasePointId return id base point of height - * @return id - */ -inline quint32 DialogHeight::getBasePointId() const -{ - return basePointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP1LineId return id first point of line - * @return id id - */ -inline quint32 DialogHeight::getP1LineId() const -{ - return p1LineId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP2LineId return id second point of line - * @return id - */ -inline quint32 DialogHeight::getP2LineId() const -{ - return p2LineId; -} - #endif // DIALOGHEIGHT_H diff --git a/src/app/dialogs/tools/dialogline.cpp b/src/app/dialogs/tools/dialogline.cpp index 0c3cafc9c..11e4bd175 100644 --- a/src/app/dialogs/tools/dialogline.cpp +++ b/src/app/dialogs/tools/dialogline.cpp @@ -204,3 +204,33 @@ void DialogLine::ChosenObject(quint32 id, const SceneObject &type) } } } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPoint return id first point + * @return id + */ +quint32 DialogLine::getFirstPoint() const +{ + return firstPoint; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPoint return id second point + * @return id + */ +quint32 DialogLine::getSecondPoint() const +{ + return secondPoint; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogLine::getTypeLine() const +{ + return typeLine; +} diff --git a/src/app/dialogs/tools/dialogline.h b/src/app/dialogs/tools/dialogline.h index c08d061b0..b48bbe2a4 100644 --- a/src/app/dialogs/tools/dialogline.h +++ b/src/app/dialogs/tools/dialogline.h @@ -87,34 +87,4 @@ private: }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPoint return id first point - * @return id - */ -inline quint32 DialogLine::getFirstPoint() const -{ - return firstPoint; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPoint return id second point - * @return id - */ -inline quint32 DialogLine::getSecondPoint() const -{ - return secondPoint; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogLine::getTypeLine() const -{ - return typeLine; -} - #endif // DIALOGLINE_H diff --git a/src/app/dialogs/tools/dialoglineintersect.cpp b/src/app/dialogs/tools/dialoglineintersect.cpp index ae45b1589..25cf95713 100644 --- a/src/app/dialogs/tools/dialoglineintersect.cpp +++ b/src/app/dialogs/tools/dialoglineintersect.cpp @@ -390,3 +390,53 @@ void DialogLineIntersect::setPointName(const QString &value) pointName = value; ui->lineEditNamePoint->setText(pointName); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP1Line1 return id first point of first line + * @return id + */ +quint32 DialogLineIntersect::getP1Line1() const +{ + return p1Line1; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP2Line1 return id second point of first line + * @return id + */ +quint32 DialogLineIntersect::getP2Line1() const +{ + return p2Line1; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP1Line2 return id first point of second line + * @return id + */ +quint32 DialogLineIntersect::getP1Line2() const +{ + return p1Line2; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP2Line2 return id second point of second line + * @return id + */ +quint32 DialogLineIntersect::getP2Line2() const +{ + return p2Line2; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name of point + */ +QString DialogLineIntersect::getPointName() const +{ + return pointName; +} diff --git a/src/app/dialogs/tools/dialoglineintersect.h b/src/app/dialogs/tools/dialoglineintersect.h index 93f686f73..2f470c120 100644 --- a/src/app/dialogs/tools/dialoglineintersect.h +++ b/src/app/dialogs/tools/dialoglineintersect.h @@ -106,54 +106,4 @@ private: bool CheckIntersecion(); }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP1Line1 return id first point of first line - * @return id - */ -inline quint32 DialogLineIntersect::getP1Line1() const -{ - return p1Line1; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP2Line1 return id second point of first line - * @return id - */ -inline quint32 DialogLineIntersect::getP2Line1() const -{ - return p2Line1; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP1Line2 return id first point of second line - * @return id - */ -inline quint32 DialogLineIntersect::getP1Line2() const -{ - return p1Line2; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP2Line2 return id second point of second line - * @return id - */ -inline quint32 DialogLineIntersect::getP2Line2() const -{ - return p2Line2; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name of point - */ -inline QString DialogLineIntersect::getPointName() const -{ - return pointName; -} - #endif // DIALOGLINEINTERSECT_H diff --git a/src/app/dialogs/tools/dialognormal.cpp b/src/app/dialogs/tools/dialognormal.cpp index 53c934b03..109c38d37 100644 --- a/src/app/dialogs/tools/dialognormal.cpp +++ b/src/app/dialogs/tools/dialognormal.cpp @@ -269,3 +269,63 @@ void DialogNormal::setPointName(const QString &value) pointName = value; ui->lineEditNamePoint->setText(pointName); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogNormal::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogNormal::getTypeLine() const +{ + return typeLine; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogNormal::getFormula() const +{ + return qApp->FormulaFromUser(formula); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getAngle return aditional angle of normal + * @return angle in degree + */ +qreal DialogNormal::getAngle() const +{ + return angle; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPointId return id of first point + * @return id + */ +quint32 DialogNormal::getFirstPointId() const +{ + return firstPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPointId return id of second point + * @return id + */ +quint32 DialogNormal::getSecondPointId() const +{ + return secondPointId; +} diff --git a/src/app/dialogs/tools/dialognormal.h b/src/app/dialogs/tools/dialognormal.h index 0b346d473..cdeb8d5b2 100644 --- a/src/app/dialogs/tools/dialognormal.h +++ b/src/app/dialogs/tools/dialognormal.h @@ -113,64 +113,4 @@ private: VisToolNormal *line; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogNormal::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogNormal::getTypeLine() const -{ - return typeLine; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogNormal::getFormula() const -{ - return qApp->FormulaFromUser(formula); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getAngle return aditional angle of normal - * @return angle in degree - */ -inline qreal DialogNormal::getAngle() const -{ - return angle; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPointId return id of first point - * @return id - */ -inline quint32 DialogNormal::getFirstPointId() const -{ - return firstPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPointId return id of second point - * @return id - */ -inline quint32 DialogNormal::getSecondPointId() const -{ - return secondPointId; -} - #endif // DIALOGNORMAL_H diff --git a/src/app/dialogs/tools/dialogpointofcontact.cpp b/src/app/dialogs/tools/dialogpointofcontact.cpp index 27e6e3ae3..862989aa2 100644 --- a/src/app/dialogs/tools/dialogpointofcontact.cpp +++ b/src/app/dialogs/tools/dialogpointofcontact.cpp @@ -296,3 +296,53 @@ void DialogPointOfContact::setPointName(const QString &value) pointName = value; ui->lineEditNamePoint->setText(pointName); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogPointOfContact::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getRadius return formula radius of arc + * @return formula + */ +QString DialogPointOfContact::getRadius() const +{ + return radius; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief GetCenter return id of center point + * @return id + */ +quint32 DialogPointOfContact::getCenter() const +{ + return center; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPoint return id first point + * @return id + */ +quint32 DialogPointOfContact::getFirstPoint() const +{ + return firstPoint; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPoint return id second point + * @return id + */ +quint32 DialogPointOfContact::getSecondPoint() const +{ + return secondPoint; +} diff --git a/src/app/dialogs/tools/dialogpointofcontact.h b/src/app/dialogs/tools/dialogpointofcontact.h index 2b7126f3e..2fef8c4fc 100644 --- a/src/app/dialogs/tools/dialogpointofcontact.h +++ b/src/app/dialogs/tools/dialogpointofcontact.h @@ -108,54 +108,4 @@ private: VisToolPointOfContact *line; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogPointOfContact::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getRadius return formula radius of arc - * @return formula - */ -inline QString DialogPointOfContact::getRadius() const -{ - return radius; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief GetCenter return id of center point - * @return id - */ -inline quint32 DialogPointOfContact::getCenter() const -{ - return center; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPoint return id first point - * @return id - */ -inline quint32 DialogPointOfContact::getFirstPoint() const -{ - return firstPoint; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPoint return id second point - * @return id - */ -inline quint32 DialogPointOfContact::getSecondPoint() const -{ - return secondPoint; -} - #endif // DIALOGPOINTOFCONTACT_H diff --git a/src/app/dialogs/tools/dialogpointofintersection.cpp b/src/app/dialogs/tools/dialogpointofintersection.cpp index 5f565ddeb..11420fa44 100644 --- a/src/app/dialogs/tools/dialogpointofintersection.cpp +++ b/src/app/dialogs/tools/dialogpointofintersection.cpp @@ -200,3 +200,33 @@ void DialogPointOfIntersection::setPointName(const QString &value) pointName = value; ui->lineEditNamePoint->setText(pointName); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogPointOfIntersection::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPointId return id of first point + * @return id + */ +quint32 DialogPointOfIntersection::getFirstPointId() const +{ + return firstPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPointId return id of second point + * @return id + */ +quint32 DialogPointOfIntersection::getSecondPointId() const +{ + return secondPointId; +} diff --git a/src/app/dialogs/tools/dialogpointofintersection.h b/src/app/dialogs/tools/dialogpointofintersection.h index 00fb7648b..3ca3b4f8f 100644 --- a/src/app/dialogs/tools/dialogpointofintersection.h +++ b/src/app/dialogs/tools/dialogpointofintersection.h @@ -83,34 +83,4 @@ private: VisToolPointOfIntersection *line; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogPointOfIntersection::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPointId return id of first point - * @return id - */ -inline quint32 DialogPointOfIntersection::getFirstPointId() const -{ - return firstPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPointId return id of second point - * @return id - */ -inline quint32 DialogPointOfIntersection::getSecondPointId() const -{ - return secondPointId; -} - #endif // DIALOGPOINTOFINTERSECTION_H diff --git a/src/app/dialogs/tools/dialogshoulderpoint.cpp b/src/app/dialogs/tools/dialogshoulderpoint.cpp index cee6737cb..359ddd072 100644 --- a/src/app/dialogs/tools/dialogshoulderpoint.cpp +++ b/src/app/dialogs/tools/dialogshoulderpoint.cpp @@ -297,3 +297,63 @@ void DialogShoulderPoint::setPointName(const QString &value) pointName = value; ui->lineEditNamePoint->setText(pointName); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogShoulderPoint::getPointName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getTypeLine return type of line + * @return type + */ +QString DialogShoulderPoint::getTypeLine() const +{ + return typeLine; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFormula return string of formula + * @return formula + */ +QString DialogShoulderPoint::getFormula() const +{ + return qApp->FormulaFromUser(formula); +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP1Line return id first point of line + * @return id + */ +quint32 DialogShoulderPoint::getP1Line() const +{ + return p1Line; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getP2Line return id second point of line + * @return id + */ +quint32 DialogShoulderPoint::getP2Line() const +{ + return p2Line; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPShoulder return id shoulder point + * @return id + */ +quint32 DialogShoulderPoint::getP3() const +{ + return pShoulder; +} diff --git a/src/app/dialogs/tools/dialogshoulderpoint.h b/src/app/dialogs/tools/dialogshoulderpoint.h index 47c1d489c..66dd2f0d4 100644 --- a/src/app/dialogs/tools/dialogshoulderpoint.h +++ b/src/app/dialogs/tools/dialogshoulderpoint.h @@ -112,64 +112,4 @@ private: VisToolShoulderPoint *line; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogShoulderPoint::getPointName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getTypeLine return type of line - * @return type - */ -inline QString DialogShoulderPoint::getTypeLine() const -{ - return typeLine; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFormula return string of formula - * @return formula - */ -inline QString DialogShoulderPoint::getFormula() const -{ - return qApp->FormulaFromUser(formula); -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP1Line return id first point of line - * @return id - */ -inline quint32 DialogShoulderPoint::getP1Line() const -{ - return p1Line; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getP2Line return id second point of line - * @return id - */ -inline quint32 DialogShoulderPoint::getP2Line() const -{ - return p2Line; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPShoulder return id shoulder point - * @return id - */ -inline quint32 DialogShoulderPoint::getP3() const -{ - return pShoulder; -} - #endif // DIALOGSHOULDERPOINT_H diff --git a/src/app/dialogs/tools/dialogsinglepoint.cpp b/src/app/dialogs/tools/dialogsinglepoint.cpp index 3c95d069c..23a0f4ba4 100644 --- a/src/app/dialogs/tools/dialogsinglepoint.cpp +++ b/src/app/dialogs/tools/dialogsinglepoint.cpp @@ -107,3 +107,23 @@ DialogSinglePoint::~DialogSinglePoint() { delete ui; } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getName return name + * @return name + */ +QString DialogSinglePoint::getName() const +{ + return pointName; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPoint return point + * @return point + */ +QPointF DialogSinglePoint::getPoint() const +{ + return point; +} diff --git a/src/app/dialogs/tools/dialogsinglepoint.h b/src/app/dialogs/tools/dialogsinglepoint.h index 86e489ab9..80b6ee226 100644 --- a/src/app/dialogs/tools/dialogsinglepoint.h +++ b/src/app/dialogs/tools/dialogsinglepoint.h @@ -66,24 +66,4 @@ private: QPointF point; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getName return name - * @return name - */ -inline QString DialogSinglePoint::getName() const -{ - return pointName; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPoint return point - * @return point - */ -inline QPointF DialogSinglePoint::getPoint() const -{ - return point; -} - #endif // DIALOGSINGLEPOINT_H diff --git a/src/app/dialogs/tools/dialogspline.cpp b/src/app/dialogs/tools/dialogspline.cpp index 3590fdde4..26c753773 100644 --- a/src/app/dialogs/tools/dialogspline.cpp +++ b/src/app/dialogs/tools/dialogspline.cpp @@ -294,3 +294,53 @@ quint32 DialogSpline::getP4() const { return p4; } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getAngle1 return first angle of spline + * @return angle in degree + */ +qreal DialogSpline::getAngle1() const +{ + return angle1; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getAngle2 return second angle of spline + * @return angle in degree + */ +qreal DialogSpline::getAngle2() const +{ + return angle2; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getKAsm1 return first coefficient asymmetry + * @return value. Can be >= 0. + */ +qreal DialogSpline::getKAsm1() const +{ + return kAsm1; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getKAsm2 return second coefficient asymmetry + * @return value. Can be >= 0. + */ +qreal DialogSpline::getKAsm2() const +{ + return kAsm2; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getKCurve return coefficient curve + * @return value. Can be >= 0. + */ +qreal DialogSpline::getKCurve() const +{ + return kCurve; +} diff --git a/src/app/dialogs/tools/dialogspline.h b/src/app/dialogs/tools/dialogspline.h index 20d97f396..540c034e5 100644 --- a/src/app/dialogs/tools/dialogspline.h +++ b/src/app/dialogs/tools/dialogspline.h @@ -111,54 +111,4 @@ private: VisToolSpline *path; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getAngle1 return first angle of spline - * @return angle in degree - */ -inline qreal DialogSpline::getAngle1() const -{ - return angle1; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getAngle2 return second angle of spline - * @return angle in degree - */ -inline qreal DialogSpline::getAngle2() const -{ - return angle2; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getKAsm1 return first coefficient asymmetry - * @return value. Can be >= 0. - */ -inline qreal DialogSpline::getKAsm1() const -{ - return kAsm1; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getKAsm2 return second coefficient asymmetry - * @return value. Can be >= 0. - */ -inline qreal DialogSpline::getKAsm2() const -{ - return kAsm2; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getKCurve return coefficient curve - * @return value. Can be >= 0. - */ -inline qreal DialogSpline::getKCurve() const -{ - return kCurve; -} - #endif // DIALOGSPLINE_H diff --git a/src/app/dialogs/tools/dialogtriangle.cpp b/src/app/dialogs/tools/dialogtriangle.cpp index a0a21e7a3..e61fced17 100644 --- a/src/app/dialogs/tools/dialogtriangle.cpp +++ b/src/app/dialogs/tools/dialogtriangle.cpp @@ -275,3 +275,53 @@ void DialogTriangle::setAxisP1Id(const quint32 &value) setPointId(ui->comboBoxAxisP1, axisP1Id, value); line->setPoint1Id(axisP1Id); } + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getAxisP1Id return id first point of axis + * @return id + */ +quint32 DialogTriangle::getAxisP1Id() const +{ + return axisP1Id; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getAxisP2Id return id second point of axis + * @return id + */ +quint32 DialogTriangle::getAxisP2Id() const +{ + return axisP2Id; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getFirstPointId return id of first point + * @return id + */ +quint32 DialogTriangle::getFirstPointId() const +{ + return firstPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getSecondPointId return id of second point + * @return id + */ +quint32 DialogTriangle::getSecondPointId() const +{ + return secondPointId; +} + +//--------------------------------------------------------------------------------------------------------------------- +/** + * @brief getPointName return name of point + * @return name + */ +QString DialogTriangle::getPointName() const +{ + return pointName; +} diff --git a/src/app/dialogs/tools/dialogtriangle.h b/src/app/dialogs/tools/dialogtriangle.h index 9ca29765c..8b1577b37 100644 --- a/src/app/dialogs/tools/dialogtriangle.h +++ b/src/app/dialogs/tools/dialogtriangle.h @@ -96,54 +96,4 @@ private: VisToolTriangle *line; }; -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getAxisP1Id return id first point of axis - * @return id - */ -inline quint32 DialogTriangle::getAxisP1Id() const -{ - return axisP1Id; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getAxisP2Id return id second point of axis - * @return id - */ -inline quint32 DialogTriangle::getAxisP2Id() const -{ - return axisP2Id; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getFirstPointId return id of first point - * @return id - */ -inline quint32 DialogTriangle::getFirstPointId() const -{ - return firstPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getSecondPointId return id of second point - * @return id - */ -inline quint32 DialogTriangle::getSecondPointId() const -{ - return secondPointId; -} - -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief getPointName return name of point - * @return name - */ -inline QString DialogTriangle::getPointName() const -{ - return pointName; -} - #endif // DIALOGTRIANGLE_H