User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Sequences - SquareIterC
 

  PUBLIC
SquareIterC::SquareIterC(UIntT,Index2dC)
SquareIterC::First(void)
SquareIterC::IsElm(void) const
SquareIterC::operator bool(void) const
SquareIterC::Data(void) const
SquareIterC::operator *(void) const
SquareIterC::Next(void)
SquareIterC::operator ++(int)

   SquareIterC   
 
Clockwise iterate through a square.
 
include "Ravl/SquareIter.hh"
Created:29/08/2000 
User Level:Normal
Library:RavlMath
Example:testSquareIterFill.cc
In Scope:RavlN

Comments:
starting at the centre working outward.

Variables:
Methods:
SquareIterC(UIntT thesize,Index2dC thecentre = Index2dC (0))
Constructor.

void First()
Goto first point on square.

bool IsElm() const
At valid position ?

operator bool() const
Test if we're at a valid point.

const Index2dC & Data() const
Get point.

const Index2dC & operator *() const
Get location of current point.

bool Next()
Goto next point.

void operator ++(int)
Goto next point on square.


Maintainer:Charles Galambos, Created: 29/08/2000, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002