File indexing completed on 2024-04-21 14:46:46

0001 /*
0002     SPDX-FileCopyrightText: 2008 Akarsh Simha <akarshsimha@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QtGlobal>
0010 
0011 /**
0012  * @short  A 32-byte Structure that holds star data
0013  *
0014  * @author Akarsh Simha
0015  * @version 1.0
0016  */
0017 struct StarData
0018 {
0019     qint32 RA { 0 };  /**< Raw signed 32-bit RA value. Needs to be multiplied by the scale (1e6) */
0020     qint32 Dec { 0 }; /**< Raw signed 32-bit DE value. Needs to be multiplied by the scale (1e6) */
0021     qint32 dRA { 0 };
0022     qint32 dDec { 0 };
0023     qint32 parallax { 0 };
0024     qint32 HD { 0 };  /**< unsigned 32-bit Henry Draper Index. No scaling is required. */
0025     qint16 mag { 0 }; /**< signed 16-bit raw magnitude. Needs to be divided by the scale (1e2) */
0026     qint16 bv_index { 0 };
0027     char spec_type[2];
0028     char flags { 0 };
0029     char unused { 0 };
0030 };