CGAL 5.1 - Geometric Object Generators
|
#include <Concepts/CombinationElement.h>
A CombinationElement can be used as template parameter for the class Combination_enumerator<CombinationElement>
.
Any integer type (char
, short
, int
, long
, etc.)
Pointers
Random access iterators
Combination_enumerator<CombinationElement>
Creation | |
CombinationElement (const CombinationElement &e2) | |
Copy constructor. More... | |
Types | |
typedef unspecified_type | value_type |
the type of point being generated. More... | |
Operations | |
void | operator++ () |
Incrementation. More... | |
void | operator-- () |
Decrementation. More... | |
bool | operator< (const CombinationElement &e2) |
Total order comparison. More... | |
bool | operator== (const CombinationElement &e2) |
Equality test. More... | |
CombinationElement | operator+ (int i) |
Equivalent to calling ++(*this) i times if i is positive. More... | |
int | operator- (const CombinationElement &e2) |
Equivalent to calling ++(*this) i times if i is positive. More... | |
typedef unspecified_type CombinationElement::value_type |
the type of point being generated.
CombinationElement::CombinationElement | ( | const CombinationElement & | e2 | ) |
Copy constructor.
CombinationElement CombinationElement::operator+ | ( | int | i | ) |
Equivalent to calling ++(*this)
i
times if i is positive.
Equivalent to calling --(*this)
-i
times if i is negative.
void CombinationElement::operator++ | ( | ) |
Incrementation.
int CombinationElement::operator- | ( | const CombinationElement & | e2 | ) |
Equivalent to calling ++(*this) i
times if i is positive.
Equivalent to calling –(*this) -i
times if i is negative.
void CombinationElement::operator-- | ( | ) |
Decrementation.
bool CombinationElement::operator< | ( | const CombinationElement & | e2 | ) |
Total order comparison.
bool CombinationElement::operator== | ( | const CombinationElement & | e2 | ) |
Equality test.