Kstars

modcalcangdist.h
1 /*
2  SPDX-FileCopyrightText: 2004 Pablo de Vicente <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "ui_modcalcangdist.h"
10 
11 class dms;
12 class dmsBox;
13 class SkyPoint;
14 class QTextStream;
15 
16 /**
17  * Module to compute the angular distance between two points in the sky and position angle.
18  *
19  * @author Pablo de Vicente
20  * @author Jasem Mutlaq
21  * @version 1.0
22  */
23 class modCalcAngDist : public QFrame, public Ui::modCalcAngDistDlg
24 {
25  Q_OBJECT
26  public:
27  /**Constructor. */
28  explicit modCalcAngDist(QWidget *p);
29 
30  virtual ~modCalcAngDist() override = default;
31 
32  public slots:
33  void slotValidatePositions();
34  void slotObjectButton();
35  void slotResetTitle();
36  void slotRunBatch();
37 
38  private:
39  /** Process Lines **/
40  void processLines(QTextStream &istream);
41 
42  /** @returns a SkyPoint constructed from the coordinates in the RA and Dec dmsBoxes. */
43  SkyPoint getCoords(dmsBox *rBox, dmsBox *dBox, bool *ok);
44 };
Q_OBJECTQ_OBJECT
modCalcAngDist(QWidget *p)
Constructor.
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
Module to compute the angular distance between two points in the sky and position angle.
An angle, stored as degrees, but expressible in many ways.
Definition: dms.h:37
Definition: dmsbox.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:04:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.