Sets of points on the board. More...
#include <algorithm>#include <bitset>#include <cstring>#include <iosfwd>#include <memory>#include "SgArray.h"#include "SgPoint.h"#include "SgRect.h"#include "SgVector.h"Go to the source code of this file.
Classes | |
| class | SgPointSet |
| Set of points. More... | |
| class | SgPointSet::PrecompAllPoints |
| Precomputed point sets with all points depending on board size. More... | |
| class | SgSetIterator |
| Iterator to iterate through 'set'. More... | |
| class | SgSimpleSet |
| Point set efficient for marking and testing. More... | |
Functions | |
| SgPointSet | operator- (const SgPointSet &L, const SgPointSet &R) |
| Compute difference between point sets. | |
| SgPointSet | operator& (const SgPointSet &L, const SgPointSet &R) |
| Compute intersection between point sets. | |
| SgPointSet | operator| (const SgPointSet &L, const SgPointSet &R) |
| Compute union between point sets. | |
| SgPointSet | operator^ (const SgPointSet &L, const SgPointSet &R) |
| Compute XOR between point sets. | |
Sets of points on the board.
Definition in file SgPointSet.h.
| SgPointSet operator& | ( | const SgPointSet & | L, | |
| const SgPointSet & | R | |||
| ) |
Compute intersection between point sets.
Definition at line 217 of file SgPointSet.h.
| SgPointSet operator- | ( | const SgPointSet & | L, | |
| const SgPointSet & | R | |||
| ) |
Compute difference between point sets.
Definition at line 210 of file SgPointSet.h.
| SgPointSet operator^ | ( | const SgPointSet & | L, | |
| const SgPointSet & | R | |||
| ) |
Compute XOR between point sets.
Definition at line 231 of file SgPointSet.h.
| SgPointSet operator| | ( | const SgPointSet & | L, | |
| const SgPointSet & | R | |||
| ) |
Compute union between point sets.
Definition at line 224 of file SgPointSet.h.