proj home

Files   Classes   Functions   Hierarchy  

d3marchdisp.h

Go to the documentation of this file.
00001 #ifndef D3MARCHDISP_H
00002 #define D3MARCHDISP_H
00003 
00004 #include <point.h>
00005 
00006 typedef point3<double> pt3;
00007 typedef point3<double> const pt3c;
00008 
00009 class d3marchdisp
00010 {
00011   void drawline( pt3c & A, pt3c & B ) const;
00012 
00013   pt3c interpolate(pt3c & A, pt3c & B) const;
00014 //    { double const t = (cvalue-A.z)/(B.z-A.z); pt3 X(B-A); 
00015 //      X*=t; X+=A; return X; }
00016 public:
00017 
00018   double cvalue;
00019 
00020   d3marchdisp(double const _cvalue=0.0)
00021     : cvalue(_cvalue) {}
00022 
00023   void eval( pt3c & P0, pt3c & P1, pt3c & P2 ) const;
00024 
00025 };
00026 
00027 
00028 
00029 #endif
00030 
00031 

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