#ifndef CIRCLED2TEST_H
#define CIRCLED2TEST_H

#include <boxOBBhalfspaceD2.h>
#include <circleD2.h>
#include <gobj.h>
#include <point.h>


/*!
\brief Test circle and box intersection visually.
*/
class circleD2test
{
public:

  /** The circle is object A. */
  static circleD2<point2<double>,double> * Aptr;
  /** OBB object B. */
  static boxOBBhalfspaceD2<point2<double>,double> * Bptr;

  /** Toggle the help menu. */
  static bool * help;

  /** Geometry drawing the circle and box. */
  static gobjContainer shapes;

  /** Global graphics container. */
  gobjContainer xGraphics;

  /** Display handler. */
  static void display01();

  /** Keyboard handler for test01. */
  static void keyboard01(unsigned char key, int x, int y);

  /** Update for test01 before graphics display. */
  static void update01();

  /** Load the circle and OBB box and display. */
  void test01(int & argc, char** argv);

};

#endif



