Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------------
Header file for class Point3
created by: Sharon Tuttle
last modified: 12-3-03
---------------------------------------------------------*/
#include <string>
using namespace std;
class Point3
{
public:
// constructor(s)
Point3 (float new_x, float new_y, float new_z);
Point3 ();
// accessor functions
float get_x() const;
float get_y() const;
float get_z() const;
// mutator functions
void set_x(float new_x);
void set_y(float new_y);
void set_z(float new_z);
private:
// member variables
float x;
float y;
float z;
};