Pair of SgPointSet's indexed by color SG_BLACK, SG_WHITE. More...
#include <SgBWSet.h>
Public Member Functions | |
SgBWSet () | |
SgBWSet (const SgPointSet &black, const SgPointSet &white) | |
const SgPointSet & | operator[] (SgBlackWhite c) const |
SgPointSet & | operator[] (SgBlackWhite c) |
bool | operator== (const SgBWSet &other) const |
bool | operator!= (const SgBWSet &other) const |
SgBWSet & | operator|= (const SgBWSet &other) |
void | Clear () |
bool | BothEmpty () const |
bool | Disjoint () const |
void | AssertDisjoint () const |
SgPointSet | Both () const |
bool | OneContains (SgPoint p) const |
bool | BothContain (SgPoint p) const |
Private Attributes | |
SgBWArray< SgPointSet > | m_set |
Pair of SgPointSet's indexed by color SG_BLACK, SG_WHITE.
Definition at line 16 of file SgBWSet.h.
SgBWSet::SgBWSet | ( | const SgPointSet & | black, | |
const SgPointSet & | white | |||
) |
void SgBWSet::AssertDisjoint | ( | ) | const |
SgPointSet SgBWSet::Both | ( | ) | const |
Definition at line 62 of file SgBWSet.h.
References Disjoint(), and SG_ASSERT.
bool SgBWSet::BothContain | ( | SgPoint | p | ) | const |
bool SgBWSet::BothEmpty | ( | ) | const |
bool SgBWSet::OneContains | ( | SgPoint | p | ) | const |
bool SgBWSet::operator!= | ( | const SgBWSet & | other | ) | const |
Definition at line 94 of file SgBWSet.h.
References operator==().
bool SgBWSet::operator== | ( | const SgBWSet & | other | ) | const |
SgPointSet& SgBWSet::operator[] | ( | SgBlackWhite | c | ) |
const SgPointSet& SgBWSet::operator[] | ( | SgBlackWhite | c | ) | const |
SgBWArray<SgPointSet> SgBWSet::m_set [private] |
Definition at line 80 of file SgBWSet.h.
Referenced by AssertDisjoint(), BothContain(), BothEmpty(), OneContains(), operator==(), operator[](), and operator|=().