Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Intersection.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/geometry/geometry/Intersection.h,v 1.2 2000/01/18 00:42:07 burnett Exp $
00002 //
00003 
00004 #ifndef __INTERSECTION_H
00005 #define __INTERSECTION_H
00006 
00007 #include "geometry/Ray.h"
00008 #include "geometry/Surface.h"
00009 
00016 class Intersection 
00017 {
00018 public:
00019     
00020     Intersection(const Ray& r, const Surface & s )
00021         : ray(r), surf(s)
00022     {}
00023     
00024     
00026     double distance(double dist, int sign);
00027     
00028 private:
00029     const Ray& ray;
00030     const Surface& surf;
00031     
00032 };
00033 #endif
00034 

Generated at Mon Nov 26 18:18:21 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000