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

A single triangle. More...

#include <ZoneData.hpp>

+ Inheritance diagram for ZoneData:
+ Collaboration diagram for ZoneData:

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.

Definition at line 37 of file ZoneData.hpp.

Member Function Documentation

int ZoneData::getNrOfStars ( ) const

Get number of stars in this triangle.

Definition at line 40 of file ZoneData.hpp.

The documentation for this struct was generated from the following file: