Pyrogenesis trunk

Helper functions related to rasterizing geometric shapes to grids. More...
#include "simulation2/components/ICmpObstructionManager.h"
#include "simulation2/helpers/Position.h"
Go to the source code of this file.
Classes  
struct  SimRasterize::Span 
Represents the set of cells (i,j) where i0 <= i < i1. More...  
Namespaces  
namespace  SimRasterize 
Typedefs  
typedef std::vector< Span >  SimRasterize::Spans 
Functions  
void  SimRasterize::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 , into a list of spans of cells that are strictly inside the shape. More...  
Helper functions related to rasterizing geometric shapes to grids.