54class PolarPointF final
60 explicit PolarPointF() =
default;
65 PolarPointF(
const PolarPointF &other) =
default;
70 PolarPointF(PolarPointF &&other)
noexcept =
default;
72 explicit PolarPointF(
const double newRadius,
const double newAngleDegree);
74 explicit PolarPointF(
const QPointF cartesianCoordiantes);
90 PolarPointF &operator=(
const PolarPointF &other) =
default;
97 PolarPointF &operator=(PolarPointF &&other)
noexcept =
default;
99 [[nodiscard]]
double angleDegree()
const;
101 [[nodiscard]]
bool isSamePoint(
const PolarPointF other)
const;
103 [[nodiscard]]
double radius()
const;
109 double m_angleDegree{0};
119Q_DECLARE_METATYPE(PerceptualColor::PolarPointF)
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:07:52 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.