Kstars
houghline.cpp
84 qCDebug(KSTARS_FITS) << "Houghline: [score: " << score << ", r: " << r << ", theta: " << theta << " [rad]="
94 HoughLine::IntersectResult HoughLine::Intersect(const HoughLine& other_line, QPointF& intersection)
99 double nume_a = ((other_line.p2().x() - other_line.p1().x()) * (p1().y() - other_line.p1().y())) -
134 bool HoughLine::DistancePointLine(const QPointF& point, QPointF& intersection, double& distance)
160 void HoughLine::getSortedTopThreeLines(QVector<HoughLine*> &houghLines, QVector<HoughLine*> &top3Lines)
168 // Verify the angle of these lines with regard to the bahtinov mask angle, correct the angle if necessary
Definition: houghline.h:22
QVector::iterator begin()
QVector< T > mid(int pos, int length) const const
KOSM_EXPORT double distance(const std::vector< const OSM::Node * > &path, Coordinate coord)
void setX(qreal x)
void setY(qreal y)
qreal length() const const
HoughLine(double theta, double r, int width, int height, int score)
Initialises the hough line.
Definition: houghline.cpp:16
QVector::iterator end()
qreal x() const const
qreal y() const const
void setP1(const QPointF &p1)
void setP2(const QPointF &p2)
qreal y2() const const
IntersectResult Intersect(const HoughLine &other_line, QPointF &intersection)
Sources for intersection and distance calculations came from http://paulbourke.net/geometry/pointline...
Definition: houghline.cpp:94
qreal x1() const const
qreal x2() const const
QPointF p1() const const
QPointF p2() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.