|
CGAL 4.7 - STL Extensions for CGAL
|
#include <CGAL/Threetuple.h>
The Threetuple class stores a homogeneous (same type) triple of objects of type T. A Threetuple is much like a container, in that it "owns" its elements. It is not actually a model of container, though, because it does not support the standard methods (such as iterators) for accessing the elements of a container.
Requirements
T must be Assignable.
Types | |
| typedef T | value_type |
Variables | |
| T | e0 |
| first element More... | |
| T | e1 |
| second element More... | |
| T | e2 |
| third element More... | |
Creation | |
| Threetuple () | |
introduces a Threetuple using the default constructor of the elements. More... | |
| Threetuple (T x, T y, T z) | |
constructs a Threetuple such that e0 is constructed from x, e1 is constructed from y and e2 is constructed from z. More... | |
| typedef T CGAL::Threetuple< T >::value_type |
| CGAL::Threetuple< T >::Threetuple | ( | ) |
introduces a Threetuple using the default constructor of the elements.
| CGAL::Threetuple< T >::Threetuple | ( | T | x, |
| T | y, | ||
| T | z | ||
| ) |
constructs a Threetuple such that e0 is constructed from x, e1 is constructed from y and e2 is constructed from z.
| T CGAL::Threetuple< T >::e0 |
first element
| T CGAL::Threetuple< T >::e1 |
second element
| T CGAL::Threetuple< T >::e2 |
third element