Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgPointSet.h File Reference


Detailed Description

Sets of points on the board.

Definition in file SgPointSet.h.

#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.


Function Documentation

SgPointSet operator & ( const SgPointSet L,
const SgPointSet R 
)

Compute intersection between point sets.

Definition at line 227 of file SgPointSet.h.

SgPointSet operator- ( const SgPointSet L,
const SgPointSet R 
)

Compute difference between point sets.

Definition at line 219 of file SgPointSet.h.

SgPointSet operator^ ( const SgPointSet L,
const SgPointSet R 
)

Compute XOR between point sets.

Definition at line 243 of file SgPointSet.h.

SgPointSet operator| ( const SgPointSet L,
const SgPointSet R 
)

Compute union between point sets.

Definition at line 235 of file SgPointSet.h.


17 Jun 2010 Doxygen 1.4.7