Kstars
rectangleoverlap.cpp
87RectangleOverlap::RectangleOverlap(const QPointF ¢er, int width, int height, double rotationDegrees)
92bool RectangleOverlap::intersects(const QPointF ¢er, int width, int height, double rotationDegrees) const
102 // According to the Separating Axis Theorum, two rectangles do not overlap if none of their axes
bool intersects(const QPointF ¢er, int width, int height, double rotationDegrees=0.0) const
Check if the input rectangle overlaps the reference rectangle.
Definition rectangleoverlap.cpp:92
RectangleOverlap(const QPointF ¢er, int width, int height, double rotationDegrees=0.0)
Constructor specifying reference rectangle.
Definition rectangleoverlap.cpp:87
void push_back(parameter_type value)
qsizetype size() const const
qreal x() const const
qreal y() const const
QTextStream & center(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.