\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.7 - STL Extensions for CGAL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Threetuple< T > Class Template Reference

#include <CGAL/Threetuple.h>

Definition

Deprecated:
This class is deprecated, and will be removed in some future CGAL release. Please use CGAL::cpp11::array instead.

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

e0
 first element More...
 
e1
 second element More...
 
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...
 

Member Typedef Documentation

template<typename T >
typedef T CGAL::Threetuple< T >::value_type

Constructor & Destructor Documentation

template<typename T >
CGAL::Threetuple< T >::Threetuple ( )

introduces a Threetuple using the default constructor of the elements.

template<typename T >
CGAL::Threetuple< T >::Threetuple ( x,
y,
z 
)

constructs a Threetuple such that e0 is constructed from x, e1 is constructed from y and e2 is constructed from z.

Member Data Documentation

template<typename T >
T CGAL::Threetuple< T >::e0

first element

template<typename T >
T CGAL::Threetuple< T >::e1

second element

template<typename T >
T CGAL::Threetuple< T >::e2

third element