Listing 1: Partial listing of class CAxis

class CAxis : public CObject
{
   public:
      CAxis();
      virtual ~CAxis();
      BOOL SetScale(); 
      double GetPhysVal (CPoint &);  
      // set and get functions for private data members
      // ...

   private:
      CPoint A, B;    // axis defining points
      double vA, vB;  // physical values
      BOOL fLogScale; // TRUE if logarithmic
      void project_data_point (CPoint &, double &, double &);
      double get_physical_value (double, double );
      // more private data members
      // ...
};