Classes | Functions
nav_grid_iterators Namespace Reference

Classes

class  AbstractLineIterator
 Abstract class for iterating over lines. More...
 
class  BaseIterator
 
class  Bresenham
 Line Iterator using Bresenham's algorithm (no subpixel precision) More...
 
class  CircleFill
 Iterates over all of the valid indexes that lie within a circle in row major order. More...
 
class  CircleOutline
 Iterates over the valid indexes that lie on the outline of a circle. More...
 
class  Line
 Iterates over all of the valid indexes of a line. More...
 
class  PolygonFill
 Iterates over all of the valid indexes that lie within an arbitrary polygon in row major order. More...
 
class  PolygonOutline
 Iterates over all of the valid indexes on the outline of a polygon. More...
 
class  RayTrace
 Line Iterator with Ray Tracing (subpixel accuracy) More...
 
class  Spiral
 Iterates over all of the valid indexes that lie within a circle from the center out. More...
 
class  SubGrid
 Iterator for looping through every index within an aligned rectangular portion of the grid. More...
 
class  WholeGrid
 

Functions

int signum (const int val)
 returns the sign of a number More...
 

Function Documentation

int nav_grid_iterators::signum ( const int  val)
inline

returns the sign of a number

Parameters
valnumber
Returns
1 if positive, 0 if 0, -1 if negative

Definition at line 48 of file circle_outline.h.



nav_grid_iterators
Author(s):
autogenerated on Sun Jan 10 2021 04:08:42