proj home

Files   Classes   Functions   Hierarchy  

ruler.h

Go to the documentation of this file.
00001 #ifndef RULER_H
00002 #define RULER_H
00003 
00004 #include <point.h>
00005 #include <gobj.h>
00006 #include <typedefs.h>
00007 
00008 class ruler : public gobjContainer
00009 {
00010 public:
00011 
00017   void addStraightRuler
00018   (
00019     doublec len,
00020     point2<double> const & pos0,
00021     point2<double> const & pos1,
00022     doublec ticklenmajor,
00023     doublec ticklenmiddle,
00024     doublec ticklenminor
00025   );
00026 
00031   void addAngleRuler
00032   (
00033     doublec radius,   // The rulers radius. Ticks point inwards.
00034     doublec angle0,   // Degrees start
00035     doublec angle1,   // Degrees finish
00036     doublec ticklenmajor,
00037     doublec ticklenmiddle,
00038     doublec ticklenminor
00039   );
00040     
00041 
00042 };
00043 
00044 
00045 
00046 #endif
00047 
00048 

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