proj home

Files   Classes   Functions   Hierarchy  

d3circlepartitiondraw.h

Go to the documentation of this file.
00001 #ifndef D3CIRCLEPARTITIONDRAW_H
00002 #define D3CIRCLEPARTITIONDRAW_H
00003 
00004 #include <gobj.h>
00005 
00006 #include <d3circlepartition.h>
00007 
00008 
00009 class d3circlepartitiondraw : public gobj
00010 {
00011   d3circlepartition & hd;
00012 
00013   gobjMyCircle mycircle;
00014 
00015 public:
00016 
00018   double zoffset;
00019 
00020   d3circlepartitiondraw(d3circlepartition & _hd)
00021     : hd(_hd), zoffset(1E-5) {}
00022 
00023   void rotate(double const theta)
00024     {}
00025 
00026   template< typename U>
00027   void translate( U const & x)
00028   {
00029     hd.x0.x += x.x;
00030     hd.x0.y += x.y;
00031   }
00032 
00033   void draw();
00034 };
00035 
00036 
00037 
00038 #endif
00039 
00040 

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