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

plane.h

Go to the documentation of this file.
00001 #ifndef PLANE_H
00002 #define PLANE_H
00003  
00004 #include "vector.h"
00005 
00006 class Plane {
00007         public:
00008                 VECTOR normal;
00009                 VECTOR point;
00010                 float dist;
00011                 Plane();
00012                 Plane(VECTOR n, VECTOR p);
00013                 ~Plane() {};
00014                 float Distance(VECTOR x); // distance between point x and plane
00015                 bool Intersection(VECTOR ray_point, VECTOR ray_dir, VECTOR *res);
00016 };
00017 
00018 #endif

Generated on Thu Jan 30 21:35:43 2003 for 3DVis by doxygen1.3-rc2