geom::ray Struct Reference

#include <geom2d.h>

Collaboration diagram for geom::ray:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ray ()
 ray (double x0, double y0, double xd, double yd)
vector shoot (double t) const
void advance (double t)
bool to_grid (const grid &g, bool half)
bool to_next_cell (const grid &g)

Public Attributes

vector start
vector dir


Constructor & Destructor Documentation

geom::ray::ray (  )  [inline]

geom::ray::ray ( double  x0,
double  y0,
double  xd,
double  yd 
) [inline]


Member Function Documentation

vector geom::ray::shoot ( double  t  )  const

void geom::ray::advance ( double  t  ) 

Here is the call graph for this function:

bool geom::ray::to_grid ( const grid g,
bool  half 
)

Here is the call graph for this function:

bool geom::ray::to_next_cell ( const grid g  ) 

Here is the call graph for this function:


Member Data Documentation


The documentation for this struct was generated from the following files:

Generated on Thu Jan 13 13:43:44 2011 by  doxygen 1.5.6