proj home

Files   Classes   Functions   Hierarchy  

protractor.h

Go to the documentation of this file.
00001 #ifndef PROTRACTOR_H
00002 #define PROTRACTOR_H
00003 
00004 #include <string>
00005 #include <vector>
00006 using namespace std;
00007 
00008 #include <gobj.h>
00009 #include <typedefs.h>
00010 
00011 
00018 class protractor : public gobjContainer
00019 {
00020 public:
00021 
00023   double radius;
00024 
00026   static void converttocartesian
00027   (
00028     point2<double> &  p,
00029     point2<double> const & p2
00030   );
00031 
00033   protractor(doublec _radius);
00034 
00035   void addCircles(uintc n);
00036   void addAxes(uintc n);
00037 
00038   void addCirclesText(vector<string> const & v);
00039 
00040   void addRadiusRuler
00041   (
00042     doublec ticklenmajor,
00043     doublec ticklenmiddle,
00044     doublec ticklenminor
00045   );
00046 
00047   void addAngleRuler
00048   (
00049     doublec ticklenmajor,
00050     doublec ticklenmiddle,
00051     doublec ticklenminor
00052   );
00053 
00054 };
00055 
00056 
00057 
00058 #endif
00059 
00060 

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