[−][src]Crate griditer
This crate is a (so far tiny) collection of iterator types useful in implementing grid-based algorithms.
Currently only Bresenham's and Perimeter iterators are available.
Structs
BresenhamIter | Iterator that uses Bresenham's algorithm to yield grid points on a segment between two given points. |
PerimeterIter | Iterator that yields points at the perimeter of a rect on a grid, clockwise. |
Traits
Coord | Trait for grid coordinates used by iterators. Implemented for every built-in integer type. |