Module street_index::gridconfig [−][src]
Module for configuring the grid and assigning cell positions to road names
Structs
Bbox |
Bounding box (usually the page extents) |
Grid |
The Grid is your street-name grid. Right now there is no support for curved / rotated / translated grids. |
GridConfig |
Later on this struct will be extended with parameters for curving, rotations, offsets, labeling, etc. Right now it's just: how big should one cell be? |
Millimeter |
Unit struct just so it's easier to read that certain values should be in millimeter scale. |
StreetNameRect |
Represents one street name, layouted on the map. The |
Functions
number_to_alphabet_value |
Maps an index number to a value, necessary for creating the street index. i.e.: |