18#ifndef INCLUDED_HELPER_RASTERIZE
19#define INCLUDED_HELPER_RASTERIZE
A simple fixed-point number class.
Definition: Fixed.h:120
Definition: Rasterize.h:30
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:25
std::vector< Span > Spans
Definition: Rasterize.h:42
Standard representation for all types of shapes, for use with geometry processing code.
Definition: ICmpObstructionManager.h:67
Represents the set of cells (i,j) where i0 <= i < i1.
Definition: Rasterize.h:36
i16 i0
Definition: Rasterize.h:37
i16 i1
Definition: Rasterize.h:38
i16 j
Definition: Rasterize.h:39
int16_t i16
Definition: types.h:33