• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • edu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • extragear
  • edu
  • kstars
  • kstars
  • hips
Macros | Functions | Variables
healpix.cpp File Reference
#include "healpix.h"
#include <QMatrix4x4>
#include "hipsmanager.h"
#include "skypoint.h"
#include "kstarsdata.h"
#include "geolocation.h"
Include dependency graph for healpix.cpp:

Go to the source code of this file.

Macros

#define X(a)   Y(a),Y(a+4),Y(a+1024),Y(a+1028)
 
#define X(a)   Y(a##0), Y(a##1), Y(a##4), Y(a##5)
 
#define Y(a)   Z(a),Z(a+2),Z(a+512),Z(a+514)
 
#define Y(a)   Z(a##0), Z(a##1), Z(a##4), Z(a##5)
 
#define Z(a)   a,a+1,a+256,a+257
 
#define Z(a)   0x##a##0, 0x##a##1, 0x##a##4, 0x##a##5
 

Functions

static double fmodulo (double v1, double v2)
 
static int nside2order (qint32 nside)
 
static int64_t spread_bits64 (int v)
 
static int xyf2nest (int nside, int ix, int iy, int face_num)
 

Variables

static const short ctab []
 
static short facearray [9][12]
 
static const double inv_halfpi = 0.6366197723675813430755350534900574
 
static const int jpll [] = { 1,3,5,7,0,2,4,6,1,3,5,7 }
 
static const int jrll [] = { 2,2,2,2,3,3,3,3,4,4,4,4 }
 
static uchar swaparray [9][12]
 
static const double twopi = 6.283185307179586476925286766559005768394
 
static const double twothird = 2.0/3.0
 
static const short utab []
 
static short xoffset [] = { -1,-1, 0, 1, 1, 1, 0,-1 }
 
static short yoffset [] = { 0, 1, 1, 1, 0,-1,-1,-1 }
 

Macro Definition Documentation

#define X (   a)    Y(a),Y(a+4),Y(a+1024),Y(a+1028)
#define X (   a)    Y(a##0), Y(a##1), Y(a##4), Y(a##5)
#define Y (   a)    Z(a),Z(a+2),Z(a+512),Z(a+514)
#define Y (   a)    Z(a##0), Z(a##1), Z(a##4), Z(a##5)
#define Z (   a)    a,a+1,a+256,a+257
#define Z (   a)    0x##a##0, 0x##a##1, 0x##a##4, 0x##a##5

Function Documentation

static double fmodulo ( double  v1,
double  v2 
)
static

Definition at line 94 of file healpix.cpp.

static int nside2order ( qint32  nside)
static

Definition at line 264 of file healpix.cpp.

static int64_t spread_bits64 ( int  v)
static

Definition at line 226 of file healpix.cpp.

static int xyf2nest ( int  nside,
int  ix,
int  iy,
int  face_num 
)
static

Definition at line 235 of file healpix.cpp.

Variable Documentation

const short ctab[]
static
Initial value:
= {
#define Z(a)
#define Y(a)
#define X(a)
X(0),X(8),X(2048),X(2056)
}
X
#define X(a)

Definition at line 49 of file healpix.cpp.

short facearray[9][12]
static
Initial value:
=
{ { 8, 9,10,11,-1,-1,-1,-1,10,11, 8, 9 },
{ 5, 6, 7, 4, 8, 9,10,11, 9,10,11, 8 },
{ -1,-1,-1,-1, 5, 6, 7, 4,-1,-1,-1,-1 },
{ 4, 5, 6, 7,11, 8, 9,10,11, 8, 9,10 },
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11 },
{ 1, 2, 3, 0, 0, 1, 2, 3, 5, 6, 7, 4 },
{ -1,-1,-1,-1, 7, 4, 5, 6,-1,-1,-1,-1 },
{ 3, 0, 1, 2, 3, 0, 1, 2, 4, 5, 6, 7 },
{ 2, 3, 0, 1,-1,-1,-1,-1, 0, 1, 2, 3 } }

Definition at line 72 of file healpix.cpp.

const double inv_halfpi = 0.6366197723675813430755350534900574
static

Definition at line 44 of file healpix.cpp.

const int jpll[] = { 1,3,5,7,0,2,4,6,1,3,5,7 }
static

Definition at line 47 of file healpix.cpp.

const int jrll[] = { 2,2,2,2,3,3,3,3,4,4,4,4 }
static

Definition at line 46 of file healpix.cpp.

uchar swaparray[9][12]
static
Initial value:
=
{ { 0,0,3 },
{ 0,0,6 },
{ 0,0,0 },
{ 0,0,5 },
{ 0,0,0 },
{ 5,0,0 },
{ 0,0,0 },
{ 6,0,0 },
{ 3,0,0 } }

Definition at line 83 of file healpix.cpp.

const double twopi = 6.283185307179586476925286766559005768394
static

Definition at line 43 of file healpix.cpp.

const double twothird = 2.0/3.0
static

Definition at line 42 of file healpix.cpp.

const short utab[]
static
Initial value:
={
#define Z(a)
#define Y(a)
#define X(a)
X(0),X(1),X(4),X(5)
}
X
#define X(a)

Definition at line 59 of file healpix.cpp.

short xoffset[] = { -1,-1, 0, 1, 1, 1, 0,-1 }
static

Definition at line 69 of file healpix.cpp.

short yoffset[] = { 0, 1, 1, 1, 0,-1,-1,-1 }
static

Definition at line 70 of file healpix.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 7 2019 03:50:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

edu API Reference

Skip menu "edu API Reference"
  •     core
  • kstars

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal