Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/structTriplet.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:21:16 2014 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п |
![]() |
Stellarium 0.12.3
|
A simple struct holding a triplet of values of some type. More...
#include <Triplet.hpp>
Public Member Functions | |
Triplet () | |
Default constructor for collections. More... | |
Triplet (const T &a, const T &b, const T &c) | |
Construct a triplet from three values. More... | |
Public Attributes | |
T | a |
First, second, and third element of the triplet. More... | |
T | b |
T | c |
A simple struct holding a triplet of values of some type.
Safer and more readable than using fixed-size arrays and passing them as pointers.
Used e.g. for triangles.
Definition at line 29 of file Triplet.hpp.
Default constructor for collections.
Definition at line 35 of file Triplet.hpp.
Construct a triplet from three values.
Definition at line 38 of file Triplet.hpp.
T Triplet< T >::a |
First, second, and third element of the triplet.
Definition at line 32 of file Triplet.hpp.