Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgPointUtil::PointToRow Class Reference

#include <SgPoint.h>

List of all members.

Detailed Description

Lookup table internally used by SgPointUtil::Row().

Definition at line 214 of file SgPoint.h.

Public Member Functions

 PointToRow ()
SgGrid Row (SgPoint p) const

Private Attributes

SgArray< SgGrid, SG_MAXPOINTm_row

Constructor & Destructor Documentation

SgPointUtil::PointToRow::PointToRow (  ) 

Definition at line 217 of file SgPoint.h.

References m_row, SgPointUtil::Pt(), and SG_MAX_SIZE.

Member Function Documentation

SgGrid SgPointUtil::PointToRow::Row ( SgPoint  p  )  const

Definition at line 225 of file SgPoint.h.

References m_row, SG_ASSERT, and SG_ASSERT_BOARDRANGE.

Referenced by SgPointUtil::Row().

Member Data Documentation

SgArray<SgGrid,SG_MAXPOINT> SgPointUtil::PointToRow::m_row [private]

Definition at line 233 of file SgPoint.h.

Referenced by PointToRow(), and Row().

The documentation for this class was generated from the following file:

17 Jun 2010 Doxygen 1.4.7