DGtal 1.3.0
|
Functions | |
template<typename Container > | |
Container & | operator-= (Container &S1, const Container &S2) |
template<typename Container > | |
Container | operator- (const Container &S1, const Container &S2) |
template<typename Container > | |
Container | operator| (const Container &S1, const Container &S2) |
template<typename Container > | |
Container & | operator|= (Container &S1, const Container &S2) |
template<typename Container > | |
Container | operator& (const Container &S1, const Container &S2) |
template<typename Container > | |
Container & | operator&= (Container &S1, const Container &S2) |
template<typename Container > | |
Container | operator^ (const Container &S1, const Container &S2) |
template<typename Container > | |
Container & | operator^= (Container &S1, const Container &S2) |
Contains set operator union |, intersection &, difference -, symmetric difference ^.
|
inline |
Set intersection operation. Returns the set \( S1 \cap S2 \).
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1332 of file SetFunctions.h.
References DGtal::functions::makeIntersection(), and operator&().
Referenced by operator&().
|
inline |
Set intersection operation. Updates the set S1 as \( S1 \cap S2 \).
[in,out] | S1 | an input set, \( S1 \cap S2 \) as output. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1346 of file SetFunctions.h.
References DGtal::functions::assignIntersection().
|
inline |
Set difference operation. Returns the difference of S1 - S2.
[in] | S1 | an input set |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1288 of file SetFunctions.h.
References DGtal::functions::makeDifference(), and operator-().
Referenced by operator-().
|
inline |
Set difference operation. Updates the set S1 as S1 - S2.
[in,out] | S1 | an input set, S1 - S2 as output. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1272 of file SetFunctions.h.
References DGtal::functions::assignDifference().
|
inline |
Set symmetric difference operation. Returns the set \( S1 \Delta S2 \).
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1362 of file SetFunctions.h.
References DGtal::functions::makeSymmetricDifference(), and operator^().
Referenced by operator^().
|
inline |
Set symmetric difference operation. Updates the set S1 as \( S1 \Delta S2 \).
[in,out] | S1 | an input set, \( S1 \Delta S2 \) as output. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1378 of file SetFunctions.h.
References DGtal::functions::assignSymmetricDifference().
|
inline |
Set union operation. Returns the set \( S1 \cup S2 \).
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1303 of file SetFunctions.h.
References DGtal::functions::makeUnion().
|
inline |
Set union operation. Updates the set S1 as \( S1 \cup S2 \).
[in,out] | S1 | an input set, \( S1 \cup S2 \) as output. |
[in] | S2 | another input set. |
Container | any type of container (even a sequence, a set, an unordered_set, a map, etc). |
Definition at line 1317 of file SetFunctions.h.
References DGtal::functions::assignUnion().