proj home

Files   Classes   Functions   Hierarchy  

disk.h

Go to the documentation of this file.
00001 #ifndef DISK_H
00002 #define DISK_H
00003 
00004 #include <plane.h>
00005 #include <point.h>
00006 #include <typedefs.h>
00007 
00011 class disk
00012 {
00013 public:
00014 
00016   point3<double> nml;
00017 
00019   point3<double> pos;
00020 
00022   double radius;
00023 
00025   disk
00026   (
00027     point3<double> const & nml_,
00028     point3<double> const & pos_,
00029     doublec radius_
00030   );
00031 
00034   boolc intersects
00035   (
00036     point3<double> & p0,
00037     point3<double> & p1,
00038     disk const & D2
00039   ) const;
00040 
00042   boolc intersects
00043   (
00044     point3<double> & p0,
00045     point3<double> & p1,
00046     plane const & w2
00047   ) const;
00048 
00050   operator stringc () const;
00051 
00052 };
00053 
00054 #endif
00055 

Generated on Fri Mar 4 00:49:28 2011 for Chelton Evans Source by  doxygen 1.5.8