Kstars

stardata.h
1 /*
2  SPDX-FileCopyrightText: 2008 Akarsh Simha <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QtGlobal>
10 
11 /**
12  * @short A 32-byte Structure that holds star data
13  *
14  * @author Akarsh Simha
15  * @version 1.0
16  */
17 struct StarData
18 {
19  qint32 RA { 0 }; /**< Raw signed 32-bit RA value. Needs to be multiplied by the scale (1e6) */
20  qint32 Dec { 0 }; /**< Raw signed 32-bit DE value. Needs to be multiplied by the scale (1e6) */
21  qint32 dRA { 0 };
22  qint32 dDec { 0 };
23  qint32 parallax { 0 };
24  qint32 HD { 0 }; /**< unsigned 32-bit Henry Draper Index. No scaling is required. */
25  qint16 mag { 0 }; /**< signed 16-bit raw magnitude. Needs to be divided by the scale (1e2) */
26  qint16 bv_index { 0 };
27  char spec_type[2];
28  char flags { 0 };
29  char unused { 0 };
30 };
A 32-byte Structure that holds star data.
Definition: stardata.h:17
qint32 RA
Raw signed 32-bit RA value.
Definition: stardata.h:19
qint32 HD
unsigned 32-bit Henry Draper Index.
Definition: stardata.h:24
qint16 mag
signed 16-bit raw magnitude.
Definition: stardata.h:25
qint32 Dec
Raw signed 32-bit DE value.
Definition: stardata.h:20
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 29 2023 03:56:59 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.