#include <GridBoxList.h>
Inheritance diagram for GridBoxList:
Public Member Functions | |
GridBoxList () | |
Constructors. | |
GridBoxList & | operator= (const GridBoxList &) |
Assignment operator. | |
~GridBoxList (void) | |
The destructor. | |
GridBoxList * | alias () |
For the object counter. | |
int | difference (GridBoxList &gbl, const GridBox &lhs, const GridBox &rhs) |
Breaks a GridBox lhs against GridBox rhs and adds the pieces not contained in rhs to the GridBoxList. | |
int | intersection (GridBoxList &gbl, const GridBox &lhs, const GridBox &rhs) |
Adds the intersection of the lhs and rhs GridBox objects to the GridBoxList. | |
void | operator-= (const GridBoxList &rhs) |
Difference operator for GBL = retain only those regions that are not in rhs. | |
void | operator *= (const GridBoxList &rhs) |
Intersection operator for GBL = retain only those regions that are common. | |
void | intersect (const BBox &rhs, GridBoxList &gbl) |
GBL intersection with a BBox & BBoxList. | |
int | maxindex (void) |
Returns the max value of index in the list. | |
int | index (const BBox &bbv) |
Finds the index in the list which intersects with bb. | |
const GridBox & | find (const BBox &bb) |
Finds a particular GridBox in the list. | |
void | setindex (void) |
Set list stats. | |
void | bboxlist (BBoxList &bbl, const int olap) |
Get the corresponding BBoxList. |
Routines to manipulate this list are provided. The topology of each level is stored in various GridBoxLists.