INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydroogmap::MapRayTracer< MapType, MapCellTracer > Class Template ReferenceAdapts the RayTracer gear for dealing with 'GenericMap's. The template parameter CellTracer gets called once per cell that we trace through. Note that we guarantee that CellTracer doesn't get called for a cell outside the map. For an example CellTracer, see OgLosTracer. More...
Detailed Descriptiontemplate<typename MapType, class MapCellTracer>
|
bool hydroogmap::MapRayTracer< MapType, MapCellTracer >::traceCells | ( | const GridIndices & | start, | |
const GridIndices & | destination | |||
) | [inline] |
Trace from start(x0,y0) to destination(x1,y1). Returns: true: we traced to the end false: we stopped tracing early
Referenced by hydroogmap::OgLosTracer::isClearCells().
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)