olp-cpp-sdk
1.23.1
|
An iterator that slices a line into tile segments. More...
#include <PathTiling.h>
Public Member Functions | |
LineSliceIterator (InputIterator segment_it, const uint32_t line_width) | |
Constructs a LineSliceIterator. More... | |
TileKey | operator* () |
LineSliceIterator & | operator++ () |
bool | operator== (const LineSliceIterator &other) const |
bool | operator!= (const LineSliceIterator &other) const |
An iterator that slices a line into tile segments.
This iterator takes an input iterator of adjacent tile segments and applies a line slicing algorithm to generate individual tile keys along the path.
|
inlineexplicit |
Constructs a LineSliceIterator.
segment_it | The iterator over tile segments. |
line_width | The width of the line in tiles. |