BIE::Tile Class Reference

Defines a tile for tessellations. More...

#include <Tile.h>

Inheritance diagram for BIE::Tile:
Collaboration diagram for BIE::Tile:

List of all members.

Public Member Functions

virtual TileNew ()=0
 Factory: Return a pointer to a new tile.
virtual void setup (double, double, double, double)=0
 Set up the boundaries.
virtual void corners (double &, double &, double &, double &)=0
 Get the corners.
virtual double X (double, double)=0
 Returns an abscissa given (generally) two metric coordinates.
virtual double Y (double, double)=0
 Returns an ordinate given (generally) two metric coordinates.
virtual double measure (double, double)=0
 Integration measure.
virtual bool InTile (double, double)=0
 True if coordinates lie inside the tile boundaries.
NodeGetNode ()
 Returns the corresponding tessellation node.
virtual void print (ostream &outputstream)=0
 Print tile boundaries.
virtual void printforplot (ostream &outputstream)=0
 Print boundaries for gnuplot.
virtual bool overlapsWith (Tile *)=0
 Returns true if the passed tile overlaps with this tile.
virtual string toString ()=0
 Returns a string representation of a Tile.

Protected Member Functions

 Tile ()
 Constructor - initializes node variable to be NULL.

Protected Attributes

Nodenode
 The node associated with this tile.

Friends

class Node
class boost::serialization::access


Detailed Description

Defines a tile for tessellations.

Each tile contains boundaries of a bin of tessellated space, and a tileid. Every tile is associated with a node in the tessellation hierarchy (even in a mapped grid tessellation, where the "hierarchy" is completely flat).


The documentation for this class was generated from the following file:
  • /home/weinberg/src/BIE/include/Tile.h

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