proj home

Files   Classes   Functions   Hierarchy  

d3circlepartitiondraw Class Reference

#include <d3circlepartitiondraw.h>

Inheritance diagram for d3circlepartitiondraw:
Collaboration diagram for d3circlepartitiondraw:

List of all members.

Public Member Functions

 d3circlepartitiondraw (d3circlepartition &_hd)
void rotate (double const theta)
template<typename U >
void translate (U const &x)
void draw ()
 Draw the object.

Public Attributes

double zoffset
 Default tries to draw on top.


Detailed Description

Definition at line 9 of file d3circlepartitiondraw.h.


Constructor & Destructor Documentation

d3circlepartitiondraw::d3circlepartitiondraw ( d3circlepartition _hd  )  [inline]

Definition at line 20 of file d3circlepartitiondraw.h.

00021     : hd(_hd), zoffset(1E-5) {}


Member Function Documentation

void d3circlepartitiondraw::draw (  )  [virtual]

Draw the object.

Implements gobj.

Definition at line 4 of file d3circlepartitiondraw.cpp.

References d3circlepartition::radius, point2< T >::x, d3circlepartition::x0, point2< T >::y, and zoffset.

00005 { 
00006   gobjMyCircleDraw(hd.radius,pt3(hd.x0.x,hd.x0.y,zoffset),mycircle).draw();
00007 }

void d3circlepartitiondraw::rotate ( double const   theta  )  [inline]

Definition at line 23 of file d3circlepartitiondraw.h.

00024     {}

template<typename U >
void d3circlepartitiondraw::translate ( U const &  x  )  [inline]

Definition at line 27 of file d3circlepartitiondraw.h.

References point2< T >::x, d3circlepartition::x0, and point2< T >::y.

00028   {
00029     hd.x0.x += x.x;
00030     hd.x0.y += x.y;
00031   }


Member Data Documentation

Default tries to draw on top.

Definition at line 18 of file d3circlepartitiondraw.h.

Referenced by draw().


The documentation for this class was generated from the following files:

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