Iterate through the anchors of all the blocks adjacent to the given point. More...
#include <GoBoardUtil.h>
Public Member Functions | |
GoNeighborBlockIterator (const GoBoard &board, SgPoint p, SgBlackWhite c) | |
GoNeighborBlockIterator (const GoBoard &board, SgPoint p, SgBlackWhite c, int maxLib) | |
void | operator++ () |
SgPoint | operator* () const |
operator bool () const | |
Private Attributes | |
SgPoint | m_points [5] |
At most 4 neighbor points, plus terminator. |
Iterate through the anchors of all the blocks adjacent to the given point.
Definition at line 1070 of file GoBoardUtil.h.
GoNeighborBlockIterator::GoNeighborBlockIterator | ( | const GoBoard & | board, | |
SgPoint | p, | |||
SgBlackWhite | c | |||
) |
Definition at line 1074 of file GoBoardUtil.h.
References m_points, and GoBoard::NeighborBlocks().
GoNeighborBlockIterator::GoNeighborBlockIterator | ( | const GoBoard & | board, | |
SgPoint | p, | |||
SgBlackWhite | c, | |||
int | maxLib | |||
) |
Definition at line 1080 of file GoBoardUtil.h.
References m_points, and GoBoard::NeighborBlocks().
SgPoint GoNeighborBlockIterator::m_points[5] [private] |
At most 4 neighbor points, plus terminator.
Definition at line 1090 of file GoBoardUtil.h.
Referenced by GoNeighborBlockIterator().