Stellarium  0.17.0
Public Member Functions | Data Fields
ZoneData Struct Reference

A single triangle. More...

#include <ZoneData.hpp>

Public Member Functions

int getNrOfStars () const
 Get number of stars in this triangle.

Data Fields

Vec3f center
Vec3f axis0
Vec3f axis1
int size
void * stars

Detailed Description

The stars are arranged in triangular zones according to StelGeodesicGrid. Bright stars (Star1) are stored in zones with small level, whereas fainter stars (Star2,Star3) are stored in zones with higher level. A ZoneData contains stars of a given type (Star1,Star2 or Star3) of a given triangle and level of the StelGeodesicGrid.