Aria: ArSectors Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArSectors Class Reference

`#include <ariaUtil.h>`

List of all members.

## Detailed Description

A class for keeping track of if a complete revolution has been attained.

This class can be used to keep track of if a complete revolution has been done, it is used by doing doing a clearQuadrants when you want to stat the revolution. Then at each point doing an updateQuadrant with the current heading of the robot. When didAllQuadrants returns true, then all the quadrants have been done.

## Public Member Functions
| ArSectors (int numSectors=8)
| Constructor.
void | clear (void)
| Clears all quadrants.
bool | didAll (void) const
| Returns true if the all of the quadrants have been gone through.
void | update (double angle)
| Updates the appropriate quadrant for the given angle.
virtual | ~ArSectors ()
| Destructor.
## Protected Attributes
int | myNumSectors
int * | mySectors
int | mySectorSize

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

- ariaUtil.h