Precomputed point sets with all points depending on board size. More...
Public Member Functions | |
PrecompAllPoints () | |
const SgPointSet & | Get (int boardSize) |
Private Attributes | |
SgArray< std::auto_ptr < SgPointSet >, SG_MAX_SIZE+1 > | m_allPoints |
Precomputed point sets with all points depending on board size.
Definition at line 179 of file SgPointSet.h.
SgPointSet::PrecompAllPoints::PrecompAllPoints | ( | ) |
Definition at line 28 of file SgPointSet.cpp.
References SgPointSet::Include(), m_allPoints, SgPointUtil::Pt(), SG_MAX_SIZE, SG_MIN_SIZE, and SgPointSet::SgPointSet().
const SgPointSet& SgPointSet::PrecompAllPoints::Get | ( | int | boardSize | ) |
Definition at line 184 of file SgPointSet.h.
References m_allPoints, SG_ASSERT, SG_MAX_SIZE, and SG_MIN_SIZE.
Referenced by SgPointSet::AllPoints().
SgArray<std::auto_ptr<SgPointSet>,SG_MAX_SIZE + 1> SgPointSet::PrecompAllPoints::m_allPoints [private] |
Definition at line 192 of file SgPointSet.h.
Referenced by Get(), and PrecompAllPoints().