![]()  | 
  
    Pyrogenesis HEAD
    
   Pyrogenesis, a RTS Engine 
   | 
 
Classes | |
| struct | Span | 
| Represents the set of cells (i,j) where i0 <= i < i1.  More... | |
Typedefs | |
| typedef std::vector< Span > | Spans | 
Functions | |
| 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, into a list of spans of cells that are strictly inside the shape.  More... | |
| typedef std::vector<Span> SimRasterize::Spans | 
| 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.