BIE::PointTile Class Reference

Defines a degenerate tile containing a single point. More...

#include <PointTile.h>

Inheritance diagram for BIE::PointTile:
Collaboration diagram for BIE::PointTile:

List of all members.

Public Member Functions

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

Friends

class boost::serialization::access


Detailed Description

Defines a degenerate tile containing a single point.

Constructor & Destructor Documentation

BIE::PointTile::PointTile (  ) 

Construct a tile without setting the coordinates.

Use this when constructing a tile to use as a factory.

BIE::PointTile::PointTile ( double  ,
double  ,
double  ,
double   
)

Construct a tile and set the coordinates.

The order is minx, maxx, miny, maxy.


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