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

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

   CircleIterC   
 
Iterate around a circle.
 
include "Ravl/CircleIter.hh"
Created:08/02/1999 
User Level:Normal
Library:RavlMath
In Scope:RavlN

Comments:
NB. This does NOT move linearly around the circle, but through octants.

Variables:
Methods:
CircleIterC(int nradius = 1,Index2dC nOffset = Index2dC (0))
Constructor.

void First()
Goto first point on circle.

bool IsElm() const
At valid position ?

operator bool() const
At a valid position ?

const Index2dC & Data() const
Get point.
Largest error from radius should be less than 0.5

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

bool Next()
Goto next point.
Returns true if we're now at a valid point.

bool operator ++(int)
Goto next point.
Returns true if we're now at a valid point.


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