#include <Intersection.h>
Public Methods | |
| Intersection (const Ray& r, const Surface & s ) | |
| double | distance (double dist, int sign) |
| return the actual intersection, or FLT_MAX. sign>0 -> leaving; sign<0 -> entering. More... | |
Private Attributes | |
| const Ray& | ray |
| const Surface& | surf |
Both Ray and Surface are polymorphic
Definition at line 16 of file Intersection.h.
|
|
Definition at line 20 of file Intersection.h. |
|
|
return the actual intersection, or FLT_MAX. sign>0 -> leaving; sign<0 -> entering.
Definition at line 13 of file Intersection.cxx. Referenced by Volume::distanceToEnter(). |
|
|
Definition at line 29 of file Intersection.h. |
|
|
Definition at line 30 of file Intersection.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000