Stellarium 0.13.0
List of all members | Public Member Functions | Public Attributes
ZoneData Struct Reference

A single triangle. More...

#include <ZoneData.hpp>

Public Member Functions

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

Public Attributes

Vec3f center
 
Vec3f axis0
 
Vec3f axis1
 
int size
 
void * stars
 

Detailed Description

A single triangle.

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.

Member Function Documentation

int ZoneData::getNrOfStars ( ) const
inline

Get number of stars in this triangle.