18#ifndef INCLUDED_HELPER_RASTERIZE
19#define INCLUDED_HELPER_RASTERIZE
A simple fixed-point number class.
Definition: Fixed.h:129
Definition: Rasterize.h:32
void RasterizeRectWithClearance(Spans &spans, const ICmpObstructionManager::ObstructionSquare &shape, entity_pos_t clearance, entity_pos_t cellSize)
Converts an ObstructionSquare shape (a rotated rectangle), expanded by the given clearance,...
Definition: Rasterize.cpp:29
std::vector< Span > Spans
Definition: Rasterize.h:44
Standard representation for all types of shapes, for use with geometry processing code.
Definition: ICmpObstructionManager.h:70
Represents the set of cells (i,j) where i0 <= i < i1.
Definition: Rasterize.h:38
std::int16_t i0
Definition: Rasterize.h:39
std::int16_t i1
Definition: Rasterize.h:40
std::int16_t j
Definition: Rasterize.h:41