#ifndef D3CIRCLEPARTITIONDRAW_H
#define D3CIRCLEPARTITIONDRAW_H

#include <gobj.h>

#include <d3circlepartition.h>


class d3circlepartitiondraw : public gobj
{
  d3circlepartition & hd;

  gobjMyCircle mycircle;

public:

  //! Default tries to draw on top.
  double zoffset;

  d3circlepartitiondraw(d3circlepartition & _hd)
    : hd(_hd), zoffset(1E-5) {}

  void rotate(double const theta)
    {}

  template< typename U>
  void translate( U const & x)
  {
    hd.x0.x += x.x;
    hd.x0.y += x.y;
  }

  void draw();
};



#endif



