class convexHull {      // can add to previous class(es) from A2
protected:
   int n;		// total number of points
   /* data structure to store points here */

public:
   convexHull ();	      // read in the data points; can call previous A2 method
   void printHull ();   // display convex hull in clockwise order
   void printTMG ();    // create TMG file of convex hull points
};

class quickHull : public convexHull {
   int numOps;          // number of operations
   /* any needed data members here */
   void qHull (/* parameters here */);	// Quickhull algorithm
   /* any needed helper method prototypes here */

public:
   quickHull () {numOps = 0;}
   void qHull ();       // Quickhull driver
   void printOps ();    // display number of operations
};

int main () {
   quickHull myHull;    // create Quickhull instance

   myHull.qHull();      // run Quickhull algorithm
   myHull.printHull();  // display the convex hull points
   myHull.printOps();   // display the number of operations
   myHull.printTMG();   // create file for use in METAL
   return 0;
}
