BIE::MappedGrid Class Reference

Simple rectangular, non-hierarchical, tessellation defined according to an a priori mapping. More...

#include <MappedGrid.h>

Inheritance diagram for BIE::MappedGrid:
Collaboration diagram for BIE::MappedGrid:

List of all members.

Public Member Functions

 MappedGrid (Tile *factory, double minx, double maxx, double miny, double maxy, int nx, int ny)
 Constructor.
 ~MappedGrid ()
 Destructor.
void FindAll (double x, double y, vector< int > &found)
 Returns the tile id of the node with the given coordinates (there is only one in a mapped grid).
vector< int > GetRootTiles ()
 Returns a list of all tile IDs - all tiles are root tiles.
vector< Node * > GetRootNodes ()
 Returns a list of all nodes, each a root node with no children.

Friends

class boost::serialization::access


Detailed Description

Simple rectangular, non-hierarchical, tessellation defined according to an a priori mapping.

Member Function Documentation

void BIE::MappedGrid::FindAll ( double  x,
double  y,
vector< int > &  found 
) [virtual]

Returns the tile id of the node with the given coordinates (there is only one in a mapped grid).

This is faster than the default method in Tessellation .

Reimplemented from BIE::Tessellation.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen