/*
 * Jeffrey Ladino - jnl22@ccs.neu.edu
 *
 * File: vector3d.h
 *
 * Change Log
 ************
 ** July 26, 1999 - Jeff Ladino
 * Created.
 *
 */

#ifndef MY_VECTOR3D_H
#define MY_VECTOR3D_H

#define Xpt 0
#define Ypt 1
#define Zpt 2

// the verbosity of the output
#define VERBOSITY 0

typedef double Real;

class vector3d{
 public:
  // Constructors
  vector3d();
  vector3d(const vector3d& source);

  // Destructor default

  // Accessor
  Real& operator[](unsigned index);

  // overload operators
  vector3d& operator+(vector3d& v1);
  vector3d& operator-(vector3d& v1);
  vector3d& operator*(Real scalar);

  //for debugging
  void print();

  // new functions for bouncing ball
  Real operator*(vector3d& v1);
  Real mag_sq();

 public:  // make data accessible for now
  Real data[3];

}; // end class vector3d

// ends #ifndef MY_VECTOR3D_H
#endif





